Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Just one question, how does an input clock's signal work? I suppose it has a frequency in which it changes from 1 to 0 and when it changes to 1 the rising edge returns a true as if it was a boolean, am I right? --- Quote End --- Generally yes. At input you have rectangular signal with given frequency. Function rising_edge returns boolean. Remember only, that this code creates hardware, so basically by using rising_edge function you are generating registers etc... Regards, kolas