Forum Discussion
Altera_Forum
Honored Contributor
12 years agoAHDL equivalent to Preserve in in Verilog
Hi
I am migrating an existing AHL design from MaxPlus to Quartus environment and I noticed that some of the state machine's states/registers were optimized out. I know that in Verilog, Preserve attribute can be used. Does AHDL has similar/equivalent attributes? Thanks Alan12 Replies
- Altera_Forum
Honored Contributor
There is no requirement for a reset in a state machine. An initial value is good enough.
- Altera_Forum
Honored Contributor
perhaps Tricky, you are right. but if you look better in code you find that there are 2 edges of clock instead of 1.
I don't like such bad time shifting that decrease setup times for outputs. Then i suggest one (AlanIsmail) should open MAxPlus help file and read carefully about coding style for AHDL.