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
f8a6c067
Commit
f8a6c067
authored
Aug 17, 2020
by
Michael Munch
Browse files
Don't return to IDLE until BERR is released
parent
11a11d7a
Pipeline
#25825
failed with stage
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/vme_data_bus.vhd
View file @
f8a6c067
...
...
@@ -202,7 +202,8 @@ architecture rtl of vme_data_bus is
BLT_WRITE_WAIT
,
-- 8
IDLE_DELAY
,
-- 9
TIMEOUT
,
-- 10
TIMEOUT_WAIT
-- 11
TIMEOUT_WAIT
,
-- 11
BERR_HIGH_WAIT
-- 12
);
type
addr_type_t
is
(
...
...
@@ -662,6 +663,10 @@ begin
state
<=
IDLE
;
busy
<=
'0'
;
when
BERR_HIGH_WAIT
=>
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
...
...
@@ -708,8 +713,7 @@ begin
-- Release BERR line
vme_berr_n_o
<=
'1'
;
vme_berr_n_dir
<=
c_PIN_IN
;
state
<=
IDLE_DELAY
;
-- Delay return to IDLE by 1 cycle
-- Gives the BERR* line two cycles to settle.
state
<=
BERR_HIGH_WAIT
;
end
if
;
end
case
;
...
...
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