Class: OrigenTesters::IGXLBasedTester::Base::PinLevelSingle
- Inherits:
-
Object
- Object
- OrigenTesters::IGXLBasedTester::Base::PinLevelSingle
- Defined in:
- lib/origen_testers/igxl_based_tester/base/level_io_se.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#dmode ⇒ Object
Returns the value of attribute dmode.
-
#vch ⇒ Object
Clamp level information.
-
#vcl ⇒ Object
Clamp level information.
-
#vih ⇒ Object
Input level information.
-
#vil ⇒ Object
Input level information.
-
#voh ⇒ Object
Output level information.
-
#vol ⇒ Object
Output level information.
-
#vouthityp ⇒ Object
Returns the value of attribute vouthityp.
-
#voutlotyp ⇒ Object
Returns the value of attribute voutlotyp.
-
#vt ⇒ Object
Termination level information.
Instance Method Summary collapse
- #==(level) ⇒ Object
-
#initialize(options = {}) ⇒ PinLevelSingle
constructor
:nodoc:.
- #platform ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ PinLevelSingle
:nodoc:
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 11 def initialize( = {}) # :nodoc: = { vil: 0, # Input drive low vih: 1.8, # Input drive high vol: 1.0, # Output compare low voh: 0.8, # Output compare high vcl: -1, # Voltage clamp low vch: 2.5, # Voltage clamp high vt: 0.9, # Termination voltage voutlotyp: 0, # vouthityp: 0, # dmode: 'Largeswing-VT' # Driver mode (possibly ATE-specific) }.merge() @vil = [:vil] @vih = [:vih] @vol = [:vol] @voh = [:voh] @vcl = [:vcl] @vch = [:vch] @vt = [:vt] @voutlotyp = [:voutlotyp] @vouthityp = [:vouthityp] @dmode = [:dmode] end |
Instance Attribute Details
#dmode ⇒ Object
Returns the value of attribute dmode.
9 10 11 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 9 def dmode @dmode end |
#vch ⇒ Object
Clamp level information
7 8 9 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 7 def vch @vch end |
#vcl ⇒ Object
Clamp level information
7 8 9 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 7 def vcl @vcl end |
#vih ⇒ Object
Input level information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 5 def vih @vih end |
#vil ⇒ Object
Input level information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 5 def vil @vil end |
#voh ⇒ Object
Output level information
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 6 def voh @voh end |
#vol ⇒ Object
Output level information
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 6 def vol @vol end |
#vouthityp ⇒ Object
Returns the value of attribute vouthityp.
9 10 11 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 9 def vouthityp @vouthityp end |
#voutlotyp ⇒ Object
Returns the value of attribute voutlotyp.
9 10 11 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 9 def voutlotyp @voutlotyp end |
#vt ⇒ Object
Termination level information
8 9 10 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 8 def vt @vt end |
Instance Method Details
#==(level) ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 36 def ==(level) if level.is_a? PinLevelSingle vil == level.vil && vih == level.vih && vol == level.vol && voh == level.voh && vcl == level.vcl && vch == level.vch && vt == level.vt && voutlotyp == level.voutlotyp && vouthityp == level.vouthityp && dmode == level.dmode else super end end |
#platform ⇒ Object
53 54 55 |
# File 'lib/origen_testers/igxl_based_tester/base/level_io_se.rb', line 53 def platform Origen.interface.platform end |