// CVS Revision History
//
// $Log: eth_defines.v,v $
-// Revision 1.2 2007-03-20 22:17:38 sithglan
+// Revision 1.3 2007-03-20 22:39:24 sithglan
+// WISHBONE B3
+//
+// Revision 1.2 2007/03/20 22:17:38 sithglan
// += use xilinx block ram for ethernet
//
// Revision 1.1 2007/03/19 16:44:04 sithglan
`define ETH_BURST_CNT_WIDTH 3 // The counter must be width enough to count to ETH_BURST_LENGTH
// WISHBONE interface is Revision B3 compliant (uncomment when needed)
-//`define ETH_WISHBONE_B3
-
+`define ETH_WISHBONE_B3
// Following defines are needed when eth_cop.v is used. Otherwise they may be deleted.
`define ETH_BASE 32'hd0000000
mdc_pad_o : OUT std_logic;
md_pad_o : OUT std_logic;
md_padoe_o : OUT std_logic;
+ m_wb_cti_o : OUT std_logic_vector(2 downto 0);
+ m_wb_bte_o : OUT std_logic_vector(1 downto 0);
int_o : OUT std_logic
);
END COMPONENT;
signal int_o : std_logic;
signal wbm_adr_o : std_logic_vector(31 downto 0);
+signal m_wb_cti_o : std_logic_vector(2 downto 0);
+signal m_wb_bte_o : std_logic_vector(1 downto 0);
+
BEGIN
PCI_RSTn <= pci_rst_o when (pci_rst_oe_o = '1') else 'Z';
wbs_cyc_i => m_wb_cyc_o,
wbs_stb_i => m_wb_stb_o,
wbs_we_i => m_wb_we_o,
- wbs_cti_i => (others => '0'),
- wbs_bte_i => (others => '0'),
+ wbs_cti_i => m_wb_cti_o,
+ wbs_bte_i => m_wb_bte_o,
wbs_ack_o => m_wb_ack_i,
-- wbs_rty_o => ,
wbs_err_o => m_wb_err_i,
md_pad_i => MD_PAD_IO,
md_pad_o => md_pad_o,
md_padoe_o => md_padoe_o,
+ m_wb_cti_o => m_wb_cti_o,
+ m_wb_bte_o => m_wb_bte_o,
int_o => int_o
);