error in ModelSim?
I am using Quartus II 64-Bit Version 13.0.1 to change a design for a MAX3000a series chip and I want to simulate it with ModelSim-Altera which is contained in the Quartus II software.
Simulation for MAX3000a series is not possible because the file max3000a_ver is not available. Therefore I changed the device type to MAX V, and simulation is possible.
Before changing the design I wanted to simulate the original design working successfully in hardware. But the simulation result is wrong. To show the effect see the attached files.
In schematic_part.jpg a small part around a flipflop is shown. The waveforms simulation results are shown in waveforms_part.jpg.
Every time when Flag_en is high during the positive edge of CLK the Q output of the flipflop shall be set high and can be reset by a low pulse of Flag_clr. As long as Flg_QN is high FLAG has the same level as Q.
The simulation result shows FLAG low all the time inspite of positive edges of CLK during Flag_en pulses.
I found images of simulation results from the original design where every Flag_en pulse resulted in a FLAG pulse which then was reset by a Flag_clr low pulse, i.e. formerly ModelSim-Altera showed the expected result.
Is there a setting for ModelSim I overlooked to get it working correctly?
Hi,
Inside the testbench myProject_tb_1.v, make sure the module name also myProject_tb_1.
Thanks,
Regards,
Sheng