Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17244 Discussions

my modelsim doesn't show any clock pulsing

Altera_Forum
Honored Contributor II
1,916 Views

i have attached my testbench and counter code as a simple example. Im new to quartus II, so please do pardon if it is very simple to operate. I am too used to programming in C and having the benefit of printf for debugging.  

 

i created the testbench by creating waveforms and modifiying them in modelsim program.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
439 Views

The testbench neither toggles the clock nor generates a reset signal.

0 Kudos
Altera_Forum
Honored Contributor II
439 Views

May i know how should I correct it? Ty

0 Kudos
Altera_Forum
Honored Contributor II
439 Views

How about by writing some code to generate a clock and a reset? something like: 

 

clk <= not clk after 10 ns; --50 MHz clock 

reset <= '1', '0' after 50 ns;
0 Kudos
Reply