Hi all,
Is there a way to initialize Mem objects in the design with an init file for C++ simulation? As I understand it, the 'pokeAt' method is used to initialize Mems in Chisel.
I noticed that there is a 'read_hex' method in the mem_t object which reads an init file and loads memories, but it doesn't seem to be tied to anything from Chisel's C++ backend.
I can create methods using pokeAt to get the functionality I want, but wanted to ask if there are better ways.
Thanks!