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
cfc5b68e
Commit
cfc5b68e
authored
Nov 30, 2017
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvme64x_core: simplify check of invalid bit in decoder.
parent
cc95254f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
xvme64x_core.vhd
hdl/rtl/xvme64x_core.vhd
+7
-4
No files found.
hdl/rtl/xvme64x_core.vhd
View file @
cfc5b68e
...
...
@@ -275,13 +275,16 @@ begin
-- Check for invalid bits in ADEM/AMCAP
gen_gchecks
:
for
i
in
7
downto
0
generate
assert
c_ADEM
(
i
)(
c_ADEM_FAF
)
=
'0'
report
"FAF bit set in ADEM"
constant
adem
:
std_logic_vector
(
31
downto
0
)
:
=
g_decoder
(
i
)
.
adem
;
constant
amcap
:
std_logic_vector
(
63
downto
0
)
:
=
g_decoder
(
i
)
.
amcap
;
begin
assert
adem
(
c_ADEM_FAF
)
=
'0'
report
"FAF bit set in ADEM"
severity
failure
;
assert
c_ADEM
(
i
)
(
c_ADEM_DFS
)
=
'0'
report
"DFS bit set in ADEM"
assert
adem
(
c_ADEM_DFS
)
=
'0'
report
"DFS bit set in ADEM"
severity
failure
;
assert
c_ADEM
(
i
)
(
c_ADEM_EFM
)
=
'0'
report
"EFM bit set in ADEM"
assert
adem
(
c_ADEM_EFM
)
=
'0'
report
"EFM bit set in ADEM"
severity
failure
;
assert
(
c_AMCAP
(
i
)
and
c_AMCAP_ALLOWED
)
=
c_AMCAP
(
i
)
assert
(
amcap
and
c_AMCAP_ALLOWED
)
=
amcap
report
"bit set in AMCAP for not supported AM"
severity
failure
;
end
generate
;
...
...
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