Revise implementation of 'next' property

This commit is contained in:
Alex Mykyta
2021-12-20 12:21:51 -08:00
parent 769907404a
commit 8ed45ed632
8 changed files with 85 additions and 40 deletions

View File

@@ -14,7 +14,7 @@
// Verify that hwif gets sampled at the same cycle as swacc strobe
counter = 'h10;
cb.hwif_in.r1.f.value <= counter;
cb.hwif_in.r1.f.next <= counter;
@cb;
event_count = 0;
fork
@@ -22,7 +22,7 @@
##0;
forever begin
counter++;
cb.hwif_in.r1.f.value <= counter;
cb.hwif_in.r1.f.next <= counter;
@cb;
if(cb.hwif_out.r1.f.swacc) begin
latched_data = counter;