Class: OrigenTesters::IGXLBasedTester::Base::Edge
- Inherits:
-
Object
- Object
- OrigenTesters::IGXLBasedTester::Base::Edge
- Defined in:
- lib/origen_testers/igxl_based_tester/base/edge.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#c1_edge ⇒ Object
Output pin timing information.
-
#c2_edge ⇒ Object
Output pin timing information.
-
#c_mode ⇒ Object
Output pin timing information.
-
#clk_per ⇒ Object
Returns the value of attribute clk_per.
-
#d0_edge ⇒ Object
Input pin timing information.
-
#d1_edge ⇒ Object
Input pin timing information.
-
#d2_edge ⇒ Object
Input pin timing information.
-
#d3_edge ⇒ Object
Input pin timing information.
-
#d_fmt ⇒ Object
Input pin timing information.
-
#d_src ⇒ Object
Input pin timing information.
-
#t_res ⇒ Object
Returns the value of attribute t_res.
Instance Method Summary collapse
- #==(edge) ⇒ Object
-
#initialize(options = {}) ⇒ Edge
constructor
:nodoc:.
- #platform ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Edge
:nodoc:
9 10 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/edge.rb', line 9 def initialize( = {}) # :nodoc: = { d_src: 'PAT', # source of the channel drive data (e.g. pattern, drive_hi, drive_lo, etc.) d_fmt: 'NR', # drive data format (NR, RL, RH, etc.) d0_edge: '', # time at which the input drive is turned on d1_edge: '', # time of the initial data drive edge d2_edge: '', # time of the return format data drive edge d3_edge: '', # time at which the input drive is turned off c_mode: 'Edge', # output compare mode c1_edge: '', # time of the initial output compare edge c2_edge: '', # time of the final output compare edge (window compare) t_res: 'Machine', # timing resolution (possibly ATE-specific) clk_per: '' # clock period equation - for use with MCG }.merge() @d_src = [:d_src] @d_fmt = [:d_fmt] @d0_edge = [:d0_edge] @d1_edge = [:d1_edge] @d2_edge = [:d2_edge] @d3_edge = [:d3_edge] @c_mode = [:c_mode] @c1_edge = [:c1_edge] @c2_edge = [:c2_edge] @t_res = [:t_res] @clk_per = [:clk_per] end |
Instance Attribute Details
#c1_edge ⇒ Object
Output pin timing information
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 6 def c1_edge @c1_edge end |
#c2_edge ⇒ Object
Output pin timing information
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 6 def c2_edge @c2_edge end |
#c_mode ⇒ Object
Output pin timing information
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 6 def c_mode @c_mode end |
#clk_per ⇒ Object
Returns the value of attribute clk_per.
7 8 9 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 7 def clk_per @clk_per end |
#d0_edge ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d0_edge @d0_edge end |
#d1_edge ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d1_edge @d1_edge end |
#d2_edge ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d2_edge @d2_edge end |
#d3_edge ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d3_edge @d3_edge end |
#d_fmt ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d_fmt @d_fmt end |
#d_src ⇒ Object
Input pin timing information
5 6 7 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 5 def d_src @d_src end |
#t_res ⇒ Object
Returns the value of attribute t_res.
7 8 9 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 7 def t_res @t_res end |
Instance Method Details
#==(edge) ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 36 def ==(edge) if edge.is_a? Edge d_src == edge.d_src && d_fmt == edge.d_fmt && d0_edge == edge.d0_edge && d1_edge == edge.d1_edge && d2_edge == edge.d2_edge && d3_edge == edge.d3_edge && c_mode == edge.c_mode && c1_edge == edge.c1_edge && c2_edge == edge.c2_edge && t_res == edge.t_res && clk_per == edge.clk_per else super end end |
#platform ⇒ Object
54 55 56 |
# File 'lib/origen_testers/igxl_based_tester/base/edge.rb', line 54 def platform Origen.interface.platform end |