Custom CSV file reader class for your java projects

Custom CSV file reader This class includes the following methods. Constructor : ReadCsv(String filename) int getNumberOfHeaders() : Returns the number of Headers/coloumns String getHeader(int headerIndex) : Returns the specific header String[] getHeaders() : Returns the array of Headers ArrayList<String[]> getData() : Returns complete data int getSize() : Returns the number of records Feel free to […]

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 new lines like shown […]

"I hear and I forget, I see and I remember, I do and I understand."
~ Confucius ~
{ SAUSECODE.COM | LinkedIn }