summaryrefslogtreecommitdiff
path: root/hdl/fifo.sv
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-05 15:34:23 -0700
committerJulian Blake Kongslie2022-06-05 15:42:26 -0700
commit9ce65b7d3573d92e1d98a13b58a5d5763ba073c5 (patch)
tree7486552ff9428dcb76e22593f445a657b121f443 /hdl/fifo.sv
parentSMC micro. (diff)
downloadmultipdp8-9ce65b7d3573d92e1d98a13b58a5d5763ba073c5.tar.xz
Working L1 cache.
Diffstat (limited to '')
-rw-r--r--hdl/fifo.sv4
1 files changed, 2 insertions, 2 deletions
diff --git a/hdl/fifo.sv b/hdl/fifo.sv
index 19877c4..9399006 100644
--- a/hdl/fifo.sv
+++ b/hdl/fifo.sv
@@ -1,6 +1,6 @@
1module fifo 1module fifo
2 #( WIDTH_BITS = 1 2 #( WIDTH_BITS = 1
3 , DEPTH_BITS = 10 3 , DEPTH_BITS = 8
4 ) 4 )
5 ( input bit clock_in 5 ( input bit clock_in
6 , input bit clock_out 6 , input bit clock_out
@@ -21,7 +21,7 @@ module fifo
21 typedef bit [DEPTH_BITS-1:0] addr_t; 21 typedef bit [DEPTH_BITS-1:0] addr_t;
22 typedef bit [DEPTH_BITS:0] grey_t; 22 typedef bit [DEPTH_BITS:0] grey_t;
23 23
24 data_t data [DEPTH-1:0]; 24 (* ramstyle = "no_rw_check, M9K" *) data_t data [DEPTH-1:0];
25 25
26 addr_t oldest, youngest; 26 addr_t oldest, youngest;
27 bit oldest_wrap, youngest_wrap; 27 bit oldest_wrap, youngest_wrap;