Forum Discussion
LPokr
New Contributor
7 years agoHow to write testbench for 18x18 multiplier
I need to write testbench for 18x18 multiplier, which reads input from a text file (at least 10 numbers). Every input has to have at least 1 one and 1 zero in 4 most significant bits, and half of the...
Vicky1
Regular Contributor
7 years agohi,
Here in community, no one will provide complete code so user should come with their own code/logic & people in community may help to make it correct/better appropriate.
In this case, I would like to suggest you need to use the STD.textio package that defines routines for reading and writing to
a text file , refer the below old thread ,
https://forums.intel.com/s/question/0D50P00003yyR8zSAE/vhdl-textio-hread-problem
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards
Vikas Jathar
(This message was posted on behalf of Intel Corporation)