Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTwo options:
- change Q from out to buffer - use an internal signal Qi and copy it to Q outside the edge sensitive condition. Also the assignment for qn must be placed outside the rising_edge() condition, otherwise it's delayed by one clock.