architecture behaviour of ADR is begin process(Takt) if reset = '1' then PC <= "000000"; elsif Takt = '1' then if count = '1' then PC <= PC + '1'; elsif branch = '1' then PC <= PC + offset; end if; end if; end; end architecture behaviour; architecture behaviour of ALU is begin process(Sel) if Sel = "00" then Res <= A + B; elsif Sel = "01" then Res <= A - B; elsif Sel = "10" then Res <= A nand B; elsif Sel = "11" then Res <= A nor B; end if; end; end behaviour;