Forum Discussion
Altera_Forum
Honored Contributor
14 years agoModel sim testbench
Hello, I have a test bench that simulate a 32bit data bus interfacing my fpga. I would like my test bench to be able to inject data to fpga from a file. so, testbench will read data f...
Altera_Forum
Honored Contributor
14 years agoyou can use the std.textio library for file IO. it works very well with text files. There are plenty of tutorials on textio if you google it.