origen_testers 0.52.9 → 0.52.10

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
  SHA256:
3
- metadata.gz: fecbbfe63f95674c499382fd6003113ce274998692bcf5187b44e41db306e0f1
4
- data.tar.gz: 236168668b3274d70f5febf60f4bbcfa1b1a26db15a12e9dc5d6337b9db49550
3
+ metadata.gz: 2ad56d048270f5877bdd6da72571a2b4f04ad2fc045d33d61bc34f7aedd9fdf8
4
+ data.tar.gz: 91032b7a9d74d80ccdf9c61e816abfd642d8b187bb5d18c79af6797f94b183e7
5
5
  SHA512:
6
- metadata.gz: 40b214d23816832c4d95d7e97edfba66df653c6e8627bdf9edda2c4548651104634b42f263c992838fc1c02e1feb87400f32bfd97827a9ff07d6e1009f8c9e7c
7
- data.tar.gz: 469295bf704a457ac2496856f0bb59c02690ca6baa4bdfbdb2de8cfb6345af7024d28fa8b96992f2fac07c21d5ed9f150ba106a13e42c99259378823faff47b3
6
+ metadata.gz: 1ef803cd8aea71320aaa9885f827b6a93dc79c7bb2d281e8bde083c75b0e6f3abe2db66c1829c4b65b15f4310494da19a7d3c0ae315ad4b5911df68940b3b454
7
+ data.tar.gz: 8e8f3eee5a4740b8966b816359f471eb26958b3a090260bbf105121c1394f0eaab6a70e7537c605af0d7290a7f0912de0a035ceebb7df22a86dc6f701a826653
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenTesters
2
2
  MAJOR = 0
3
3
  MINOR = 52
4
- BUGFIX = 9
4
+ BUGFIX = 10
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -19,11 +19,17 @@ module OrigenTesters
19
19
  attr_accessor :default_channelmap
20
20
  attr_accessor :default_testerconfig
21
21
  attr_accessor :max_site
22
+
22
23
  # permit modification of minimum repeat count
23
24
  attr_accessor :min_repeat_loop
24
25
  alias_method :min_repeat_count, :min_repeat_loop
25
26
  alias_method :min_repeat_count=, :min_repeat_loop=
26
27
 
28
+ # permit modification of maximum repeat count
29
+ attr_accessor :max_repeat_loop
30
+ alias_method :max_repeat_count, :max_repeat_loop
31
+ alias_method :max_repeat_count=, :max_repeat_loop=
32
+
27
33
  # Control literal flag definitions
28
34
  attr_accessor :literal_flags # whether flags should be exactly as indicated
29
35
  attr_accessor :literal_enables # whether enables should be exactly as indicated
@@ -30,6 +30,11 @@ module OrigenTesters
30
30
  alias_method :min_repeat_count, :min_repeat_loop
31
31
  alias_method :min_repeat_count=, :min_repeat_loop=
32
32
 
33
+ # permit modification of maximum repeat count
34
+ attr_accessor :max_repeat_loop
35
+ alias_method :max_repeat_count, :max_repeat_loop
36
+ alias_method :max_repeat_count=, :max_repeat_loop=
37
+
33
38
  # Control literal flag definitions
34
39
  attr_accessor :literal_flags # whether flags should be exactly as indicated
35
40
  attr_accessor :literal_enables # whether enables should be exactly as indicated
@@ -25,6 +25,7 @@ module OrigenTesters
25
25
  @inline_comments = true
26
26
  @header_done = false
27
27
  @footer_done = false
28
+ @pushed_stil_header = []
28
29
  end
29
30
 
30
31
  def stil_based?
@@ -57,6 +58,11 @@ module OrigenTesters
57
58
  microcode " #{line}';"
58
59
  end
59
60
 
61
+ # Method to build content for STIL 'Header' section
62
+ def push_stil_header(text)
63
+ @pushed_stil_header << text
64
+ end
65
+
60
66
  # An internal method called by Origen to create the pattern header
61
67
  def pattern_header(options = {})
62
68
  options = {
@@ -67,6 +73,16 @@ module OrigenTesters
67
73
  unless pattern_only
68
74
  microcode 'STIL 1.0;'
69
75
 
76
+ # If a STIL Header section is requested, add it
77
+ if @pushed_stil_header != []
78
+ microcode ''
79
+ microcode 'Header {'
80
+ @pushed_stil_header.each do |line|
81
+ microcode ' ' + line
82
+ end
83
+ microcode '}'
84
+ end
85
+
70
86
  microcode ''
71
87
  microcode 'Signals {'
72
88
  flattened_ordered_pins.each do |pin|
@@ -0,0 +1,3 @@
1
+ Pattern.create do
2
+ tester.push_stil_header('Ann{* STIL Header Test *}') if tester.respond_to?(:push_stil_header)
3
+ end
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.52.9
4
+ version: 0.52.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2025-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -528,6 +528,7 @@ files:
528
528
  - pattern/reset.rb
529
529
  - pattern/simple.rb
530
530
  - pattern/single_overlay_store.rb
531
+ - pattern/stil_header.rb
531
532
  - pattern/subroutines.rb
532
533
  - pattern/tester_overlay.rb
533
534
  - pattern/tester_overlay_no_start.rb
@@ -617,7 +618,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
617
618
  - !ruby/object:Gem::Version
618
619
  version: '0'
619
620
  requirements: []
620
- rubygems_version: 3.4.10
621
+ rubygems_version: 3.1.6
621
622
  signing_key:
622
623
  specification_version: 4
623
624
  summary: This plugin provides Origen tester models to drive ATE type testers like