summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-11-01 03:29:36 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-11-01 03:29:36 +0000
commit346dedc208a9f39d16e9ec916770f21f766454ae (patch)
tree3e35f5bb686796dc0f7ab7593ec1a75a41161773 /models
parent0b06bc618313444a547e45a2226f1f3b4630af21 (diff)
downloaduhd-346dedc208a9f39d16e9ec916770f21f766454ae.tar.gz
uhd-346dedc208a9f39d16e9ec916770f21f766454ae.tar.bz2
uhd-346dedc208a9f39d16e9ec916770f21f766454ae.zip
Merged r6749:6763 from jcorgan/t179. Fixes ticket:179. New RBFs synthesized with 7.1SP1.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6764 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'models')
-rw-r--r--models/fifo.v3
-rw-r--r--models/fifo_4k_18.v26
2 files changed, 28 insertions, 1 deletions
diff --git a/models/fifo.v b/models/fifo.v
index a04e7da6c..0ade49e9c 100644
--- a/models/fifo.v
+++ b/models/fifo.v
@@ -77,5 +77,6 @@ module fifo( data, wrreq, rdreq, rdclk, wrclk, aclr, q,
assign rdempty = (rdusedw == 0);
assign rdfull = (rdusedw == depth-1);
-endmodule // fifo_1c_1k
+endmodule // fifo
+
diff --git a/models/fifo_4k_18.v b/models/fifo_4k_18.v
new file mode 100644
index 000000000..3efbf74f0
--- /dev/null
+++ b/models/fifo_4k_18.v
@@ -0,0 +1,26 @@
+
+
+module fifo_4k_18
+ (input [17:0] data,
+ input wrreq,
+ input wrclk,
+ output wrfull,
+ output wrempty,
+ output [11:0] wrusedw,
+
+ output [17:0] q,
+ input rdreq,
+ input rdclk,
+ output rdfull,
+ output rdempty,
+ output [11:0] rdusedw,
+
+ input aclr );
+
+fifo #(.width(18),.depth(4096),.addr_bits(12)) fifo_4k
+ ( data, wrreq, rdreq, rdclk, wrclk, aclr, q,
+ rdfull, rdempty, rdusedw, wrfull, wrempty, wrusedw);
+
+endmodule // fifo_4k_18
+
+