digital design
Junior Member level 2
Hello all
I want to implement a matrix-vector multiplication on FPGA. I have written a VHDL model for this purpose. Since I need to test it with large matrix,I should use matlab to generate a matrix file and use this matrix file in test bench module for testing my FPGA module.
I need help for:
1.What must be the extension of the matrix file?
2.I create an array to store entire matrix in VHDL code. How can I read a file from matlab into ISE simulator? In other words, How can I read from file and store values in registers?
3.How can I save multiplication result in an output file?
thank you in advance
I want to implement a matrix-vector multiplication on FPGA. I have written a VHDL model for this purpose. Since I need to test it with large matrix,I should use matlab to generate a matrix file and use this matrix file in test bench module for testing my FPGA module.
I need help for:
1.What must be the extension of the matrix file?
2.I create an array to store entire matrix in VHDL code. How can I read a file from matlab into ISE simulator? In other words, How can I read from file and store values in registers?
3.How can I save multiplication result in an output file?
thank you in advance