Skip to content

Commit

Permalink
Fixing ready condition
Browse files Browse the repository at this point in the history
- Seems like the switchboard is waiting for ready to be high before asserting valid. Not sure this is legal?
  • Loading branch information
aolofsson committed Jan 22, 2025
1 parent d8640c8 commit 52541a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion umi/sumi/rtl/umi_regif.v
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ module umi_regif
wire cmd_write;
wire cmd_posted;
wire cmd_atomic;
wire match;
wire beat;

//######################################
// UMI Request
Expand All @@ -97,7 +99,7 @@ module umi_regif
assign cmd_atomic = (udev_req_cmd[4:0]==UMI_REQ_ATOMIC);

// back pressure (note feedback from resp-->req ready)
assign udev_req_ready = reg_ready & udev_resp_ready;
assign udev_req_ready = reg_ready & (udev_resp_ready | ~udev_resp_valid);
assign beat = udev_req_valid & udev_req_ready;

//######################################
Expand Down

0 comments on commit 52541a9

Please sign in to comment.