📄 ethernet_mac.inc
字号:
--Copyright (C) 1991-2002 Altera Corporation
--Any megafunction design, and related netlist (encrypted or decrypted),
--support information, device programming or simulation file, and any other
--associated documentation or information provided by Altera or a partner
--under Altera's Megafunction Partnership Program may be used only
--to program PLD devices (but not masked PLD devices) from Altera. Any
--other use of such megafunction design, netlist, support information,
--device programming or simulation file, or any other related documentation
--or information is prohibited for any other purpose, including, but not
--limited to modification, reverse engineering, de-compiling, or use with
--any other silicon devices, unless such use is explicitly licensed under
--a separate agreement with Altera or a megafunction partner. Title to the
--intellectual property, including patents, copyrights, trademarks, trade
--secrets, or maskworks, embodied in any such megafunction design, netlist,
--support information, device programming or simulation file, or any other
--related documentation or information provided by Altera or a megafunction
--partner, remains with Altera, the megafunction partner, or their respective
--licensors. No other licenses, including any licenses needed under any third
--party's intellectual property, are provided herein.
FUNCTION ethernet_mac
(
ahb_hclk,
ahb_hreset_n,
ahb_clkdiv[1..0],
ahb_bigendian,
ahb_m_hgrant,
ahb_m_hrdata[31..0],
ahb_m_hready,
ahb_m_hresp[1..0],
ahb_s_hsel,
ahb_s_haddr[9..0],
ahb_s_hwdata[31..0],
ahb_s_htrans[1..0],
ahb_s_hwrite,
ahb_s_hsize[2..0],
ahb_s_hburst[2..0],
ahb_s_hready_in,
mii_txcol,
mii_txclk,
mii_rxcrs,
mii_rxclk,
mii_rxd[3..0],
mii_rxdv,
mii_rxer,
mii_conn,
mii_fd_n,
mii_100m_n,
mii_link_n,
prom_di,
cam_hit_n
)
RETURNS (
ahb_hirq,
ahb_m_hbusreq,
ahb_m_hlock,
ahb_m_haddr[31..0],
ahb_m_hwdata[31..0],
ahb_m_htrans[1..0],
ahb_m_hwrite,
ahb_m_hsize[2..0],
ahb_m_hburst[2..0],
ahb_s_hrdata[31..0],
ahb_s_hready,
ahb_s_hresp[1..0],
mii_txd[3..0],
mii_txen,
mii_txer,
mii_mdclk,
mii_mdio,
prom_do,
prom_clk,
prom_cs,
cam_load
);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -