diff options
author | Johnathan Corgan | 2009-08-31 12:08:30 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-08-31 12:08:30 -0700 |
commit | 7eea883c377f64862a4d83f1b33a83fdf3cfc392 (patch) | |
tree | 2c4b4d32c28e331cea42b16e001e89a74eb3b3e2 /usrp2/fpga/simple_gemac/rxmac_to_ll8.v | |
parent | 1aa216df204197b4849581dd4f42b2e7680eb72f (diff) | |
download | gnuradio-7eea883c377f64862a4d83f1b33a83fdf3cfc392.tar.gz gnuradio-7eea883c377f64862a4d83f1b33a83fdf3cfc392.tar.bz2 gnuradio-7eea883c377f64862a4d83f1b33a83fdf3cfc392.zip |
Merged SVN matt/new_eth r10782:11633 into new_eth
* svn diff http://gnuradio.org/svn/branches/developers/matt/new_eth
-r10782:11633
* Patch applied with no conflicts or fuzz.
Diffstat (limited to 'usrp2/fpga/simple_gemac/rxmac_to_ll8.v')
-rw-r--r-- | usrp2/fpga/simple_gemac/rxmac_to_ll8.v | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usrp2/fpga/simple_gemac/rxmac_to_ll8.v b/usrp2/fpga/simple_gemac/rxmac_to_ll8.v index d4015716e..5ec233d95 100644 --- a/usrp2/fpga/simple_gemac/rxmac_to_ll8.v +++ b/usrp2/fpga/simple_gemac/rxmac_to_ll8.v @@ -6,6 +6,13 @@ module rxmac_to_ll8 reg [2:0] xfer_state; + localparam XFER_IDLE = 0; + localparam XFER_ACTIVE = 1; + localparam XFER_ERROR = 2; + localparam XFER_ERROR2 = 3; + localparam XFER_OVERRUN = 4; + localparam XFER_OVERRUN2 = 5; + assign ll_data = rx_data; assign ll_src_rdy = ((rx_valid & (xfer_state != XFER_OVERRUN2) ) | (xfer_state == XFER_ERROR) @@ -14,13 +21,6 @@ module rxmac_to_ll8 assign ll_eof = (rx_ack | (xfer_state==XFER_ERROR) | (xfer_state==XFER_OVERRUN)); assign ll_error = (xfer_state == XFER_ERROR)|(xfer_state==XFER_OVERRUN); - localparam XFER_IDLE = 0; - localparam XFER_ACTIVE = 1; - localparam XFER_ERROR = 2; - localparam XFER_ERROR2 = 3; - localparam XFER_OVERRUN = 4; - localparam XFER_OVERRUN2 = 5; - always @(posedge clk) if(reset | clear) xfer_state <= XFER_IDLE; |