origen 0.6.11 → 0.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5ecd5584b0d993e95fa5296fc6f81b1abe2ae1e
4
- data.tar.gz: 5e773cb1e1cc7f5ee5a0b6036d79efc9904a6ae8
3
+ metadata.gz: 4efe236c2c992e8279d71e15eb48628aff566ccd
4
+ data.tar.gz: 75900463737dd5c3f5c2947103179858d457e637
5
5
  SHA512:
6
- metadata.gz: 0bd1947af05b3065b5015f8d30029518cdd9f19082a6c8feb5cdf86389b1837bf07363115de6c90fbeb685c60102d9ff07a611543457e693d88f069d0d4921ec
7
- data.tar.gz: 1733de2d675956e3fba37e923da2809f9a0003124d910627d7570cdf5538107d68642b050f3d388d3b6b2c48b11617aff8a4c27b9176a5fd2df6841ac5dcb484
6
+ metadata.gz: e78d65a0e2e99c65a6e4fb8c2727cd9b4e4dc849a8b35a590783cd806d04a84ef4f8ea2d9c92c5641701c3234a84f84d0bd3aab43f1c9c80e4e2f3a1caea87c6
7
+ data.tar.gz: 570b1d3f968af0c908736c6ee36665d469898ee4e1013124940e58190924d0a39cce2fc4e8f673ae188a4f07a3383f554092f19a3e70db83ca97601ea7ccdf0f
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 6
4
- BUGFIX = 11
4
+ BUGFIX = 12
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -326,9 +326,10 @@ module Origen
326
326
 
327
327
  def assert(value, options = {})
328
328
  each_with_index do |pin, i|
329
- if !value.respond_to?('is_to_be_read?') || value[size - i - 1].is_to_be_read?
330
- value = value.data if value.respond_to?('data')
329
+ if !value.respond_to?('data')
331
330
  pin.assert(value[size - i - 1], options)
331
+ elsif value[size - i - 1].is_to_be_read?
332
+ pin.assert(value[size - i - 1].data, options)
332
333
  else
333
334
  pin.dont_care
334
335
  end
@@ -2,7 +2,7 @@ module Origen
2
2
  module Specs
3
3
  # This class is used to store override information for specified specs on instantiated IP
4
4
  class Override
5
- attr_accessor :block, :usage, :spec_ref, :mode_ref, :sub_type, :audience, :minimum, :maximum, :typical, :disable
5
+ attr_accessor :block, :usage, :spec_ref, :mode_ref, :sub_type, :audience, :minimum, :maximum, :typical, :disable, :hidespec
6
6
 
7
7
  def initialize(block_options = {}, find_spec = {}, values = {}, options = {})
8
8
  @block = block_options[:block]
@@ -15,6 +15,7 @@ module Origen
15
15
  @maximum = values[:max]
16
16
  @typical = values[:typ]
17
17
  @disable = options[:disable]
18
+ @hidespec = options[:hidespec]
18
19
  end
19
20
  end
20
21
  end
@@ -35,6 +35,7 @@ module Origen
35
35
  constraints: SpecAttribute.new(:constraints, String, false, :design, "Single logical expression or a CSV list of logical expressions required for the spec to be valid (e.g. 'GVDD == 1.2V'"),
36
36
  limit_type: SpecAttribute.new(:limit_type, Symbol, false, :design, 'Auto-generated attribute based on analysis of the spec limits. Acceptable values are :single_sided and :double_sided'),
37
37
  notes: SpecAttribute.new(:notes, Hash, false, :design, 'Specification notes'),
38
+ hidespec: SpecAttribute.new(:hidespec, [String, Array], false, :design, 'Add the ability to hide specs based off license plate'),
38
39
  disposition_required: SpecAttribute.new(:disposition_required, TrueClass, false, :pde, 'Boolean representation of whether a specification needs a disposition based on silicon results or customer input'),
39
40
  priority: SpecAttribute.new(:priority, TrueClass, false, :pde, 'Integer value (1-4) to indicate which priority the cz for this spec will be: 1. Highest priority, for critical or historically risky specs 2. Medium priority, relatively low risk. Not required until all priority 1 specs have been handled 3. Lowest priority, very low risk, low performance specs 4. No plans to characterize'),
40
41
  target: SpecAttribute.new(:target, String, false, :pde, 'Specification target limit. Not used for pass/fail results but for data analysis'),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.11
4
+ version: 0.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
11
+ date: 2016-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport