Altera_Forum
Honored Contributor
16 years agoTestbench: Read from Text File
I have a set of test patterns in text file to be used in test bench written in verilog. test pattern will be sent to top module one by one for every posedge of clock once the ena is high.
Is there related function or syntax to implement the above task? Pls give some simple example. thanks