mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-11-14 11:03:36 +00:00
Flops must not update when HREADYOUT == 0, not when r2b.rdy == 0
This commit is contained in:
parent
a27b57009b
commit
85aa2f903c
@ -111,7 +111,7 @@ module srdl2sv_amba3ahblite
|
|||||||
begin
|
begin
|
||||||
// When a transfer is extended it has the side-effecxt
|
// When a transfer is extended it has the side-effecxt
|
||||||
// of extending the address phase of the next transfer
|
// of extending the address phase of the next transfer
|
||||||
if (r2b.rdy)
|
if (HREADYOUT)
|
||||||
begin
|
begin
|
||||||
addr_q <= HADDR;
|
addr_q <= HADDR;
|
||||||
operation_q <= HWRITE ? WRITE : READ;
|
operation_q <= HWRITE ? WRITE : READ;
|
||||||
@ -119,7 +119,7 @@ module srdl2sv_amba3ahblite
|
|||||||
end
|
end
|
||||||
SEQ:
|
SEQ:
|
||||||
begin
|
begin
|
||||||
if (r2b.rdy)
|
if (HREADYOUT)
|
||||||
begin
|
begin
|
||||||
addr_q <= addr_q; // TODO
|
addr_q <= addr_q; // TODO
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user