diff options
author | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-03-31 18:03:20 +0000 |
---|---|---|
committer | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-03-31 18:03:20 +0000 |
commit | 1d42a9f3b19b5a506bf1b16cc5079ddf6f842213 (patch) | |
tree | 6f4372579c1853f29ad493b4773f579796edebb0 /simple_gemac/simple_gemac.v | |
parent | 541facc9474da424ad8e36e407a2a55301c52b77 (diff) | |
download | uhd-1d42a9f3b19b5a506bf1b16cc5079ddf6f842213.tar.gz uhd-1d42a9f3b19b5a506bf1b16cc5079ddf6f842213.tar.bz2 uhd-1d42a9f3b19b5a506bf1b16cc5079ddf6f842213.zip |
we now inhibit our own sending when a received pause frame comes. _rx.v is currently only a skeleton for testing pause
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10721 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'simple_gemac/simple_gemac.v')
-rw-r--r-- | simple_gemac/simple_gemac.v | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/simple_gemac/simple_gemac.v b/simple_gemac/simple_gemac.v index 0769fe615..e6f9c982a 100644 --- a/simple_gemac/simple_gemac.v +++ b/simple_gemac/simple_gemac.v @@ -31,24 +31,24 @@ module simple_gemac .tx_clk(tx_clk), .tx_data(tx_data), .tx_valid(tx_valid), .tx_error(tx_error), .tx_ack(tx_ack), .ifg(SGE_IFG), .mac_addr(48'hF1_F2_F3_F4_F5_F6), .pause_req(pause_req), .pause_time(pause_time), // We request flow control - .pause_apply(pause_apply), .pause_applied(pause_applied) // We respect flow control + .pause_apply(pause_apply), .paused(paused) // We respect flow control ); -/* + simple_gemac_rx simple_gemac_rx (.reset(rst_rxclk), .GMII_RX_CLK(GMII_RX_CLK), .GMII_RX_DV(GMII_RX_DV), .GMII_RX_ER(GMII_RX_ER), .GMII_RXD(GMII_RXD), .rx_clk(rx_clk), .rx_data(rx_data), .rx_valid(rx_valid), .rx_error(rx_error), .rx_ack(rx_ack), - .pause_quanta_rcvd(pause_qanta_rcvd), .pause_rcvd(pause_rcvd) + .pause_quanta_rcvd(pause_quanta_rcvd), .pause_rcvd(pause_rcvd) ); - */ + flow_ctrl_tx flow_ctrl_tx - (.rst(reset_txclk), .tx_clk(tx_clk), + (.rst(rst_txclk), .tx_clk(tx_clk), .tx_pause_en(SGE_RESPECT_FLOW_CTRL), .pause_quanta(pause_quanta_rcvd), // 16 bit value .pause_quanta_val(pause_rcvd), .pause_apply(pause_apply), - .pause_quanta_sub(pause_applied) + .paused(paused) ); |