Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit core collection
Commits
b7f11baf
Commit
b7f11baf
authored
May 14, 2020
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default single ended PPS_in
parent
62942faa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
9 deletions
+22
-9
spec7_write_top.vhd
top/spec7_write_design/spec7_write_top.vhd
+22
-9
No files found.
top/spec7_write_design/spec7_write_top.vhd
View file @
b7f11baf
...
...
@@ -71,7 +71,8 @@ entity spec7_write_top is
-- Simulation-mode enable parameter. Set by default (synthesis) to 0, and
-- changed to non-zero in the instantiation of the top level DUT in the testbench.
-- Its purpose is to reduce some internal counters/timeouts to speed up simulations.
g_simulation
:
integer
:
=
0
g_simulation
:
integer
:
=
0
;
g_use_pps_in_single
:
boolean
:
=
TRUE
);
port
(
---------------------------------------------------------------------------`
...
...
@@ -469,7 +470,7 @@ AXI2WB : xwb_axi4lite_bridge
-- B05, B06 125 MHz Reference Clock In (Bank 111 W6,W5)
-- B07, B08 RX Spare GTX Out (Bank 112 GTX3 T4, T3)
-- B09, B10 NC
-- B11, B12
NC
-- B11, B12
PPS_IN single ended, NC (Bank 13 AE23, )
cmp_obuf_abscal_txts
:
OBUFDS
port
map
(
...
...
@@ -483,14 +484,26 @@ AXI2WB : xwb_axi4lite_bridge
O
=>
pps_p_o
,
OB
=>
pps_n_o
);
cmp_ibuf_pps_in
:
IBUFDS
generic
map
(
DIFF_TERM
=>
true
)
port
map
(
O
=>
wrc_pps_in
,
I
=>
pps_p_i
,
IB
=>
pps_n_i
);
-- Type of PPS_IN input:
-- Differential LVDS
-- Or
-- Single ended 5V capable
gen_pps_in_single
:
if
(
g_use_pps_in_single
=
TRUE
)
generate
begin
wrc_pps_in
<=
pps_i
;
end
generate
gen_pps_in_single
;
gen_pps_in_diff
:
if
(
g_use_pps_in_single
=
FALSE
)
generate
begin
cmp_ibuf_pps_in
:
IBUFDS
generic
map
(
DIFF_TERM
=>
true
)
port
map
(
O
=>
wrc_pps_in
,
I
=>
pps_p_i
,
IB
=>
pps_n_i
);
end
generate
gen_pps_in_diff
;
cmp_obuf_10mhz_out
:
OBUFDS
port
map
(
I
=>
clk_10m_out
,
...
...
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