origen_testers 0.45.4 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b76b067afa328f7b2510afb5208e8171f7bec61740a81eda88304e7e4bcd5fe
4
- data.tar.gz: a66d71937a817171248d7bd496bee8208e2482b6f3cc0db19eb0b5375e46726e
3
+ metadata.gz: 7360238666a0fc1e9b4c102d2a37848d405fe98517409bdb831cda332981a13c
4
+ data.tar.gz: c92ae39d1a231092b5369e218e339fce91b1d64a7550373c34483ea380fd7785
5
5
  SHA512:
6
- metadata.gz: 7c832106032077a4d59ed06c3d4909d7847b0b65e9a953e8f8d7f8709baae25d6d2647117c080e4994b5b16f6fd1a59cedc9a7723e5648e7c3beb5e3e7714df3
7
- data.tar.gz: bc1837f05d87eaf7bb8c3640068e754468dcd23142e15f74ad68cf17e78f12d3f03ff4f6d77fe2da444f4ddd7f1d20cb533f2a6966801438c5077a8c613eca71
6
+ metadata.gz: 82fda3ff54f95ccb5b50f668fc0a9a6488171a0f3b855e58381385f1a68d619da71a815c74c9a46ed7443122a6d78606415e4ba191dc6ecca28b358b94a7c8ec
7
+ data.tar.gz: 64c3c447fc4828c2714ea84df9af17af9d35e000c10afd51675edccf6935dbbcb184669cb3b36e7f5b7c42261e2a3c504066ad440b2ef4b4db721fd94ef9a681
@@ -1,7 +1,7 @@
1
1
  module OrigenTesters
2
2
  MAJOR = 0
3
- MINOR = 45
4
- BUGFIX = 4
3
+ MINOR = 46
4
+ BUGFIX = 0
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -85,7 +85,13 @@ module OrigenTesters
85
85
  end
86
86
  # Finally set any initial values that have been supplied
87
87
  options[:attrs].each do |k, v|
88
- send("#{k}=", v) if respond_to?("#{k}=")
88
+ accessor = "#{k}="
89
+ if respond_to?(accessor)
90
+ send(accessor, v)
91
+ else
92
+ accessor = "#{k.to_s.underscore}="
93
+ send(accessor, v) if respond_to?(accessor)
94
+ end
89
95
  end
90
96
  end
91
97
 
@@ -13,14 +13,14 @@ module OrigenTesters
13
13
 
14
14
  def method_missing(method, *args, &block)
15
15
  if definitions[method]
16
- m = platform::TestMethod.new methods: definitions[method].dup,
17
- attrs: (args.first || {}),
18
- type: method,
19
- library: self
20
- test_methods.add(m)
21
- m
16
+ instantiate_test_method(method, args)
22
17
  else
23
- super
18
+ method = method.to_s.underscore.to_sym
19
+ if definitions[method]
20
+ instantiate_test_method(method, args)
21
+ else
22
+ super
23
+ end
24
24
  end
25
25
  end
26
26
 
@@ -31,6 +31,17 @@ module OrigenTesters
31
31
  def definitions
32
32
  @definitions || self.class::TEST_METHODS
33
33
  end
34
+
35
+ private
36
+
37
+ def instantiate_test_method(method, args)
38
+ m = platform::TestMethod.new methods: definitions[method].dup,
39
+ attrs: (args.first || {}),
40
+ type: method,
41
+ library: self
42
+ test_methods.add(m)
43
+ m
44
+ end
34
45
  end
35
46
  end
36
47
  end
@@ -9,7 +9,7 @@ module OrigenTesters
9
9
  test_current: [:current, 10.uA],
10
10
  settling_time: [:time, 1.ms],
11
11
  measurement_mode: [:string, 'PPMUpar', %w(PPMUpar ProgLoad)],
12
- polarity: [:string, 'SPOL', ['SPOL' 'BPOL']],
12
+ polarity: [:string, 'SPOL', %w(SPOL BPOL)],
13
13
  precharge_to_zero_vol: [:string, 'ON', %w(ON OFF)],
14
14
  test_name: [:string, 'passVolt_mv'],
15
15
  output: [:string, 'None', %w(None ReportUI ShowFailOnly)]
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.45.4
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-31 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -508,7 +508,6 @@ files:
508
508
  - templates/origen_guides/pattern/stil.md.erb
509
509
  - templates/origen_guides/pattern/timing.md.erb
510
510
  - templates/origen_guides/pattern/ultraflex.md.erb
511
- - templates/origen_guides/pattern/ultraflex.md.erb~
512
511
  - templates/origen_guides/pattern/v93k.md.erb
513
512
  - templates/origen_guides/program/code.md.erb
514
513
  - templates/origen_guides/program/custom.md.erb
@@ -549,8 +548,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
549
548
  - !ruby/object:Gem::Version
550
549
  version: '0'
551
550
  requirements: []
552
- rubyforge_project:
553
- rubygems_version: 2.7.7
551
+ rubygems_version: 3.0.1
554
552
  signing_key:
555
553
  specification_version: 4
556
554
  summary: This plugin provides Origen tester models to drive ATE type testers like
@@ -1,30 +0,0 @@
1
- % render "layouts/guides.html" do
2
-
3
- This page will be used to document any UltraFLEX-only APIs related to pattern generation,
4
- however the goal is to have as few of these as possible so that Origen pattern source code can re-target
5
- automatically to any supported platform.
6
-
7
- There are no significant APIs in this category currently, therefore refer to the
8
- [Common Pattern API](<%= path "guides/pattern/common" %>) which can fully target the UltraFLEX.
9
-
10
- ### DigSrc
11
-
12
- UltraFlex supports <code>:digsrc</code> as a <code>tester.overlay_style</code> set like this:
13
-
14
- ~~~ruby
15
- tester.overlay_style = :digsrc
16
- ~~~
17
-
18
- By default Origen will automatically place the digsrc start opcode at the beginning of the resulting pattern
19
- when overlay is used. In some cases (like when the pattern is used in a pattern set that has already started
20
- the instrument in a previous pattern, or possibly in svm_patterns) this behavior is undesirable.
21
-
22
- The insertion of this start opcode can be disabled by placing the following code **before** any overlay operations
23
- for a given pin.
24
-
25
- ~~~ruby
26
- tester.digsrc_skip_start :pin_or_group_name if tester.ultraflex?
27
- # Overlay operations can happen after this point
28
- ~~~
29
-
30
- % end