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
d1f969c8
Commit
d1f969c8
authored
Nov 24, 2017
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvme64x_core is now the top-level entity, vme64x_core is a wrapper.
parent
22994dc6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
799 additions
and
798 deletions
+799
-798
vme64x_core.vhd
hdl/rtl/vme64x_core.vhd
+185
-581
vme64x_pkg.vhd
hdl/rtl/vme64x_pkg.vhd
+53
-110
vme_bus.vhd
hdl/rtl/vme_bus.vhd
+4
-10
xvme64x_core.vhd
hdl/rtl/xvme64x_core.vhd
+478
-56
top_tb.vhd
hdl/testbench/simple_tb/top_tb.vhd
+79
-41
No files found.
hdl/rtl/vme64x_core.vhd
View file @
d1f969c8
This diff is collapsed.
Click to expand it.
hdl/rtl/vme64x_pkg.vhd
View file @
d1f969c8
This diff is collapsed.
Click to expand it.
hdl/rtl/vme_bus.vhd
View file @
d1f969c8
...
@@ -69,9 +69,7 @@ use work.vme64x_pkg.all;
...
@@ -69,9 +69,7 @@ use work.vme64x_pkg.all;
entity
vme_bus
is
entity
vme_bus
is
generic
(
generic
(
g_CLOCK_PERIOD
:
integer
;
g_CLOCK_PERIOD
:
integer
g_WB_DATA_WIDTH
:
integer
;
g_WB_ADDR_WIDTH
:
integer
);
);
port
(
port
(
clk_i
:
in
std_logic
;
clk_i
:
in
std_logic
;
...
@@ -104,9 +102,9 @@ entity vme_bus is
...
@@ -104,9 +102,9 @@ entity vme_bus is
-- WB signals
-- WB signals
stb_o
:
out
std_logic
;
stb_o
:
out
std_logic
;
ack_i
:
in
std_logic
;
ack_i
:
in
std_logic
;
dat_o
:
out
std_logic_vector
(
g_WB_DATA_WIDTH
-
1
downto
0
);
dat_o
:
out
std_logic_vector
(
3
1
downto
0
);
dat_i
:
in
std_logic_vector
(
g_WB_DATA_WIDTH
-
1
downto
0
);
dat_i
:
in
std_logic_vector
(
3
1
downto
0
);
adr_o
:
out
std_logic_vector
(
g_WB_ADDR_WIDTH
-
1
downto
0
);
adr_o
:
out
std_logic_vector
(
3
1
downto
0
);
sel_o
:
out
std_logic_vector
(
3
downto
0
);
sel_o
:
out
std_logic_vector
(
3
downto
0
);
we_o
:
out
std_logic
;
we_o
:
out
std_logic
;
cyc_o
:
out
std_logic
;
cyc_o
:
out
std_logic
;
...
@@ -241,10 +239,6 @@ architecture rtl of vme_bus is
...
@@ -241,10 +239,6 @@ architecture rtl of vme_bus is
signal
s_DS_latch_count
:
unsigned
(
2
downto
0
);
signal
s_DS_latch_count
:
unsigned
(
2
downto
0
);
begin
begin
-- Consistency check.
assert
g_WB_DATA_WIDTH
=
32
report
"g_WB_DATA_WIDTH must be set to 32"
severity
failure
;
-- These output signals are connected to the buffers on the board
-- These output signals are connected to the buffers on the board
-- SN74VMEH22501A Function table: (A is fpga, B is VME connector)
-- SN74VMEH22501A Function table: (A is fpga, B is VME connector)
-- OEn | DIR | OUTPUT OEAB | OEBYn | OUTPUT
-- OEn | DIR | OUTPUT OEAB | OEBYn | OUTPUT
...
...
hdl/rtl/xvme64x_core.vhd
View file @
d1f969c8
This diff is collapsed.
Click to expand it.
hdl/testbench/simple_tb/top_tb.vhd
View file @
d1f969c8
This diff is collapsed.
Click to expand it.
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