Verilog HDL – How to store data from a file to an array of registers

Following test bench shows you how to store data from a file to an array of registers. This, will be useful in if you are making an instruction memory or data memory sort of module.

Here, we will read the “data.txt” file which will contain 32 bit number lines separated by Continue reading “Verilog HDL – How to store data from a file to an array of registers”