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
f98d7278
Commit
f98d7278
authored
Oct 04, 2017
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix case.
parent
f86fd802
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
VME_CR_CSR_Space.vhd
hdl/vme64x-core/rtl/VME_CR_CSR_Space.vhd
+2
-2
VME_Funct_Match.vhd
hdl/vme64x-core/rtl/VME_Funct_Match.vhd
+1
-1
No files found.
hdl/vme64x-core/rtl/VME_CR_CSR_Space.vhd
View file @
f98d7278
...
@@ -335,14 +335,14 @@ begin
...
@@ -335,14 +335,14 @@ begin
process
(
clk_i
)
process
(
clk_i
)
-- Write to ADER bytes, if implemented. Take advantage of VITAL-1-1 Rule
-- Write to ADER bytes, if implemented. Take advantage of VITAL-1-1 Rule
-- 10.19
-- 10.19
procedure
s
et_ADER
(
Idx
:
natural
range
0
to
7
)
is
procedure
S
et_ADER
(
Idx
:
natural
range
0
to
7
)
is
variable
v_byte
:
integer
;
variable
v_byte
:
integer
;
begin
begin
if
g_ADEM
(
Idx
)
/=
x"0000_0000"
then
if
g_ADEM
(
Idx
)
/=
x"0000_0000"
then
v_byte
:
=
3
-
to_integer
(
s_addr
(
3
downto
2
));
v_byte
:
=
3
-
to_integer
(
s_addr
(
3
downto
2
));
s_reg_ader
(
Idx
)(
8
*
v_byte
+
7
downto
8
*
v_byte
)
<=
data_i
;
s_reg_ader
(
Idx
)(
8
*
v_byte
+
7
downto
8
*
v_byte
)
<=
data_i
;
end
if
;
end
if
;
end
s
et_ADER
;
end
S
et_ADER
;
variable
csr_idx
:
unsigned
(
7
downto
4
);
variable
csr_idx
:
unsigned
(
7
downto
4
);
variable
csr_boff
:
unsigned
(
3
downto
2
);
variable
csr_boff
:
unsigned
(
3
downto
2
);
...
...
hdl/vme64x-core/rtl/VME_Funct_Match.vhd
View file @
f98d7278
...
@@ -127,7 +127,7 @@ begin
...
@@ -127,7 +127,7 @@ begin
if
s_function_sel_valid
=
'1'
then
if
s_function_sel_valid
=
'1'
then
mask
:
=
(
others
=>
'0'
);
mask
:
=
(
others
=>
'0'
);
mask
(
c_ADEM_M
)
:
=
g_
adem
(
s_function_sel
)(
c_ADEM_M
);
mask
(
c_ADEM_M
)
:
=
g_
ADEM
(
s_function_sel
)(
c_ADEM_M
);
addr_o
<=
addr_i
and
not
mask
;
addr_o
<=
addr_i
and
not
mask
;
decode_sel_o
<=
'1'
;
decode_sel_o
<=
'1'
;
else
else
...
...
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