aboutsummaryrefslogtreecommitdiffstats
path: root/opencores/sd_interface/RTL/spiTxRxData.v
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2009-10-01 11:00:25 -0700
committerJohnathan Corgan <jcorgan@corganenterprises.com>2009-10-01 11:07:59 -0700
commit1ff74777e47f3a2edefc5154484f2bdcb86c1a13 (patch)
tree04f94ef4f7f06a210f7532592829332c7f2621f0 /opencores/sd_interface/RTL/spiTxRxData.v
parent7b8f65256b5ea300187ebb6a359df2fa707a295d (diff)
parent42fc55415af499980901c7787f44c7e74b4a9ce1 (diff)
downloaduhd-1ff74777e47f3a2edefc5154484f2bdcb86c1a13.tar.gz
uhd-1ff74777e47f3a2edefc5154484f2bdcb86c1a13.tar.bz2
uhd-1ff74777e47f3a2edefc5154484f2bdcb86c1a13.zip
Merge branch 'new_eth' of http://gnuradio.org/git/matt into master
* 'new_eth' of http://gnuradio.org/git/matt: (42 commits) Fix warnings, mostly from implicitly defined wires or unspecified widths fullchip sim now compiles again, after moving eth and models over to new simple_gemac remove unused opencores remove debugging code no idea where this came from, it shouldn't be here Copied wb_1master back from quad radio Remove old mac. Good riddance. remove unused port More xilinx fifos, more clean up of our fifos might as well use a cascade fifo to help timing and give a little more capacity fix a typo which caused tx glitches Untested fixes for getting serdes onto the new fifo system. Compiles, at least Implement Eth flow control using pause frames parameterized fifo sizes, some reformatting remove unused old style fifo allow control of whether or not to honor flow control, adds some debug lines debug the rx side no longer used, replaced by newfifo version remove special last_line adjustment from ethernet port Firmware now inserts mac source address value in each frame. ...
Diffstat (limited to 'opencores/sd_interface/RTL/spiTxRxData.v')
-rw-r--r--opencores/sd_interface/RTL/spiTxRxData.v108
1 files changed, 0 insertions, 108 deletions
diff --git a/opencores/sd_interface/RTL/spiTxRxData.v b/opencores/sd_interface/RTL/spiTxRxData.v
deleted file mode 100644
index 2b5870c2f..000000000
--- a/opencores/sd_interface/RTL/spiTxRxData.v
+++ /dev/null
@@ -1,108 +0,0 @@
-`include "timescale.v"
-
-module spiTxRxData (
- clk,
- rst,
-
- tx1DataIn,
- tx2DataIn,
- tx3DataIn,
- tx4DataIn,
- tx1DataWEn,
- tx2DataWEn,
- tx3DataWEn,
- tx4DataWEn,
-
- txDataOut,
- txDataFull,
- txDataFullClr,
-
- rx1DataRdyClr,
- rx2DataRdyClr,
- rx3DataRdyClr,
- rx4DataRdyClr,
-
- rxDataIn,
- rxDataOut,
- rxDataRdy,
- rxDataRdySet
-);
-
-input clk;
-input rst;
-
-input [7:0] tx1DataIn;
-input [7:0] tx2DataIn;
-input [7:0] tx3DataIn;
-input [7:0] tx4DataIn;
-input tx1DataWEn;
-input tx2DataWEn;
-input tx3DataWEn;
-input tx4DataWEn;
-
-output [7:0] txDataOut;
-reg [7:0] txDataOut;
-output txDataFull;
-reg txDataFull;
-input txDataFullClr;
-
-input rx1DataRdyClr;
-input rx2DataRdyClr;
-input rx3DataRdyClr;
-input rx4DataRdyClr;
-
-input [7:0] rxDataIn;
-output [7:0] rxDataOut;
-reg [7:0] rxDataOut;
-output rxDataRdy;
-reg rxDataRdy;
-input rxDataRdySet;
-
-
-// --- Transmit control
-always @(posedge clk) begin
- if (rst == 1'b1) begin
- txDataOut <= 8'h00;
- txDataFull <= 1'b0;
- end
- else begin
- if (tx1DataWEn == 1'b1) begin
- txDataOut <= tx1DataIn;
- txDataFull <= 1'b1;
- end
- else if (tx2DataWEn == 1'b1) begin
- txDataOut <= tx2DataIn;
- txDataFull <= 1'b1;
- end
- else if (tx3DataWEn == 1'b1) begin
- txDataOut <= tx3DataIn;
- txDataFull <= 1'b1;
- end
- else if (tx4DataWEn == 1'b1) begin
- txDataOut <= tx4DataIn;
- txDataFull <= 1'b1;
- end
- if (txDataFullClr == 1'b1)
- txDataFull <= 1'b0;
- end
-end
-
-// --- Receive control
-always @(posedge clk) begin
- if (rst == 1'b1) begin
- rxDataOut <= 8'h00;
- rxDataRdy <= 1'b0;
- end
- else begin
- if (rx1DataRdyClr == 1'b1 || rx2DataRdyClr == 1'b1 || rx3DataRdyClr == 1'b1 || rx4DataRdyClr == 1'b1) begin
- rxDataRdy <= 1'b0;
- end
- if (rxDataRdySet == 1'b1) begin
- rxDataRdy <= 1'b1;
- rxDataOut <= rxDataIn;
- end
- end
-end
-
-endmodule
-