Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

How to define clock while using flip flop

Altera_Forum
Honored Contributor II
1,206 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
499 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
499 Views

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

0 Kudos
Reply