aboutsummaryrefslogtreecommitdiffstats
path: root/simple_gemac/simple_gemac_tb.v
diff options
context:
space:
mode:
authormatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-04 01:17:04 +0000
committermatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-04 01:17:04 +0000
commit2578e827f5e3f7436ac4904edceb19e1b53e1b45 (patch)
tree3d56510f1869b6c541ce366196d8548faa5b0e2b /simple_gemac/simple_gemac_tb.v
parent5b94a4294fed05dbd338f8484af06f8cc2151ac3 (diff)
downloaduhd-2578e827f5e3f7436ac4904edceb19e1b53e1b45.tar.gz
uhd-2578e827f5e3f7436ac4904edceb19e1b53e1b45.tar.bz2
uhd-2578e827f5e3f7436ac4904edceb19e1b53e1b45.zip
first cut at a wishbone interface and wrapping the core
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10762 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'simple_gemac/simple_gemac_tb.v')
-rw-r--r--simple_gemac/simple_gemac_tb.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/simple_gemac/simple_gemac_tb.v b/simple_gemac/simple_gemac_tb.v
index cd2db01b5..6091751a7 100644
--- a/simple_gemac/simple_gemac_tb.v
+++ b/simple_gemac/simple_gemac_tb.v
@@ -29,6 +29,10 @@ module simple_gemac_tb;
assign GMII_RX_DV = GMII_TX_EN;
assign GMII_RX_ER = GMII_TX_ER | FORCE_ERR;
assign GMII_RXD = GMII_TXD ^ FORCE_DAT_ERR;
+
+ wire [47:0] ucast_addr = 48'hF1F2_F3F4_F5F6;
+ wire [47:0] mcast_addr = 0;
+ wire pass_ucast =1, pass_mcast=0, pass_bcast=1, pass_pause=0, pass_all=0;
simple_gemac simple_gemac
(.clk125(clk), .reset(reset),
@@ -37,6 +41,9 @@ module simple_gemac_tb;
.GMII_RX_CLK(GMII_RX_CLK), .GMII_RX_DV(GMII_RX_DV),
.GMII_RX_ER(GMII_RX_ER), .GMII_RXD(GMII_RXD),
.pause_req(pause_req), .pause_time(pause_time), .pause_en(1),
+ .ucast_addr(ucast_addr), .mcast_addr(mcast_addr),
+ .pass_ucast(pass_ucast), .pass_mcast(pass_mcast), .pass_bcast(pass_bcast),
+ .pass_pause(pass_pause), .pass_all(pass_all),
.rx_clk(rx_clk), .rx_data(rx_data),
.rx_valid(rx_valid), .rx_error(rx_error), .rx_ack(rx_ack),
.tx_clk(tx_clk), .tx_data(tx_data),