Class: OrigenTesters::Test::ComplexTimingDUT
- Inherits:
-
Object
- Object
- OrigenTesters::Test::ComplexTimingDUT
- Includes:
- Origen::TopLevel
- Defined in:
- lib/origen_testers/test/complex_timing.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ComplexTimingDUT
constructor
A new instance of ComplexTimingDUT.
- #startup ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ ComplexTimingDUT
Returns a new instance of ComplexTimingDUT.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/origen_testers/test/complex_timing.rb', line 6 def initialize( = {}) add_timeset(:complex_timing) timeset(:complex_timing) do |t| t.period_in_ns = 1 t.drive_wave(:tclk) do |w| w.drive(0, at: 0) w.drive(:data, at: 'period/2') end end end |
Instance Method Details
#startup ⇒ Object
17 18 19 |
# File 'lib/origen_testers/test/complex_timing.rb', line 17 def startup tester.set_timeset(:complex_timing) end |