rdaly525 / coreir

BSD 3-Clause "New" or "Revised" License
98 stars 24 forks source link

Update RAM generator to have a read latency parameter #698

Open rdaly525 opened 5 years ago

rdaly525 commented 5 years ago

@leonardt, I am in the process of adding a read latency parameter to the memory.ram generator. The default implementation will use a coreir.mem along with coreir.reg for read delay. Would it be possible to add a similar parameter to the mantle memory generator and have it use CoreIR's memory.ram?

This is needed to be able to have yosys infer BRAMS from verilog code (pointed out by @splhack)