fpga: lib: Add read-only strategy for port B in 2-port RAM
Original-commit: 69c549efab2fd536808f1ba032c278085217ba6d
This commit is contained in:
committed by
Wade Fife
parent
287659ddeb
commit
27aae37722
@@ -54,7 +54,7 @@
|
||||
module ram_2port #(
|
||||
parameter DWIDTH = 32, // Width of the memory block
|
||||
parameter AWIDTH = 9, // log2 of the depth of the memory block
|
||||
parameter RW_MODE = "READ-FIRST", // Read-write mode {READ-FIRST, WRITE-FIRST, NO-CHANGE}
|
||||
parameter RW_MODE = "READ-FIRST", // Read-write mode {READ-FIRST, WRITE-FIRST, NO-CHANGE, B-READ-ONLY}
|
||||
parameter RAM_TYPE = "AUTOMATIC", // Type of RAM to infer {AUTOMATIC, REG, LUTRAM, BRAM, URAM}
|
||||
parameter OUT_REG = 0, // Instantiate an output register? (+1 cycle of read latency)
|
||||
parameter INIT_FILE = "" // Optionally initialize memory with this file
|
||||
|
||||
Reference in New Issue
Block a user