When using quartus to design a 4-divider based on D flip-flop, the following error occurred during waveform simulation:
Error: Waveform2.vwf.vt(30): near ",": syntax error, unexpected ',' # ** Error: D:/Quartus/modelsim_ase/win32aloem/vlog failed. # Executing ONERROR command at macro ./D4.do line 4 Error.
In the schematic design, my input and output ports are named:
output. The mistake is here, we just need to name it something else. For example:
out. Then recompile, and then the simulation will not report an error. The correct simulation diagram is as follows: