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
6d856945
Commit
6d856945
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added missing *_top.vhd file.
parent
c2e5a43b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/technology/ip_arria10/mac_10g/ip_arria10_mac_10g_top.vhd
+126
-0
126 additions, 0 deletions
.../technology/ip_arria10/mac_10g/ip_arria10_mac_10g_top.vhd
with
126 additions
and
0 deletions
libraries/technology/ip_arria10/mac_10g/ip_arria10_mac_10g_top.vhd
0 → 100644
+
126
−
0
View file @
6d856945
-------------------------------------------------------------------------------
--
-- Copyright (C) 2014
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-------------------------------------------------------------------------------
-- Purpose: Wrapper for generated ip_arria10_mac_10g.vhd
-- Description:
-- This wrapper avoids the need to vmap the ip_arria10_mac_10g_alt_em10g32_140 library
-- in the technology independent library that instantiate this IP.
-- Remarks:
-- . Manually created from generated ip_arria10_mac_10g.vhd.
library
IEEE
;
use
IEEE
.
std_logic_1164
.
all
;
library
ip_arria10_mac_10g_alt_em10g32_140
;
entity
ip_arria10_mac_10g_top
is
port
(
csr_read
:
in
std_logic
:
=
'0'
;
-- csr.read
csr_write
:
in
std_logic
:
=
'0'
;
-- .write
csr_writedata
:
in
std_logic_vector
(
31
downto
0
)
:
=
(
others
=>
'0'
);
-- .writedata
csr_readdata
:
out
std_logic_vector
(
31
downto
0
);
-- .readdata
csr_waitrequest
:
out
std_logic
;
-- .waitrequest
csr_address
:
in
std_logic_vector
(
12
downto
0
)
:
=
(
others
=>
'0'
);
-- .address
tx_312_5_clk
:
in
std_logic
:
=
'0'
;
-- tx_312_5_clk.clk
tx_156_25_clk
:
in
std_logic
:
=
'0'
;
-- tx_156_25_clk.clk
rx_312_5_clk
:
in
std_logic
:
=
'0'
;
-- rx_312_5_clk.clk
rx_156_25_clk
:
in
std_logic
:
=
'0'
;
-- rx_156_25_clk.clk
csr_clk
:
in
std_logic
:
=
'0'
;
-- csr_clk.clk
csr_rst_n
:
in
std_logic
:
=
'0'
;
-- csr_rst_n.reset_n
tx_rst_n
:
in
std_logic
:
=
'0'
;
-- tx_rst_n.reset_n
rx_rst_n
:
in
std_logic
:
=
'0'
;
-- rx_rst_n.reset_n
avalon_st_tx_startofpacket
:
in
std_logic
:
=
'0'
;
-- avalon_st_tx.startofpacket
avalon_st_tx_endofpacket
:
in
std_logic
:
=
'0'
;
-- .endofpacket
avalon_st_tx_valid
:
in
std_logic
:
=
'0'
;
-- .valid
avalon_st_tx_data
:
in
std_logic_vector
(
63
downto
0
)
:
=
(
others
=>
'0'
);
-- .data
avalon_st_tx_empty
:
in
std_logic_vector
(
2
downto
0
)
:
=
(
others
=>
'0'
);
-- .empty
avalon_st_tx_error
:
in
std_logic
:
=
'0'
;
-- .error
avalon_st_tx_ready
:
out
std_logic
;
-- .ready
avalon_st_pause_data
:
in
std_logic_vector
(
1
downto
0
)
:
=
(
others
=>
'0'
);
-- avalon_st_pause.data
xgmii_tx
:
out
std_logic_vector
(
71
downto
0
);
-- xgmii_tx.data
avalon_st_txstatus_valid
:
out
std_logic
;
-- avalon_st_txstatus.valid
avalon_st_txstatus_data
:
out
std_logic_vector
(
39
downto
0
);
-- .data
avalon_st_txstatus_error
:
out
std_logic_vector
(
6
downto
0
);
-- .error
xgmii_rx
:
in
std_logic_vector
(
71
downto
0
)
:
=
(
others
=>
'0'
);
-- xgmii_rx.data
link_fault_status_xgmii_rx_data
:
out
std_logic_vector
(
1
downto
0
);
-- link_fault_status_xgmii_rx.data
avalon_st_rx_data
:
out
std_logic_vector
(
63
downto
0
);
-- avalon_st_rx.data
avalon_st_rx_startofpacket
:
out
std_logic
;
-- .startofpacket
avalon_st_rx_valid
:
out
std_logic
;
-- .valid
avalon_st_rx_empty
:
out
std_logic_vector
(
2
downto
0
);
-- .empty
avalon_st_rx_error
:
out
std_logic_vector
(
5
downto
0
);
-- .error
avalon_st_rx_ready
:
in
std_logic
:
=
'0'
;
-- .ready
avalon_st_rx_endofpacket
:
out
std_logic
;
-- .endofpacket
avalon_st_rxstatus_valid
:
out
std_logic
;
-- avalon_st_rxstatus.valid
avalon_st_rxstatus_data
:
out
std_logic_vector
(
39
downto
0
);
-- .data
avalon_st_rxstatus_error
:
out
std_logic_vector
(
6
downto
0
);
-- .error
unidirectional_en
:
out
std_logic
;
-- unidirectional.en
unidirectional_remote_fault_dis
:
out
std_logic
-- .remote_fault_dis
);
end
ip_arria10_mac_10g_top
;
architecture
str
of
ip_arria10_mac_10g_top
is
begin
u_ip_arria10_mac_10g
:
entity
ip_arria10_mac_10g_alt_em10g32_140
.
ip_arria10_mac_10g
port
map
(
csr_read
=>
csr_read
,
-- csr.read
csr_write
=>
csr_write
,
-- .write
csr_writedata
=>
csr_writedata
,
-- .writedata
csr_readdata
=>
csr_readdata
,
-- .readdata
csr_waitrequest
=>
csr_waitrequest
,
-- .waitrequest
csr_address
=>
csr_address
,
-- .address
tx_312_5_clk
=>
tx_312_5_clk
,
-- tx_312_5_clk.clk
tx_156_25_clk
=>
tx_156_25_clk
,
-- tx_156_25_clk.clk
rx_312_5_clk
=>
rx_312_5_clk
,
-- rx_312_5_clk.clk
rx_156_25_clk
=>
rx_156_25_clk
,
-- rx_156_25_clk.clk
csr_clk
=>
csr_clk
,
-- csr_clk.clk
csr_rst_n
=>
csr_rst_n
,
-- csr_rst_n.reset_n
tx_rst_n
=>
tx_rst_n
,
-- tx_rst_n.reset_n
rx_rst_n
=>
rx_rst_n
,
-- rx_rst_n.reset_n
avalon_st_tx_startofpacket
=>
avalon_st_tx_startofpacket
,
-- avalon_st_tx.startofpacket
avalon_st_tx_endofpacket
=>
avalon_st_tx_endofpacket
,
-- .endofpacket
avalon_st_tx_valid
=>
avalon_st_tx_valid
,
-- .valid
avalon_st_tx_data
=>
avalon_st_tx_data
,
-- .data
avalon_st_tx_empty
=>
avalon_st_tx_empty
,
-- .empty
avalon_st_tx_error
=>
avalon_st_tx_error
,
-- .error
avalon_st_tx_ready
=>
avalon_st_tx_ready
,
-- .ready
avalon_st_pause_data
=>
avalon_st_pause_data
,
-- avalon_st_pause.data
xgmii_tx
=>
xgmii_tx
,
-- xgmii_tx.data
avalon_st_txstatus_valid
=>
avalon_st_txstatus_valid
,
-- avalon_st_txstatus.valid
avalon_st_txstatus_data
=>
avalon_st_txstatus_data
,
-- .data
avalon_st_txstatus_error
=>
avalon_st_txstatus_error
,
-- .error
xgmii_rx
=>
xgmii_rx
,
-- xgmii_rx.data
link_fault_status_xgmii_rx_data
=>
link_fault_status_xgmii_rx_data
,
-- link_fault_status_xgmii_rx.data
avalon_st_rx_data
=>
avalon_st_rx_data
,
-- avalon_st_rx.data
avalon_st_rx_startofpacket
=>
avalon_st_rx_startofpacket
,
-- .startofpacket
avalon_st_rx_valid
=>
avalon_st_rx_valid
,
-- .valid
avalon_st_rx_empty
=>
avalon_st_rx_empty
,
-- .empty
avalon_st_rx_error
=>
avalon_st_rx_error
,
-- .error
avalon_st_rx_ready
=>
avalon_st_rx_ready
,
-- .ready
avalon_st_rx_endofpacket
=>
avalon_st_rx_endofpacket
,
-- .endofpacket
avalon_st_rxstatus_valid
=>
avalon_st_rxstatus_valid
,
-- avalon_st_rxstatus.valid
avalon_st_rxstatus_data
=>
avalon_st_rxstatus_data
,
-- .data
avalon_st_rxstatus_error
=>
avalon_st_rxstatus_error
,
-- .error
unidirectional_en
=>
unidirectional_en
,
-- unidirectional.en
unidirectional_remote_fault_dis
=>
unidirectional_remote_fault_dis
-- .remote_fault_dis
);
end
str
;
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