extending basic test

This commit is contained in:
Blaise Tine
2020-04-02 08:46:32 -07:00
parent efd3c1d154
commit 6463cca529
14 changed files with 180 additions and 46 deletions

View File

@@ -175,7 +175,8 @@ begin
16'h0006: af2cp_sTxPort.c2.data <= 64'h0; // next AFU
16'h0008: af2cp_sTxPort.c2.data <= 64'h0; // reserved
MMIO_CSR_STATUS: begin
$display("%t: STATUS: state=%0d", $time, state);
if (state != af2cp_sTxPort.c2.data)
$display("%t: STATUS: state=%0d", $time, state);
af2cp_sTxPort.c2.data <= state;
end
default: af2cp_sTxPort.c2.data <= 64'h0;