aboutsummaryrefslogtreecommitdiffstats
path: root/simple_gemac/ll8_shortfifo.v
diff options
context:
space:
mode:
authormatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-02 06:33:16 +0000
committermatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-02 06:33:16 +0000
commitdca0d04278c24301fede72e9ad2b1d6154bfc029 (patch)
tree9ecc64de35c59c2bce9c491a2a7c3e0f660d0153 /simple_gemac/ll8_shortfifo.v
parentb7be986ad6825a60686df7f697706205ba839cb8 (diff)
downloaduhd-dca0d04278c24301fede72e9ad2b1d6154bfc029.tar.gz
uhd-dca0d04278c24301fede72e9ad2b1d6154bfc029.tar.bz2
uhd-dca0d04278c24301fede72e9ad2b1d6154bfc029.zip
logic to interface locallink fifos to our mac
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10739 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'simple_gemac/ll8_shortfifo.v')
-rw-r--r--simple_gemac/ll8_shortfifo.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/simple_gemac/ll8_shortfifo.v b/simple_gemac/ll8_shortfifo.v
new file mode 100644
index 000000000..39ada9a4f
--- /dev/null
+++ b/simple_gemac/ll8_shortfifo.v
@@ -0,0 +1,13 @@
+
+
+module ll8_shortfifo
+ (input clk, input reset, input clear,
+ input [7:0] datain, input sof_i, input eof_i, input error_i, input src_rdy_i, output dst_rdy_o,
+ output [7:0] dataout, output sof_o, output eof_o, output error_o, output src_rdy_o, input dst_rdy_i);
+
+ fifo_short #(.WIDTH(11)) fifo_short
+ (.clk(clk), .reset(reset), .clear(clear),
+ .datain({error_i,eof_i,sof_i,datain}), .src_rdy_i(src_rdy_i), .dst_rdy_o(dst_rdy_o),
+ .dataout({error_o,eof_o,sof_o,dataout}), .src_rdy_o(src_rdy_o), .dst_rdy_i(dst_rdy_i));
+
+endmodule // ll8_shortfifo