diff options
Diffstat (limited to '')
| -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; |
