Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

AHDL 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

Alan

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There is no requirement for a reset in a state machine. An initial value is good enough.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.