diff options
| author | Julian Blake Kongslie | 2022-06-05 15:34:23 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-05 15:42:26 -0700 |
| commit | 9ce65b7d3573d92e1d98a13b58a5d5763ba073c5 (patch) | |
| tree | 7486552ff9428dcb76e22593f445a657b121f443 /hdl/fifo.sv | |
| parent | SMC micro. (diff) | |
| download | multipdp8-9ce65b7d3573d92e1d98a13b58a5d5763ba073c5.tar.xz | |
Working L1 cache.
Diffstat (limited to 'hdl/fifo.sv')
| -rw-r--r-- | hdl/fifo.sv | 4 |
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 @@ | |||
| 1 | module fifo | 1 | module 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; |
