Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
0c09461f
Commit
0c09461f
authored
10 years ago
by
Pepping
Browse files
Options
Downloads
Patches
Plain Diff
- Updated the port map and added SA_CLK
parent
2ab7f59e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/apertif/designs/apertif_unb1_correlator/tb/vhdl/tb_apertif_unb1_correlator.vhd
+15
-1
15 additions, 1 deletion
...if_unb1_correlator/tb/vhdl/tb_apertif_unb1_correlator.vhd
with
15 additions
and
1 deletion
applications/apertif/designs/apertif_unb1_correlator/tb/vhdl/tb_apertif_unb1_correlator.vhd
+
15
−
1
View file @
0c09461f
...
...
@@ -47,13 +47,16 @@ ARCHITECTURE tb OF tb_apertif_unb1_correlator IS
CONSTANT
c_cable_delay
:
TIME
:
=
12
ns
;
CONSTANT
c_eth_clk_period
:
TIME
:
=
40
ns
;
-- 25 MHz XO on UniBoard
CONSTANT
c_sa_clk_period
:
TIME
:
=
6
.
4
ns
;
CONSTANT
c_clk_period
:
TIME
:
=
5
ns
;
CONSTANT
c_pps_period
:
NATURAL
:
=
1000
;
-- DUT
SIGNAL
clk
:
STD_LOGIC
:
=
'0'
;
SIGNAL
pps
:
STD_LOGIC
:
=
'0'
;
SIGNAL
pps_rst
:
STD_LOGIC
:
=
'0'
;
SIGNAL
sa_clk
:
STD_LOGIC
:
=
'1'
;
SIGNAL
WDI
:
STD_LOGIC
;
SIGNAL
INTA
:
STD_LOGIC
;
...
...
@@ -69,6 +72,7 @@ ARCHITECTURE tb OF tb_apertif_unb1_correlator IS
SIGNAL
sens_scl
:
STD_LOGIC
;
SIGNAL
sens_sda
:
STD_LOGIC
;
SIGNAL
si_fn_0_tx
:
STD_LOGIC_VECTOR
(
c_unb1_board_ci
.
tr
.
bus_w
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
BEGIN
...
...
@@ -77,6 +81,7 @@ BEGIN
----------------------------------------------------------------------------
clk
<=
NOT
clk
AFTER
c_clk_period
/
2
;
-- External clock (200 MHz)
eth_clk
<=
NOT
eth_clk
AFTER
c_eth_clk_period
/
2
;
-- Ethernet ref clock (25 MHz)
sa_clk
<=
NOT
sa_clk
AFTER
c_sa_clk_period
/
2
;
INTA
<=
'H'
;
-- pull up
INTB
<=
'H'
;
-- pull up
...
...
@@ -117,7 +122,16 @@ BEGIN
-- 1GbE Control Interface
ETH_clk
=>
eth_clk
,
ETH_SGIN
=>
eth_rxp
,
ETH_SGOUT
=>
eth_txp
ETH_SGOUT
=>
eth_txp
,
-- Transceiver clocks
SA_CLK
=>
sa_clk
,
-- : IN STD_LOGIC; -- SerDes Clock BN-BI / SI_FN
-- Serial I/O
SI_FN_0_RX
=>
si_fn_0_tx
,
-- : IN STD_LOGIC_VECTOR(c_unb1_board_ci.tr.bus_w-1 DOWNTO 0);
SI_FN_1_RX
=>
si_fn_0_tx
,
-- : IN STD_LOGIC_VECTOR(c_unb1_board_ci.tr.bus_w-1 DOWNTO 0);
SI_FN_2_RX
=>
si_fn_0_tx
,
-- : IN STD_LOGIC_VECTOR(c_unb1_board_ci.tr.bus_w-1 DOWNTO 0);
SI_FN_3_RX
=>
si_fn_0_tx
-- : IN STD_LOGIC_VECTOR(c_unb1_board_ci.tr.bus_w-1 DOWNTO 0);
);
END
tb
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment