Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CIDR P3 Public
Pipelined RV32IMC
Commits
38084497
Commit
38084497
authored
9 months ago
by
Allen Jason Tan
Browse files
Options
Download
Email Patches
Plain Diff
Fix missing ready signal for 1-cycle load ops
parent
4ce696eb
ext-memory
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
processor/mem_protocol_driver.sv
+14
-3
processor/mem_protocol_driver.sv
with
14 additions
and
3 deletions
+14
-3
processor/mem_protocol_driver.sv
View file @
38084497
...
...
@@ -127,8 +127,14 @@ module mem_protocol_driver (
req
<=
0
;
addr_buffer
<=
0
;
// 1+ cycle delay
load_buffer
<=
0
;
mem_state
<=
MEM_GRANT_LOAD
;
if
(
valid
)
begin
load_buffer
<=
read_in
;
mem_state
<=
MEM_VALID_LOAD
;
end
else
begin
load_buffer
<=
0
;
mem_state
<=
MEM_GRANT_LOAD
;
end
end
else
begin
addr_buffer
<=
addr_buffer
;
...
...
@@ -199,7 +205,12 @@ module mem_protocol_driver (
else
begin
case
(
mem_state
)
MEM_WAIT_LOAD:
begin
ready
<=
0
;
if
(
valid
)
begin
ready
<=
1
;
end
else
begin
ready
<=
0
;
end
end
MEM_GRANT_LOAD:
begin
if
(
valid
)
begin
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help