Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
Verilog Ethernet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
haiyang3
Verilog Ethernet
Commits
9e44987f
Commit
9e44987f
authored
3 years ago
by
Alex Forencich
Browse files
Options
Downloads
Patches
Plain Diff
Reorganize PHY instances
parent
728e86c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/S10MX_DK/fpga_10g/rtl/fpga.v
+45
-42
45 additions, 42 deletions
example/S10MX_DK/fpga_10g/rtl/fpga.v
with
45 additions
and
42 deletions
example/S10MX_DK/fpga_10g/rtl/fpga.v
+
45
−
42
View file @
9e44987f
...
...
@@ -91,6 +91,8 @@ wire clk_156mhz_int;
wire
rst_156mhz_int
;
// XGMII 10G PHY
// QSFP0
assign
qsfp0_modsel_l
=
1'b0
;
assign
qsfp0_reset_l
=
1'b1
;
assign
qsfp0_lpmode
=
1'b0
;
...
...
@@ -128,43 +130,6 @@ wire qsfp0_rx_rst_4_int;
wire
[
63
:
0
]
qsfp0_rxd_4_int
;
wire
[
7
:
0
]
qsfp0_rxc_4_int
;
assign
qsfp1_modsel_l
=
1'b0
;
assign
qsfp1_reset_l
=
1'b1
;
assign
qsfp1_lpmode
=
1'b0
;
wire
qsfp1_tx_clk_1_int
;
wire
qsfp1_tx_rst_1_int
;
wire
[
63
:
0
]
qsfp1_txd_1_int
;
wire
[
7
:
0
]
qsfp1_txc_1_int
;
wire
qsfp1_rx_clk_1_int
;
wire
qsfp1_rx_rst_1_int
;
wire
[
63
:
0
]
qsfp1_rxd_1_int
;
wire
[
7
:
0
]
qsfp1_rxc_1_int
;
wire
qsfp1_tx_clk_2_int
;
wire
qsfp1_tx_rst_2_int
;
wire
[
63
:
0
]
qsfp1_txd_2_int
;
wire
[
7
:
0
]
qsfp1_txc_2_int
;
wire
qsfp1_rx_clk_2_int
;
wire
qsfp1_rx_rst_2_int
;
wire
[
63
:
0
]
qsfp1_rxd_2_int
;
wire
[
7
:
0
]
qsfp1_rxc_2_int
;
wire
qsfp1_tx_clk_3_int
;
wire
qsfp1_tx_rst_3_int
;
wire
[
63
:
0
]
qsfp1_txd_3_int
;
wire
[
7
:
0
]
qsfp1_txc_3_int
;
wire
qsfp1_rx_clk_3_int
;
wire
qsfp1_rx_rst_3_int
;
wire
[
63
:
0
]
qsfp1_rxd_3_int
;
wire
[
7
:
0
]
qsfp1_rxc_3_int
;
wire
qsfp1_tx_clk_4_int
;
wire
qsfp1_tx_rst_4_int
;
wire
[
63
:
0
]
qsfp1_txd_4_int
;
wire
[
7
:
0
]
qsfp1_txc_4_int
;
wire
qsfp1_rx_clk_4_int
;
wire
qsfp1_rx_rst_4_int
;
wire
[
63
:
0
]
qsfp1_rxd_4_int
;
wire
[
7
:
0
]
qsfp1_rxc_4_int
;
assign
clk_156mhz_int
=
qsfp0_tx_clk_1_int
;
assign
rst_156mhz_int
=
qsfp0_tx_rst_1_int
;
...
...
@@ -173,11 +138,6 @@ wire qsfp0_rx_block_lock_2;
wire
qsfp0_rx_block_lock_3
;
wire
qsfp0_rx_block_lock_4
;
wire
qsfp1_rx_block_lock_1
;
wire
qsfp1_rx_block_lock_2
;
wire
qsfp1_rx_block_lock_3
;
wire
qsfp1_rx_block_lock_4
;
eth_xcvr_phy_quad_wrapper
qsfp0_eth_xcvr_phy_quad
(
.
xcvr_ctrl_clk
(
clk_100mhz
),
.
xcvr_ctrl_rst
(
rst_100mhz
),
...
...
@@ -227,6 +187,49 @@ eth_xcvr_phy_quad_wrapper qsfp0_eth_xcvr_phy_quad (
.
phy_4_rx_high_ber
()
);
// QSFP1
assign
qsfp1_modsel_l
=
1'b0
;
assign
qsfp1_reset_l
=
1'b1
;
assign
qsfp1_lpmode
=
1'b0
;
wire
qsfp1_tx_clk_1_int
;
wire
qsfp1_tx_rst_1_int
;
wire
[
63
:
0
]
qsfp1_txd_1_int
;
wire
[
7
:
0
]
qsfp1_txc_1_int
;
wire
qsfp1_rx_clk_1_int
;
wire
qsfp1_rx_rst_1_int
;
wire
[
63
:
0
]
qsfp1_rxd_1_int
;
wire
[
7
:
0
]
qsfp1_rxc_1_int
;
wire
qsfp1_tx_clk_2_int
;
wire
qsfp1_tx_rst_2_int
;
wire
[
63
:
0
]
qsfp1_txd_2_int
;
wire
[
7
:
0
]
qsfp1_txc_2_int
;
wire
qsfp1_rx_clk_2_int
;
wire
qsfp1_rx_rst_2_int
;
wire
[
63
:
0
]
qsfp1_rxd_2_int
;
wire
[
7
:
0
]
qsfp1_rxc_2_int
;
wire
qsfp1_tx_clk_3_int
;
wire
qsfp1_tx_rst_3_int
;
wire
[
63
:
0
]
qsfp1_txd_3_int
;
wire
[
7
:
0
]
qsfp1_txc_3_int
;
wire
qsfp1_rx_clk_3_int
;
wire
qsfp1_rx_rst_3_int
;
wire
[
63
:
0
]
qsfp1_rxd_3_int
;
wire
[
7
:
0
]
qsfp1_rxc_3_int
;
wire
qsfp1_tx_clk_4_int
;
wire
qsfp1_tx_rst_4_int
;
wire
[
63
:
0
]
qsfp1_txd_4_int
;
wire
[
7
:
0
]
qsfp1_txc_4_int
;
wire
qsfp1_rx_clk_4_int
;
wire
qsfp1_rx_rst_4_int
;
wire
[
63
:
0
]
qsfp1_rxd_4_int
;
wire
[
7
:
0
]
qsfp1_rxc_4_int
;
wire
qsfp1_rx_block_lock_1
;
wire
qsfp1_rx_block_lock_2
;
wire
qsfp1_rx_block_lock_3
;
wire
qsfp1_rx_block_lock_4
;
eth_xcvr_phy_quad_wrapper
qsfp1_eth_xcvr_phy_quad
(
.
xcvr_ctrl_clk
(
clk_100mhz
),
.
xcvr_ctrl_rst
(
rst_100mhz
),
...
...
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