Author: thottelt
Date: 2007-06-19 09:55:43 -0600 (Tue, 19 Jun 2007)
New Revision: 5798
Added:
gnuradio/branches/developers/thottelt/simulations/rx_chains.v
Log:
forgot a test module
Added: gnuradio/branches/developers/thottelt/simulations/rx_chains.v
===================================================================
--- gnuradio/branches/developers/thottelt/simulations/rx_chains.v
(rev 0)
+++ gnuradio/branches/developers/thottelt/simulations/rx_chains.v
2007-06-19 15:55:43 UTC (rev 5798)
@@ -0,0 +1,23 @@
+module rx_chains (
+ input rxclk,
+ input reset,
+ input rxstrobe,
+ output [15:0] ch_0,
+ output [15:0] ch_1);
+
+ reg [15:0] i;
+
+ assign ch_0 = i;
+ assign ch_1 = 16'hFFFF - i;
+
+ always @(posedge rxclk)
+ begin
+ if (reset)
+ i <= 1;
+ else
+ if (rxstrobe)
+ i <= i + 1;
+ end
+
+
+endmodule
Property changes on:
gnuradio/branches/developers/thottelt/simulations/rx_chains.v
___________________________________________________________________
Name: svn:executable
+ *
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio