Skip to content

Fixes and CI version bumps#45

Open
micprog wants to merge 2 commits into
mainfrom
bumps
Open

Fixes and CI version bumps#45
micprog wants to merge 2 commits into
mainfrom
bumps

Conversation

@micprog

@micprog micprog commented Jul 10, 2026

Copy link
Copy Markdown
Member

No description provided.

@micprog

micprog commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

@LucaRufer can you have a quick look at this one, the CI was reporting # ** Error (suppressible): <build_folder>/obi/src/obi_demux.sv(81): Variable 'mgr_ports_req_o[0]' written by continuous and procedural assignments. See <build_folder>/obi/src/obi_demux.sv(51). before this fix. Also some minor version bumps.

@LucaRufer LucaRufer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally the RTL changes look good to me, but I found an issue unrelated to this PR. As for the version bumps, I cant judge that but seems ok.

Comment thread src/obi_demux.sv
always_comb begin : proc_req
select_d = select_q;
cnt_up = 1'b0;
for (int i = 0; i < NumMgrPorts; i++) begin

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could drop this for-loop and just have a mgr_reqs = '0; and mgr_connect = '0; to have nicer default signals, if you wanted to.

Comment thread src/obi_demux.sv
if (!overflow) begin
// R-4.1.1: block source changes while a stalled R phase is active
if (sbr_port_select_i == select_q || (!rsp_phase_stalled &&
(in_flight == '0 || (in_flight == 1 && cnt_down)))) begin

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An issue I see (not related to this PR), is that
mgr_ports_req_o[i].req depends on mgr_reqs[i] depends on cnt_down, which depends on sbr_port_rsp_o.rvalid, depends on mgr_ports_rsp_i[select_q].rvalid, which is not legal as per OBI v1.6.0 R-21.1 ("For a manager, req shall not combinatorially depend on gnt or rvalid (nor on gntpar or rvalidpar").
So the (in_flight == 1 && cnt_down)) condition would have to be removed to resolve this dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants