Skip to content
GitLab
Explore
Sign in
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
d40bcb7a
Commit
d40bcb7a
authored
7 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
Instantiate sim_tse as component so that syntheses does not see it, this
also removes the dependency of the transceiver lib
parent
40e4fb0a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/technology/tse/hdllib.cfg
+1
-1
1 addition, 1 deletion
libraries/technology/tse/hdllib.cfg
libraries/technology/tse/tech_tse.vhd
+50
-10
50 additions, 10 deletions
libraries/technology/tse/tech_tse.vhd
with
51 additions
and
11 deletions
libraries/technology/tse/hdllib.cfg
+
1
−
1
View file @
d40bcb7a
...
...
@@ -24,11 +24,11 @@ synth_files =
tech_tse_arria10.vhd
tech_tse_arria10_e3sge3.vhd
tech_tse_arria10_e1sg.vhd
sim_tse.vhd
tech_tse.vhd
tb_tech_tse_pkg.vhd
test_bench_files
=
sim_tse.vhd
tb_tech_tse_pkg.vhd
tb_tech_tse.vhd
...
...
This diff is collapsed.
Click to expand it.
libraries/technology/tse/tech_tse.vhd
+
50
−
10
View file @
d40bcb7a
...
...
@@ -81,6 +81,46 @@ ARCHITECTURE str OF tech_tse IS
CONSTANT
c_use_technology
:
BOOLEAN
:
=
g_sim
=
FALSE
OR
g_sim_level
=
0
;
CONSTANT
c_use_sim_model
:
BOOLEAN
:
=
NOT
c_use_technology
;
COMPONENT
sim_tse
IS
GENERIC
(
g_tx
:
BOOLEAN
;
g_rx
:
BOOLEAN
);
PORT
(
-- Clocks and reset
mm_rst
:
IN
STD_LOGIC
;
-- unused
mm_clk
:
IN
STD_LOGIC
;
-- unused
eth_clk
:
IN
STD_LOGIC
;
-- 125 MHz
tx_snk_clk
:
IN
STD_LOGIC
;
-- DP
rx_src_clk
:
IN
STD_LOGIC
;
-- DP
-- Memory Mapped Slave
mm_sla_in
:
IN
t_mem_mosi
;
mm_sla_out
:
OUT
t_mem_miso
;
-- MAC transmit interface
-- . ST sink
tx_snk_in
:
IN
t_dp_sosi
;
tx_snk_out
:
OUT
t_dp_siso
;
-- . MAC specific
tx_mac_in
:
IN
t_tech_tse_tx_mac
;
tx_mac_out
:
OUT
t_tech_tse_tx_mac
;
-- MAC receive interface
-- . ST Source
rx_src_in
:
IN
t_dp_siso
;
rx_src_out
:
OUT
t_dp_sosi
;
-- . MAC specific
rx_mac_out
:
OUT
t_tech_tse_rx_mac
;
-- PHY interface
eth_txp
:
OUT
STD_LOGIC
;
eth_rxp
:
IN
STD_LOGIC
;
tse_led
:
OUT
t_tech_tse_led
);
END
COMPONENT
;
BEGIN
gen_ip_stratixiv
:
IF
c_use_technology
=
TRUE
AND
g_technology
=
c_tech_stratixiv
GENERATE
...
...
@@ -137,16 +177,16 @@ BEGIN
END
GENERATE
;
gen_sim_tse
:
IF
c_use_sim_model
=
TRUE
GENERATE
--
u_sim_tse :
ENTITY work.
sim_tse
--
GENERIC MAP (g_sim_tx, g_sim_rx)
--
PORT MAP (mm_rst, mm_clk, eth_clk, tx_snk_clk, rx_src_clk,
--
mm_sla_in, mm_sla_out,
--
tx_snk_in, tx_snk_out,
--
tx_mac_in, tx_mac_out,
--
rx_src_in, rx_src_out,
--
rx_mac_out,
--
eth_txp, eth_rxp,
--
tse_led);
u_sim_tse
:
sim_tse
GENERIC
MAP
(
g_sim_tx
,
g_sim_rx
)
PORT
MAP
(
mm_rst
,
mm_clk
,
eth_clk
,
tx_snk_clk
,
rx_src_clk
,
mm_sla_in
,
mm_sla_out
,
tx_snk_in
,
tx_snk_out
,
tx_mac_in
,
tx_mac_out
,
rx_src_in
,
rx_src_out
,
rx_mac_out
,
eth_txp
,
eth_rxp
,
tse_led
);
END
GENERATE
;
END
ARCHITECTURE
;
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