Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VME64x core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
VME64x core
Commits
8b9e164d
Commit
8b9e164d
authored
4 years ago
by
Tristan Gingold
Browse files
Options
Downloads
Patches
Plain Diff
vme_cr_csr_space.vhd: minor refactoring.
parent
26ae1414
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/rtl/vme_cr_csr_space.vhd
+3
-2
3 additions, 2 deletions
hdl/rtl/vme_cr_csr_space.vhd
with
3 additions
and
2 deletions
hdl/rtl/vme_cr_csr_space.vhd
+
3
−
2
View file @
8b9e164d
...
...
@@ -190,11 +190,9 @@ architecture rtl of vme_cr_csr_space is
-- CRAM
type
t_cram
is
array
(
c_CRAM_SIZE
-1
downto
0
)
of
std_logic_vector
(
7
downto
0
);
signal
s_cram
:
t_cram
;
signal
s_cram_data
:
std_logic_vector
(
7
downto
0
);
signal
s_cram_waddr
:
unsigned
(
18
downto
2
);
signal
s_cram_raddr
:
unsigned
(
18
downto
2
);
signal
s_cram_we
:
std_logic
;
-- Addresses
subtype
crcsr_addr
is
unsigned
(
18
downto
2
);
...
...
@@ -507,6 +505,9 @@ begin
-- CRAM
------------------------------------------------------------------------------
gen_cram_ena
:
if
c_CRAM_ENA
=
true
generate
signal
s_cram
:
t_cram
;
signal
s_cram_we
:
std_logic
;
begin
s_cram_access
<=
'1'
when
s_addr
>=
c_BEG_CRAM
and
s_addr
<=
c_END_CRAM
else
'0'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment