On Mon, 25 May 2009 16:44:28 -0700 (PDT), Weng Tianxiang <
[email protected]>
wrote:
>On May 25, 2:28*pm, Andy <jonesa...@comcast.net> wrote:
>> Weng,
>>
>> You've told the synthesizer that state2_ns (the combinatorial signal,
>> not the register) has to remember its previous value under certain
>> circumstances, so it generates a latch to remember the value.
>>
>> Your choices to avoid the latch include a) avoiding combinatorial
>> processes,
>Hi Andy,
>You are right and I understand it. I am interested in your method a.
>Could you give me an example on how to use your method a. in the above
>situation.
Search for "Single Process State Machine" - it has been described many times on
this group and it is the usual way to avoid combinatorial processes in your
example - to avoid precisely the problem that you took a week to find.
- Brian