What is the Setting in Quartus II for a Waveform Vector File
What is the Setting in Quartus II for a Waveform Vector File for the following MOD-11 Up-Counter?
ENTITY cnt11 IS
PORT(
CLKA : IN BIT;
CLRA : IN BIT;
QOUT : BUFFER INTEGER RANGE 0 to 15);
END cnt11;
--A Constant is used (modcnt) to set upper limit of integer count at 10
ARCHITECTURE circuit OF cnt11 IS
BEGIN
PROCESS (CLKA, CLRA)
BEGIN -- Start Process
IF (CLRA = ‘0’ ) THEN QOUT <= 0;
ELSIF (CLKA’EVENT and CLKA = ‘1’) THEN
IF QOUT = 10 THEN QOUT <= 0;
ELSE QOUT <= QOUT + 1;
END IF;
END IF;
END PROCESS;
END circuit;
Solution
Follow Carefully each step after synthesis step
1. Go to File->New
2. Select University Program VWF
3. Simulation Waveform Editor Window will come up
4. Go to File->SaveAs with the desired name with .vwf extension
5. Now we set up the scaling GoTo edit menu in simulation Waveform Editor Edit->set end time -> 20us
6. After that Edit->Grid Size-> 1us
7. See Quartus II Window->Simulation Waveform Editor
8. View-> Fit in Window
9. To get the waveform under the name in SWE write click->Insert node or bus -> Node Finder ->List
this will show all the inputs and output.
10. Select all and press \'>\' arrow and click ok->ok.
11. It places all the nodes in SWE.
12. Select CLKA
13. Edit -> value -> overwrite clock-> 1us period
14. Select CLRA
15. Edit-> Value-> Forcing high \'1\'
16. File -> Save
17. Simulation-> Run Functional Simulation


