origen 0.6.11 → 0.6.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/pins/pin_collection.rb +3 -2
- data/lib/origen/specs/override.rb +2 -1
- data/lib/origen/specs/spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4efe236c2c992e8279d71e15eb48628aff566ccd
|
4
|
+
data.tar.gz: 75900463737dd5c3f5c2947103179858d457e637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e78d65a0e2e99c65a6e4fb8c2727cd9b4e4dc849a8b35a590783cd806d04a84ef4f8ea2d9c92c5641701c3234a84f84d0bd3aab43f1c9c80e4e2f3a1caea87c6
|
7
|
+
data.tar.gz: 570b1d3f968af0c908736c6ee36665d469898ee4e1013124940e58190924d0a39cce2fc4e8f673ae188a4f07a3383f554092f19a3e70db83ca97601ea7ccdf0f
|
data/config/version.rb
CHANGED
@@ -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?('
|
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
|
data/lib/origen/specs/spec.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|