origen_testers 0.7.8 → 0.7.9

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: 0fef29207283a7c7837cfaef6fb5d32d4a422292
4
- data.tar.gz: 4d41a6c74b72ef2fffae771928ec1356d7f989ba
3
+ metadata.gz: 6244c25bef50d180f012dd648c56a16557082e41
4
+ data.tar.gz: 901fdc6849503a4149272d65a72474efee0887f5
5
5
  SHA512:
6
- metadata.gz: 0624f4f177bae4b5ad179601a22504a56dd8ca907b26bd6feca823443978c9575c5fd03f38f36a8e709f7caa1bedfec993be5c520045371b9178fd5320fff917
7
- data.tar.gz: cbc5987d9c38140931121c5da1d9f1720b30ec02f8621cc7490aee665d3c24cda457dedb7931c1096b2a9273e6e233ff16ff2fecb4b6e011918f756871b06b87
6
+ metadata.gz: fcd1d57220bc8fc4e2beadf8dc0c41f4eaa588c4f6f249ee167af2cfec7902ad86fa3625cac9dc52299328b7eed01276734b8337a71e7e80c6d3c6f5e3add4fc
7
+ data.tar.gz: b855192520b92abdec8c4dc3df3e82b215fa1b160612da2f4320fea3dfad4541cb96ec7c5b9f6e1d1548949b71db5f311f6394701b3a3497ff521fd7d9dfb8f6
@@ -1,7 +1,7 @@
1
1
  module OrigenTesters
2
2
  MAJOR = 0
3
3
  MINOR = 7
4
- BUGFIX = 8
4
+ BUGFIX = 9
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -144,9 +144,13 @@ module OrigenTesters
144
144
  c1(msg)
145
145
  end
146
146
  @step_comment_on = false
147
- timestamp = " #{execution_time_in_ns}ns #{step_comment_prefix}"
148
- str = step_comment_prefix * (70 / div)
149
- c1 str.sub(/#{step_comment_prefix}{#{timestamp.length - 1}}$/, timestamp)
147
+ if $_testers_enable_vector_comments
148
+ timestamp = " #{execution_time_in_ns}ns #{step_comment_prefix}"
149
+ str = step_comment_prefix * (70 / div)
150
+ c1 str.sub(/#{step_comment_prefix}{#{timestamp.length - 1}}$/, timestamp)
151
+ else
152
+ c1(step_comment_prefix * (70 / div))
153
+ end
150
154
  end
151
155
 
152
156
  def snip(number, options = {})
@@ -669,6 +669,16 @@ module OrigenTesters
669
669
  microcode "opcode_mode = #{@opcode_mode};"
670
670
  microcode "digital_inst = #{options[:digital_inst]};" if options[:digital_inst]
671
671
  microcode 'compressed = yes;' # if $dut.gzip_patterns
672
+ if tester.j750? && options[:freq_counter]
673
+ # pin setup type => freq_counter is only for the J750.
674
+ # UltraFLEX has frequency counter capability behind every pin.
675
+ # need to make sure the pin_setup freq_count is defined after opcode_mode extended since freq count only work in extended mode
676
+ if @opcode_mode == :extended
677
+ microcode "pin_setup = {#{options[:freq_counter]} freq_count;}"
678
+ else
679
+ fail 'pin_setup freq_count can only work in extended mode'
680
+ end
681
+ end
672
682
 
673
683
  # Take care of any instruments
674
684
  if options[:instruments].length > 0
@@ -44,10 +44,6 @@ module OrigenTesters
44
44
  end
45
45
 
46
46
  def pattern_header(options = {})
47
- # pin setup type => freq_counter is only for the J750.
48
- # UltraFLEX has frequency counter capability behind every pin.
49
- microcode "pin_setup = {#{options[:freq_counter]} freq_count;}" if options[:freq_counter]
50
-
51
47
  super(options) do |pin_list|
52
48
  microcode "vector ($tset, #{pin_list})"
53
49
  microcode '{'
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.7.8
4
+ version: 0.7.9
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-08-12 00:00:00.000000000 Z
11
+ date: 2016-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen