Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI dont quite understand what you want. The code you have is sequentially executed. It is simulation code. But the synthesisor needs to make a circuit out of it, and loops unroll unto parrallel hardware. Also, timing specs (like the# 5) are completly ignored.
You need to build a system that is synthesisable. Your code suggests you are a software guy. I suggest getting a begineers guide to digital logic, and start reading - forget about the verilog for now.