Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16624 Discussions

bitwrite memory model for altera FPGAs

Altera_Forum
Honored Contributor II
1,172 Views

hi, 

 

i know how to make generic byte write, word write memory models in verilog for FPGAs. but is there any way of making a bit write memory model for altera FPGAs? 

 

i have looked online quite a lot but couldn't find one. and the memory model i am making ends up having a couple of cycles of delay in reads and write (because of the bit-write nature). so if someone has worked with bitwrite memory models or knows where to find generic code for them (online link), that would be great.  

 

thanks in advacne for the help. 

 

z.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
422 Views

 

--- Quote Start ---  

i know how to make generic byte write, word write memory models in verilog 

--- Quote End ---  

Post some examples of your code and I suspect we can help with code consistent with what you have already. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
422 Views

i guess i've managed a work-around for now - used the alteraIP and generated a memory block and instantiated it 8 times. and in each instance, i write just 1 bit (using the wren signal of the block). it is an expensive way of doing things but at least it wont induce 2 - 3 cycle delay (or more) if i try and code the memory model myself. esp. because in my functional sim, i cant have more than 1 cycle delay in the reads/writes. 

 

thanks. 

 

z.
0 Kudos
Reply