Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
wr2rf-vme
Commits
354da7c7
Commit
354da7c7
authored
Jun 29, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr2rf: handle noga switches.
parent
9f9358a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
wr2rf_vme.vhd
hdl/top/wr2rf_vme.vhd
+10
-1
No files found.
hdl/top/wr2rf_vme.vhd
View file @
354da7c7
...
...
@@ -70,6 +70,10 @@ entity wr2rf_vme is
vme_gap_i
:
in
std_logic
;
vme_ga_n_i
:
in
std_logic_vector
(
4
downto
0
);
-- Switches in absence of vme64x.
vme_noga_n_i
:
in
std_logic_vector
(
4
downto
0
);
switch_n
:
in
std_logic_vector
(
2
downto
0
);
-- 62.5MHz + offset clock for DDMTD.
clk_dmtd_62m5_p_i
:
in
std_logic
;
clk_dmtd_62m5_n_i
:
in
std_logic
;
...
...
@@ -291,6 +295,8 @@ architecture rtl of wr2rf_vme is
signal
vme_berr_n_o
:
std_logic
;
signal
vme_irq_n_o
:
std_logic_vector
(
7
downto
1
);
signal
vme_nogap
:
std_logic
;
signal
clk_dmtd_62m5
:
std_logic
;
signal
clk_sys_62m5
:
std_logic
;
signal
clk_sys_62m5_in
:
std_logic
;
...
...
@@ -723,7 +729,10 @@ begin
wb_i
=>
master_in
,
wb_o
=>
master_out
);
vme_ga
<=
vme_gap_i
&
vme_ga_n_i
;
-- vme core wants low level sensitivity
vme_nogap
<=
not
(
vme_noga_n_i
(
0
)
xor
vme_noga_n_i
(
1
)
xor
vme_noga_n_i
(
2
)
xor
vme_noga_n_i
(
3
)
xor
vme_noga_n_i
(
4
));
vme_ga
<=
vme_gap_i
&
vme_ga_n_i
when
switch_n
(
2
)
=
'0'
else
vme_nogap
&
vme_noga_n_i
;
-- vme core wants low level sensitivity
-- VME tri-state buffers
vme_data_b
(
15
downto
0
)
<=
vme_data_b_out
when
vme_data_dir_int
=
'1'
...
...
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