origen_testers 0.49.1 → 0.49.2
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_testers/api.rb +10 -0
- data/lib/origen_testers/smartest_based_tester/base.rb +2 -1
- data/program/prb1.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ea968535c042745fa87c069932af23a54532acc9a0e22583a38ae58e25b2b87
|
4
|
+
data.tar.gz: aec4d331fa4a4933c31228500d450846dbdd954f5e44087d727b752ae51df952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 119ed16f37c02c94dbe2648df2019275729cb3827dfcebedff30d1beacd5b2ff329edc70eaeafed1f3ea22cfab234f8b2a1b5c46a0b9673ebb53c8c1842b8a63
|
7
|
+
data.tar.gz: 00e51035094d97540785dae4ca1ada4e229bbe5b9f89d7183d66feb32a4ec8e7afac6c22c62133cf30c502e851b89167be3cb28b08410bbcf9ff2c48bfa1ef4d
|
data/config/version.rb
CHANGED
data/lib/origen_testers/api.rb
CHANGED
@@ -11,6 +11,7 @@ module OrigenTesters
|
|
11
11
|
attr_accessor :includes
|
12
12
|
attr_accessor :comment_level
|
13
13
|
attr_accessor :generating
|
14
|
+
|
14
15
|
# Get/Set the overlay style
|
15
16
|
#
|
16
17
|
# This method changes the way overlay is handled.
|
@@ -19,6 +20,7 @@ module OrigenTesters
|
|
19
20
|
# @example
|
20
21
|
# tester.overlay_style = :label
|
21
22
|
attr_accessor :overlay_style
|
23
|
+
|
22
24
|
# Get/Set the capture style
|
23
25
|
#
|
24
26
|
# This method changes the way tester.store() implements the store
|
@@ -49,10 +51,18 @@ module OrigenTesters
|
|
49
51
|
end
|
50
52
|
alias_method :pattern_extension, :pat_extension
|
51
53
|
|
54
|
+
def comment_char=(val)
|
55
|
+
@comment_char = val
|
56
|
+
end
|
57
|
+
|
52
58
|
def comment_char
|
53
59
|
@comment_char || '//'
|
54
60
|
end
|
55
61
|
|
62
|
+
def program_comment_char=(val)
|
63
|
+
@program_comment_char = val
|
64
|
+
end
|
65
|
+
|
56
66
|
def program_comment_char
|
57
67
|
@program_comment_char || comment_char
|
58
68
|
end
|
@@ -99,8 +99,10 @@ module OrigenTesters
|
|
99
99
|
@min_repeat_loop = 33
|
100
100
|
if smt8?
|
101
101
|
@pat_extension = 'pat'
|
102
|
+
@program_comment_char = ['println', '//']
|
102
103
|
else
|
103
104
|
@pat_extension = 'avc'
|
105
|
+
@program_comment_char = ['print_dl', '//']
|
104
106
|
end
|
105
107
|
@compress = true
|
106
108
|
# @support_repeat_previous = true
|
@@ -465,7 +467,6 @@ module OrigenTesters
|
|
465
467
|
# Ensure the match pins are don't care by default
|
466
468
|
pin.dont_care
|
467
469
|
options[:pin2].dont_care if options[:pin2]
|
468
|
-
|
469
470
|
if !options[:pin2]
|
470
471
|
cc "for the #{pin.name.upcase} pin to go #{state.to_s.upcase}"
|
471
472
|
match_block(timeout_in_cycles, options) do |match_or_conditions, fail_conditions|
|
data/program/prb1.rb
CHANGED
@@ -8,6 +8,10 @@ Flow.create interface: 'OrigenTesters::Test::Interface', flow_description: 'Prob
|
|
8
8
|
self.resources_filename = 'prb1'
|
9
9
|
end
|
10
10
|
|
11
|
+
# Extra log below not in approved/ folder to show that comments are
|
12
|
+
# being skipped correctly during the difference checks
|
13
|
+
log 'PRB1 Test Flow Version 00001 - do not copy me to approved!'
|
14
|
+
|
11
15
|
import 'components/prb1_main'
|
12
16
|
|
13
17
|
import 'test' # import top-level test.rb directly, note that Flow.create options of sub-flow will be ignored!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_testers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.49.
|
4
|
+
version: 0.49.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|