Bonsoir à tous,
j'ai un petit soucis lors de la compilation d'une partie de mon code que voici:
Code:PROCESS(clk, reset_n) BEGIN IF reset_n = '0' THEN IR_load <= '1'; Load_Result <='0'; WR <= '0'; State <= LoadInstr; ELSIF clk'EVENT AND clk = '1' THEN CASE State IS WHEN LoadInstr => State <= DecodeInstr; WHEN DecodeInstr => WITH opcode SELECT Load_PC <= '1' WHEN CALL, '0' WHEN OTHERS; WITH opcode SELECT PC_inc <= '0' WHEN CALL, '1' WHEN OTHERS; State <= GestPC; WHEN GestPC => WITH opcode SELECT Load_Stack <= '1' WHEN RET OR RETconst, '0' WHEN OTHERS; WITH opcode SELECT Load_Jump_Adr <= '1' WHEN BZ0 OR BZ1 OR BC0 OR BC1 OR BV0 OR BV1 OR BN0 OR BN1 OR BRA OR CALL, '0' WHEN OTHERS; State <= GestStack; WHEN GestStack => State <= Calc; WHEN Calc => WITH opcode SELECT Load_Result <= '0' WHEN NOP OR STOREaddr OR SETC OR CLRC OR TRFNC OR BZ0 OR BZ1 OR BC0 OR BC1 OR BV0 OR BV1 OR BN0 OR BN1 OR BRA OR CALL OR RET, '1' WHEN OTHERS; WITH opcode SELECT WR <= '1' WHEN STOREaddr, '0' WHEN OTHERS; State <= LoadInstr; WHEN OTHERS => null; END CASE; END IF; END PROCESS; end architecture behavioral ; -- of Sequencer
J'ai des erreurs à toutes les lignes concernées par les WITH SELECT, est-ce que quelqu'un à une idée de l'erreur que j'ai fait?
Merci de vôtre aide!
-----