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
73230942
Commit
73230942
authored
Jan 23, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme_bus: cleanup
parent
29b8b02b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
20 deletions
+17
-20
vme_bus.vhd
hdl/rtl/vme_bus.vhd
+17
-20
No files found.
hdl/rtl/vme_bus.vhd
View file @
73230942
...
...
@@ -136,6 +136,7 @@ architecture rtl of vme_bus is
signal
vme_idff_lword_n
:
std_logic
;
signal
vme_idff_am
:
std_logic_vector
(
5
downto
0
);
-- As these signals are synchronized, they correspond to latched values.
signal
vme_idff_ds_n
:
std_logic_vector
(
1
downto
0
);
signal
vme_idff_write_n
:
std_logic
;
...
...
@@ -325,10 +326,8 @@ begin
vme_dtack_n_o
<=
'1'
;
vme_data_dir_o
<=
'0'
;
vme_odff_addr_dir
<=
'0'
;
vme_odff_lword_n
<=
'0'
;
vme_berr_n_o
<=
'1'
;
vme_addr_o
<=
(
others
=>
'0'
);
vme_lword_n_o
<=
'1'
;
vme_data_o
<=
(
others
=>
'0'
);
vme_iackout_n_o
<=
'1'
;
s_MBLT_Data
<=
'0'
;
s_mainFSMstate
<=
IDLE
;
...
...
@@ -526,7 +525,7 @@ begin
-- A Slave MUST NOT respond with a falling edge on DTACK* during
-- an unaligned transfer cycle, if it does not have UAT
-- capability.
if
vme_
o
dff_lword_n
=
'0'
and
vme_idff_ds_n
/=
"00"
then
if
vme_
i
dff_lword_n
=
'0'
and
vme_idff_ds_n
/=
"00"
then
-- unaligned.
s_mainFSMstate
<=
WAIT_END
;
else
...
...
@@ -542,10 +541,10 @@ begin
if
g_VME32
then
-- only for MBLT
vme_
addr_o
<=
data_reg
(
63
downto
33
);
vme_
lword_n_o
<=
data_reg
(
32
);
vme_
odff_addr
<=
data_reg
(
63
downto
33
);
vme_
odff_lword_n
<=
data_reg
(
32
);
end
if
;
vme_
data_o
<=
data_reg
(
31
downto
0
);
vme_
odff_data
<=
data_reg
(
31
downto
0
);
if
s_transferType
=
MBLT
and
vme_idff_write_n
=
'1'
then
-- Prefetch.
...
...
@@ -696,11 +695,6 @@ begin
s_wb_done
<=
'0'
;
--if vme_odff_lword_n = '1' and vme_odff_addr(1) = '0' and g_VME32 then
-- -- Word/byte access with A1=0
-- s_locDataIn(31 downto 16) <= vme_odff_data(15 downto 0);
--end if;
if
vme_idff_write_n
=
'0'
then
-- Get the data to write (in case of write!).
if
g_VME32
and
s_transferType
=
MBLT
then
...
...
@@ -893,5 +887,8 @@ begin
else
'0'
;
vme_addr_dir_o
<=
vme_odff_addr_dir
;
vme_addr_o
<=
vme_odff_addr
;
vme_data_o
<=
vme_odff_data
;
vme_lword_n_o
<=
vme_odff_lword_n
;
end
rtl
;
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