שלום אולי מישהו יוכל לעזור לי פה
אני מקבל את הודעת השגיאה הבאה כשאני מקמפל בMAX PLUS 2 הקטע שבתוכנות אחרות כמו בACTIVE HDL SIM התוכנית רצה בלי ERRORים
ERROR: Process Clocking is too complex
CAUSE: Your Process Statement is too complex. If your Process Statement has a Reset signal, it must have an If Statement only. If your Process Statement includes a Wait Statement, it must be the first statement in the process. You cannot have more than one Wait Statement in a process.
ACTION: Edit your VHDL Design File to correct the errors and recompile the design. Refer to the IEEE Standard VHDL Language Reference Manual for more information. Refer also to recommended texts such as Perry's VHDL book and Bhasker's A VHDL Synthesis Primer for information on creating designs with VHDL.
השגיאה מתייחסת לקטע הקוד הבא , הדגשתי את השורה עליה הוא מצביע
process(clock,PulseAfterShift,intReset)
begin
if(intReset='0') then
PulseCounterSig <= (others => '0');
else
if(PulseAfterShift='1') then
if (clock'event and clock='1') then
PulseCounterSig <= PulseCounterSig + '1';
end if;
else
PulseCounterSig <= PulseCounterSig; -- keep last value
end if;
end if;
end process;
למה בתוכנות אחרות הקוד כן מתקמפל לי ובMAXPLUS 2 לא??



