Forum Discussion
Altera_Forum
Honored Contributor
18 years agoI have a problem, that what you present as a "processor model" is permanently changing and it's hard to see what you are trying to achieve as a whole.
To my opinion, it's not a problem of HDL coding rather than of your designs basic structure. I think, it would be helpful to use a structural design approach. As a fundamental fact, you have registers, that take a new value every clock cycle and logic elements, that determine the input to the registers. A basic design decision is in considering, which values have to be stored in a register and how the sequential processing should look like. If you know the structure, you would always be able to code it in HDL. You can also use a behavioural approach, but than you must exactly follow the HDL syntax to get the design synthesizable.