pylab_ml.common.file_io.readVlogMemFile
- readVlogMemFile(fileName, debug=False)[source]
reads a file with memory data in verilog hex format
fileName……..path to verilog file memSize………number of memory addresses, if 0 then calculate from the data of the file defaultvalues…default values for the memory array if no data was read bitwidth……..bitwidht from the data debug………..if True it prints out the data loaded
return data
- data…………memory data integer list, None entries for
not used/initialized values