Forum Discussion
Altera_Forum
Honored Contributor
12 years agoOne other method to start with a test stimulus of your design is to write commands in TCL and submit these on the ModelSim command line. This allows you to assign values to your inputs (including clock and reset), to turn them on and off at set times, advance the time wheel, and make variable updates to control the time points when you want events to take place.
Before I created a full-blown VHDL TestBench, I wrote text files filled with TCL script statements, and then would feed these into the ModelSim command line located at the bottom of the display using copy/paste with the mouse. There is a method of having ModelSim read a TCL stimulus command file, but I've not needed to use that, since I may be spending a lot of time exploring how I want to conduct the testing itself. I did a web search on example files, and I can post some of the commands I used, if this is of interest. Using the stimulus scripting is another option to consider. It doesn't require as much work as writing a full-blown TestBench, but is likely more flexible than drawing waveforms. Hope this helps. regds, jim