en_aq
Dear All,
I'm using the following code for creating a FF with synchronous reset and enable:
Run_Condition: PROCESS (aq_clk, en_aq, start, run)
BEGIN
if (aq_clk'event and aq_clk = '1') then
if (en_aq = '0') then
run <= '0';
elsif (start = '1') then
run <= en_aq;
end if;
end if;
END PROCESS Run_Condition;
Initial value of en_aq = '0'. start is a '1' single aq_clk period pulse.
I cannot find any problem in this coding BUT in my simulation a very strange effect happens:
I have an Undefined run between rising(en_aq) and start pulse.
Am I missing something?
Thank you very much for your help.
Best Regards
AMCC