origen_testers 0.48.0 → 0.48.1
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/charz.rb +16 -3
- 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: 4d062217b6f69bd8190818c2b24c2574bb163dab
|
4
|
+
data.tar.gz: 9b139b2ef824933744d66c817baba75524ff7d3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f0e2c810aa3f8826897a16099274fc65d307c1650dab5d60ca9d3ef84da37e390932d3802c5e4980f81304cefff12b6b31de53ee798ad132f9e708cc3aa03df
|
7
|
+
data.tar.gz: b1bf66931f6056f6ae314715b7e9b368534cb13b5a4bed46e364f2318e80fe57d07fd50e071adc158b8d29a3129ab49ecb724e16fa52e3e344dcd379d21b9413
|
data/config/version.rb
CHANGED
data/lib/origen_testers/charz.rb
CHANGED
@@ -44,6 +44,8 @@ module OrigenTesters
|
|
44
44
|
# Its intended to be used in combination with an existing point test (regular non charz test) to create
|
45
45
|
# a characterization version of the point test
|
46
46
|
#
|
47
|
+
# To use your own Routine classes, override the create_charz_routine method in your interface
|
48
|
+
#
|
47
49
|
# @example create a 1d search routine that searches vdd, from 900mv to 300mv, resolution of 5mv
|
48
50
|
# add_charz_routine :my_routine, type: search do |rt|
|
49
51
|
# rt.start = 900.mv
|
@@ -60,13 +62,24 @@ module OrigenTesters
|
|
60
62
|
Origen.log.error("Cannot create charz routine '#{id}', it already exists!")
|
61
63
|
fail
|
62
64
|
end
|
65
|
+
charz_routines[id] = create_charz_routine(id, options, &block)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Called by add_charz_routine, split out from that method to make it easier to override this handler from a user's interface
|
69
|
+
# This is the method to override if you want to use custom Routines specifc to your company's implementation
|
70
|
+
#
|
71
|
+
# @param [Symbol] id charz_routine id, will be the key value in the @charz_routines hash. Must not have been previously used
|
72
|
+
# @param [Hash] options charz_routine options
|
73
|
+
# @option options [Symbol] :type :search or :'1d' will create a SearchRoutine, :shmoo or :'2d' will create a ShmooRoutine, nil will create a Routine
|
74
|
+
# @return [Routine] a charz routine object
|
75
|
+
def create_charz_routine(id, options = {}, &block)
|
63
76
|
case options[:type]
|
64
77
|
when :search, :'1d'
|
65
|
-
|
78
|
+
SearchRoutine.new(id, options, &block)
|
66
79
|
when :shmoo, :'2d'
|
67
|
-
|
80
|
+
ShmooRoutine.new(id, options, &block)
|
68
81
|
else
|
69
|
-
|
82
|
+
Routine.new(id, options, &block)
|
70
83
|
end
|
71
84
|
end
|
72
85
|
|
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.48.
|
4
|
+
version: 0.48.1
|
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-
|
11
|
+
date: 2020-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|