[Benchmark] Reduce default size of FIFO to limit the number of LUTs and BRAMs to be synthesised

This commit is contained in:
tangxifan 2021-04-27 22:09:10 -06:00
parent dd46780865
commit 5a85ec9fa0
2 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@
// Reference:
// https://embeddedthoughts.com/2016/07/13/fifo-buffer-using-block-ram-on-a-xilinx-spartan-3-fpga/
module fifo
#( parameter ADDRESS_WIDTH = 12, // number of words in ram
DATA_WIDTH = 8 // number of bits in word
#( parameter ADDRESS_WIDTH = 4, // number of words in ram
DATA_WIDTH = 4 // number of bits in word
)
// IO ports

View File

@ -2,8 +2,8 @@
// Reference:
// https://embeddedthoughts.com/2016/07/13/fifo-buffer-using-block-ram-on-a-xilinx-spartan-3-fpga/
module sync_dual_port_ram
#( parameter ADDRESS_WIDTH = 12, // number of words in ram
DATA_WIDTH = 8 // number of bits in word
#( parameter ADDRESS_WIDTH = 4, // number of words in ram
DATA_WIDTH = 4 // number of bits in word
)
// IO ports