mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Simplifying wait logic
This commit is contained in:
parent
c1beed9a13
commit
75710f25b7
@ -129,7 +129,7 @@ module emmu (/*AUTOARG*/
|
||||
//the pushback is needed stall async transmit path
|
||||
|
||||
always @ (posedge rd_clk)
|
||||
if(~(emesh_wr_wait & write_in) & ~(emesh_rd_wait & ~write_in))
|
||||
if(~(emesh_wr_wait | emesh_rd_wait))
|
||||
begin
|
||||
emesh_access_out <= emesh_access_in;
|
||||
emesh_packet_reg[PW-1:0] <= emesh_packet_in[PW-1:0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user