Reply To: Does VHDL contain functions like Verilog $readmemb and $readmemh?

Why OSVVM™? Forums VHDL Does VHDL contain functions like Verilog $readmemb and $readmemh? Reply To: Does VHDL contain functions like Verilog $readmemb and $readmemh?

#2542
Jim Lewis
Member

Hi Hassan,
For the OSVVM MemoryPkg, see FileReadH and FileReadB as well as their counter parts FileWriteH and FileWriteB.

For simulation based RAMS, you want to be using OSVVM’s MemoryPkg as it creates sparse memory data structures – ie it only allocates blocks of memory (in 1 K chunks) if you write to a particular location.

Best Regards,
Jim