diff --git a/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/fifo.v b/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/fifo.v index af1bc6921..65dc95d11 100644 --- a/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/fifo.v +++ b/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/fifo.v @@ -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 @@ -94,4 +94,4 @@ module fifo // assign full/empty status to output ports assign full = full_reg; assign empty = empty_reg; -endmodule \ No newline at end of file +endmodule diff --git a/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/sync_dual_port_ram.v b/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/sync_dual_port_ram.v index 5914129e4..bd1de2b4b 100644 --- a/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/sync_dual_port_ram.v +++ b/openfpga_flow/benchmarks/micro_benchmark/fifo/rtl/sync_dual_port_ram.v @@ -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 @@ -32,4 +32,4 @@ module sync_dual_port_ram // assignments for two data out ports assign read_data_out = ram[read_address_reg]; assign write_data_out = ram[write_address_reg]; -endmodule \ No newline at end of file +endmodule