Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
VME64x core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
VME64x core
Commits
c7ce30f9
Commit
c7ce30f9
authored
Sep 06, 2017
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash in simulation due to out of bounds error.
parent
575d2ac2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VME_CR_CSR_Space.vhd
hdl/vme64x-core/rtl/VME_CR_CSR_Space.vhd
+2
-2
No files found.
hdl/vme64x-core/rtl/VME_CR_CSR_Space.vhd
View file @
c7ce30f9
...
...
@@ -310,7 +310,7 @@ begin
process
(
clk_i
)
begin
if
rising_edge
(
clk_i
)
then
s_cr_data
<=
s_cr_rom
(
to_integer
(
s_addr
));
s_cr_data
<=
s_cr_rom
(
to_integer
(
s_addr
)
mod
1024
);
end
if
;
end
process
;
...
...
@@ -488,7 +488,7 @@ begin
s_cram_we
<=
we_i
and
s_cram_access
;
s_cram_waddr
<=
s_addr
-
c_BEG_CRAM
;
s_cram_data
<=
s_cram
(
to_integer
(
s_cram_raddr
));
s_cram_data
<=
s_cram
(
to_integer
(
s_cram_raddr
)
mod
c_CRAM_SIZE
);
process
(
clk_i
)
begin
if
rising_edge
(
clk_i
)
then
...
...
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