|
|
@@ -161,26 +161,28 @@ |
|
|
|
// on the write address and data bus. This design |
|
|
|
// expects no outstanding transactions. |
|
|
|
axi_awready <= 1'b1; |
|
|
|
$display($time,"\t axi_awready = %d\t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
// $display($time,"\t axi_awready = %d\t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
if (!wadr_dne) // adde for control of AWready.232022021. |
|
|
|
begin |
|
|
|
axi_awready <= 1'b0; |
|
|
|
$display($time,"\tIF Passed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
axi_awready <= 1'b0; |
|
|
|
|
|
|
|
//$display($time,"\tIF Passed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
end |
|
|
|
else |
|
|
|
begin |
|
|
|
axi_awready <= 1'b1; |
|
|
|
$display($time,"\tIF Failed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
axi_awready <= 1'b1; |
|
|
|
//$display($time,"\tIF Failed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
end |
|
|
|
end |
|
|
|
else |
|
|
|
begin |
|
|
|
axi_awready <= 1'b0; // add on 24022021. |
|
|
|
if (wadr_dne) // adde for control of AWready.232022021. |
|
|
|
axi_awready <= 1'b1; |
|
|
|
else |
|
|
|
axi_awready <= 1'b0; |
|
|
|
// axi_awready <= 1'b0; |
|
|
|
$display($time,"\tELSE axi_awready = %d\t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
//$display($time,"\tELSE axi_awready = %d\t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
@@ -225,10 +227,25 @@ |
|
|
|
// on the write address and data bus. This design |
|
|
|
// expects no outstanding transactions. |
|
|
|
axi_wready <= 1'b1; |
|
|
|
if (!wadr_dne) // adde for control of AWready.242022021. |
|
|
|
begin |
|
|
|
axi_wready <= 1'b0; |
|
|
|
|
|
|
|
//$display($time,"\tIF Passed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
end |
|
|
|
else |
|
|
|
begin |
|
|
|
axi_wready <= 1'b1; |
|
|
|
//$display($time,"\tIF Failed axi_awready = %d \t wadr_dne = %d",axi_awready,wadr_dne); |
|
|
|
end |
|
|
|
end |
|
|
|
else |
|
|
|
begin |
|
|
|
axi_wready <= 1'b0; |
|
|
|
if (wadr_dne) // adde for control of AWready.242022021. |
|
|
|
axi_awready <= 1'b1; |
|
|
|
else |
|
|
|
axi_awready <= 1'b0; |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|