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
9388296e
Commit
9388296e
authored
Jan 28, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme: preliminary support of 2eSST.
parent
e02c9e0f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
181 additions
and
11 deletions
+181
-11
vme64x_pkg.vhd
hdl/rtl/vme64x_pkg.vhd
+4
-4
vme_bus.vhd
hdl/rtl/vme_bus.vhd
+172
-7
xvme64x_core.vhd
hdl/rtl/xvme64x_core.vhd
+5
-0
No files found.
hdl/rtl/vme64x_pkg.vhd
View file @
9388296e
...
...
@@ -106,10 +106,10 @@ package vme64x_pkg is
-- Not used, but for completness.
subtype
t_xam_vec
is
std_logic_vector
(
7
downto
0
);
constant
c_AM_A32_2EVME
:
t_xam_vec
:
=
"00000001"
;
-- 0x01
constant
c_AM_A64_2EVME
:
t_xam_vec
:
=
"00000010"
;
-- 0x02
constant
c_AM_A32_2ESST
:
t_xam_vec
:
=
"00010001"
;
-- 0x11
constant
c_AM_A64_2ESST
:
t_xam_vec
:
=
"00010010"
;
-- 0x12
constant
c_
X
AM_A32_2EVME
:
t_xam_vec
:
=
"00000001"
;
-- 0x01
constant
c_
X
AM_A64_2EVME
:
t_xam_vec
:
=
"00000010"
;
-- 0x02
constant
c_
X
AM_A32_2ESST
:
t_xam_vec
:
=
"00010001"
;
-- 0x11
constant
c_
X
AM_A64_2ESST
:
t_xam_vec
:
=
"00010010"
;
-- 0x12
------------------------------------------------------------------------------
-- Types
...
...
hdl/rtl/vme_bus.vhd
View file @
9388296e
This diff is collapsed.
Click to expand it.
hdl/rtl/xvme64x_core.vhd
View file @
9388296e
...
...
@@ -63,6 +63,9 @@ entity xvme64x_core is
-- As a consequence, it uses a 16bit data wishbone bus.
g_VME32
:
boolean
:
=
True
;
-- If True, supports 2eSST.
g_VME_2e
:
boolean
:
=
True
;
-- Address granularity on the WB bus. Value can be:
-- WORD: VME address bits 31:2 are translated to WB address bits 29:0,
-- the WB data represents bytes for VME address bits 1:0.
...
...
@@ -237,6 +240,7 @@ architecture rtl of xvme64x_core is
constant
c_AMCAP_ALLOWED
:
std_logic_vector
(
63
downto
0
)
:
=
(
16
#
38
#
to
16
#
3
f
#
=>
'1'
,
-- A24
16
#
2
d
#
|
16
#
29
#
=>
'1'
,
-- A16
16
#
20
#
=>
f_to_std_logic
(
g_VME32
and
g_VME_2e
),
16
#
08
#
to
16
#
0
f
#
=>
f_to_std_logic
(
g_VME32
),
-- A32
others
=>
'0'
);
begin
...
...
@@ -320,6 +324,7 @@ begin
generic
map
(
g_CLOCK_PERIOD
=>
g_CLOCK_PERIOD
,
g_VME32
=>
g_VME32
,
g_VME_2E
=>
g_VME_2E
,
g_WB_GRANULARITY
=>
g_WB_GRANULARITY
,
g_WB_MODE
=>
g_WB_MODE
)
port
map
(
...
...
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