lib/origen/tester/vector_generator.rb in origen-0.0.5 vs lib/origen/tester/vector_generator.rb in origen-0.0.6
- old
+ new
@@ -584,10 +584,12 @@
pin.drive_lo
elsif state == @expect_hi_state || state == 'H'
pin.expect_hi
elsif state == @expect_lo_state || state == 'L'
pin.expect_lo
+ elsif state == @expect_mid_state || state == 'M'
+ pin.expect_mid
elsif state == @drive_mem_state || state == 'D'
pin.drive_mem
elsif state == @expect_mem_state || state == 'E'
pin.expect_mem
elsif state == @capture_state || state == 'C'
@@ -610,9 +612,11 @@
@drive_hi_state || '1'
end
else
@drive_lo_state || '0'
end
+ elsif pin.comparing_midband?
+ @expect_mid_state || 'M'
elsif pin.comparing?
if pin.value == 1
@expect_hi_state || 'H'
else
@expect_lo_state || 'L'