fix stale logs in test runner

This commit is contained in:
Zachary Snow 2020-06-29 16:08:49 -06:00
parent 82d06b3915
commit 6b81f87a88
2 changed files with 6 additions and 1 deletions

View File

@ -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() {

View File

@ -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);