Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
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
Simple VME FMC Carrier SVEC
Commits
bcf5473e
Commit
bcf5473e
authored
Aug 22, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svec template: fix interrupt wiring.
parent
d8f4adcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
svec_template_wr.vhd
hdl/rtl/svec_template_wr.vhd
+5
-6
No files found.
hdl/rtl/svec_template_wr.vhd
View file @
bcf5473e
...
...
@@ -380,7 +380,6 @@ architecture top of svec_template_wr is
signal
vme_ga
:
std_logic_vector
(
5
downto
0
);
signal
vme_berr_n
:
std_logic
;
signal
vme_irq_n
:
std_logic_vector
(
7
downto
1
);
signal
irq_to_vme
:
std_logic
;
-- The wishbone bus to the carrier part.
signal
carrier_wb_out
:
t_wishbone_slave_out
;
...
...
@@ -502,7 +501,7 @@ begin -- architecture top
vme_o
.
addr_oe_n
=>
vme_addr_oe_n_o
,
wb_o
=>
vme_wb_out
,
wb_i
=>
vme_wb_in
,
int_i
=>
irq_
to_vme
);
int_i
=>
irq_
master
);
vme_ga
<=
vme_gap_i
&
vme_ga_i
;
vme_berr_o
<=
not
vme_berr_n
;
...
...
@@ -516,7 +515,7 @@ begin -- architecture top
vme_addr_dir_o
<=
vme_addr_dir_int
;
vme_data_dir_o
<=
vme_data_dir_int
;
-- Mini-crossbar from
gennum
to carrier and application bus.
-- Mini-crossbar from
vme
to carrier and application bus.
inst_split
:
entity
work
.
xwb_split
generic
map
(
g_mask
=>
x"ffff_e000"
...
...
@@ -538,7 +537,7 @@ begin -- architecture top
clk_i
=>
clk_sys_62m5
,
wb_cyc_i
=>
carrier_wb_in
.
cyc
,
wb_stb_i
=>
carrier_wb_in
.
stb
,
wb_adr_i
=>
carrier_wb_in
.
adr
(
12
downto
2
),
-- Bytes address from
gennum
wb_adr_i
=>
carrier_wb_in
.
adr
(
12
downto
2
),
-- Bytes address from
vme64x core
wb_sel_i
=>
carrier_wb_in
.
sel
,
wb_we_i
=>
carrier_wb_in
.
we
,
wb_dat_i
=>
carrier_wb_in
.
dat
,
...
...
@@ -613,10 +612,10 @@ begin -- architecture top
if
rising_edge
(
clk_sys_62m5
)
then
case
metadata_addr
is
when
x"0"
=>
--
Vendor ID
-- Vendor ID
metadata_data
<=
x"000010dc"
;
when
x"1"
=>
--
Device ID
-- Device ID
metadata_data
<=
x"53564543"
;
when
x"2"
=>
-- Version
...
...
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