mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-23 13:37:20 -04:00
[examples/fpga] Fix memory interface
Logic driving instr_gnt/data_gnt violated Ibex memory protocol. It just happened to work until a recent change. Fixes #1500
This commit is contained in:
parent
2ec8d7433e
commit
e53b033962
1 changed files with 2 additions and 11 deletions
|
@ -111,17 +111,8 @@ module top_artya7 (
|
|||
.b_rdata_o (instr_rdata)
|
||||
);
|
||||
|
||||
|
||||
// SRAM to Ibex
|
||||
always_ff @(posedge clk_sys or negedge rst_sys_n) begin
|
||||
if (!rst_sys_n) begin
|
||||
instr_gnt <= '0;
|
||||
data_gnt <= '0;
|
||||
end else begin
|
||||
instr_gnt <= instr_req ;
|
||||
data_gnt <= data_req ;
|
||||
end
|
||||
end
|
||||
assign instr_gnt = instr_req;
|
||||
assign data_gnt = data_req;
|
||||
|
||||
// Connect the LED output to the lower four bits of the most significant
|
||||
// byte
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue