mirror of https://github.com/zachjs/sv2v.git
fix stale logs in test runner
This commit is contained in:
parent
82d06b3915
commit
6b81f87a88
|
|
@ -118,6 +118,11 @@ simulateAndCompare() {
|
|||
assertTrue "VCDs are different:\n$output" $?
|
||||
output=`diff $ref_log $gen_log`
|
||||
assertTrue "Simulation outputs differ:\n$output" $?
|
||||
|
||||
rm -f $ref_vcd
|
||||
rm -f $gen_vcd
|
||||
rm -f $ref_log
|
||||
rm -f $gen_log
|
||||
}
|
||||
|
||||
runTest() {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ module top;
|
|||
end
|
||||
|
||||
initial begin
|
||||
$monitor($time, " data: %h check: %b checkData: %h", dataIn, {check1, check2}, checkData);
|
||||
$monitor($time, " data: %h check: %b%b checkData: %h", dataIn, check1, check2, checkData);
|
||||
clear = 1'b1;
|
||||
dataIn = 8'h0;
|
||||
repeat(3) @(posedge clock);
|
||||
|
|
|
|||
Loading…
Reference in New Issue