mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 04:57:25 -04:00
parent
0667c14f15
commit
9958d30063
1 changed files with 2 additions and 1 deletions
|
@ -104,12 +104,13 @@ module bus #(
|
|||
|
||||
always_comb begin
|
||||
for (integer host = 0; host < NrHosts; host = host + 1) begin
|
||||
host_gnt_o[host] = 1'b0;
|
||||
|
||||
if ($clog2(NrHosts)'(host) == host_sel_resp) begin
|
||||
host_rvalid_o[host] = device_rvalid_i[device_sel_resp];
|
||||
host_err_o[host] = device_err_i[device_sel_resp];
|
||||
host_rdata_o[host] = device_rdata_i[device_sel_resp];
|
||||
end else begin
|
||||
host_gnt_o[host] = 1'b0;
|
||||
host_rvalid_o[host] = 1'b0;
|
||||
host_err_o[host] = 1'b0;
|
||||
host_rdata_o[host] = 'b0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue