Skip to content

Latest commit

 

History

History
 
 

memory

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Memory - Verilog Library

Memory Verilog designs from Project F, including ROM, block ram, and SPRAM. You can freely build on these MIT licensed designs. See the Library for other helpful Verilog modules or discover the background to the Library.

Learn more at projectf.io, follow @WillFlux for updates, and join the FPGA discussion on 1BitSquared Discord.

Verilog Modules

Locate Vivado test benches in the xc7 directory.
Find other modules in the Library.

Blog Posts

The following blog posts document and make use of these memory modules:

Memory Modules Interface

These memory modules share similar parameters:

  • WIDTH - data width in bits (may be renamed DATAW in future)
  • DEPTH - memory depth (number of elements)
  • INIT_F - data file to load into memory at initialization
  • ADDRW - address width; by default this is calculated with $clog2(DEPTH)

SystemVerilog?

These modules use a little SystemVerilog to make Verilog more pleasant, see the main Library README for details.