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

How to define clock while using flip flop

Altera_Forum
Honored Contributor II
977 Views

I am new to VHDL and i am facing one problem while writing a code. In my circuit i have different components like half adder, and gate and flip flop. When i perform the check syntax, i receive an error that clock is not defined. Attached is my code, please have a look on it and let me know my mistake. I know this question might looks stupid to some of you but as i am beginner so i would appreciate your feedback.  

 

Thanks, 

Syed Irtaza Haider
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
270 Views

The clue is in the error. In the "top" entity, you havent defined a clock signal or port.

0 Kudos
Altera_Forum
Honored Contributor II
270 Views

Thanks alot. i got your point. :) stay blessed

0 Kudos
Reply