Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rimfaxe
vme_core
Commits
bd2d93ae
Commit
bd2d93ae
authored
Aug 19, 2020
by
Håkan Johansson
Browse files
Place BERR_HIGH_WAIT after TIMEOUT_WAIT, to follow flow of states better.
parent
03c83305
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vme_data_bus.vhd
View file @
bd2d93ae
...
...
@@ -664,12 +664,6 @@ begin
state
<=
IDLE
;
busy
<=
'0'
;
when
BERR_HIGH_WAIT
=>
--if (last_berr_n = '1' and vme_berr_n_i = '1') then
if
(
vme_berr_n_i
=
'1'
)
then
state
<=
IDLE
;
end
if
;
-- Timeout! Something is preventing the state machine
-- from completing. Either an external error (e.g. a
-- non-responding module), or a bug in this code.
...
...
@@ -718,6 +712,13 @@ begin
vme_berr_n_dir
<=
c_PIN_IN
;
state
<=
BERR_HIGH_WAIT
;
end
if
;
when
BERR_HIGH_WAIT
=>
--if (last_berr_n = '1' and vme_berr_n_i = '1') then
if
(
vme_berr_n_i
=
'1'
)
then
state
<=
IDLE
;
end
if
;
end
case
;
-- This is after state machine, such that it can force
...
...
Write
Preview
Supports
Markdown
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