mirror of
https://github.com/MPSU/APS.git
synced 2025-09-16 01:30:10 +00:00
Update lab_03.tb_register_file.sv
This commit is contained in:
committed by
GitHub
parent
3bd2559291
commit
773568589f
@@ -168,8 +168,6 @@ module lab_03_tb_register_file();
|
|||||||
RA1 <= 5'd2;
|
RA1 <= 5'd2;
|
||||||
RA2 <= 5'd2;
|
RA2 <= 5'd2;
|
||||||
@(posedge CLK);
|
@(posedge CLK);
|
||||||
RD1ref = 2;
|
|
||||||
RD2ref = 2;
|
|
||||||
if(RD1ref !== RD1) begin
|
if(RD1ref !== RD1) begin
|
||||||
$display("time = %0t, address %h, RD1. Invalid data %h, correct data %h", $time, RA1, RD1, RD1ref);
|
$display("time = %0t, address %h, RD1. Invalid data %h, correct data %h", $time, RA1, RD1, RD1ref);
|
||||||
err_count = err_count + 1;
|
err_count = err_count + 1;
|
||||||
|
Reference in New Issue
Block a user