[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10729 - gnuradio/trunk/usrp2/fpga/simple_gemac
From: |
matt |
Subject: |
[Commit-gnuradio] r10729 - gnuradio/trunk/usrp2/fpga/simple_gemac |
Date: |
Tue, 31 Mar 2009 20:26:19 -0600 (MDT) |
Author: matt
Date: 2009-03-31 20:26:19 -0600 (Tue, 31 Mar 2009)
New Revision: 10729
Added:
gnuradio/trunk/usrp2/fpga/simple_gemac/delay_line.v
Log:
variable length delay line, based on srl16
Added: gnuradio/trunk/usrp2/fpga/simple_gemac/delay_line.v
===================================================================
--- gnuradio/trunk/usrp2/fpga/simple_gemac/delay_line.v
(rev 0)
+++ gnuradio/trunk/usrp2/fpga/simple_gemac/delay_line.v 2009-04-01 02:26:19 UTC
(rev 10729)
@@ -0,0 +1,21 @@
+
+
+module delay_line
+ #(parameter WIDTH=32)
+ (input clk,
+ input [3:0] delay,
+ input [WIDTH-1:0] din,
+ output [WIDTH-1:0] dout);
+
+ integer i;
+ generate
+ for (i=0;i<WIDTH;i=i+1)
+ begin : gen_delay
+ SRL16E
+ srl16e(.Q(dout[i]),
+ .A0(delay[0]),.A1(delay[1]),.A2(delay[2]),.A3(delay[3]),
+ .CE(1),.CLK(clk),.D(din[i]));
+ end
+ endgenerate
+
+endmodule // delay_line
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10729 - gnuradio/trunk/usrp2/fpga/simple_gemac,
matt <=