URL
https://opencores.org/ocsvn/cpu_lecture/cpu_lecture/trunk
[/] [cpu_lecture/] [trunk/] [src/] [opc_deco.vhd] - Diff between revs 10 and 13
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 10 |
Rev 13 |
Line 288... |
Line 288... |
|
|
if (I_OPC(3) = '0') then Q_AMOD <= AMOD_Zq;
|
if (I_OPC(3) = '0') then Q_AMOD <= AMOD_Zq;
|
else Q_AMOD <= AMOD_Yq;
|
else Q_AMOD <= AMOD_Yq;
|
end if;
|
end if;
|
|
|
Q_RD_M <= not I_OPC(9); -- '1' if LDD
|
if (I_OPC(9) = '0') then -- LDD
|
Q_WE_M <= '0' & I_OPC(9); -- "01" if STD
|
Q_RD_M <= I_T0 ;
|
|
Q_WE_D <= '0' & not I_T0;
|
|
else -- STD
|
|
Q_WE_M <= '0' & I_OPC(9);
|
|
end if;
|
|
|
when "100100" => -- 1001 00xx xxxx xxxx
|
when "100100" => -- 1001 00xx xxxx xxxx
|
Q_IMM <= I_OPC(31 downto 16); -- absolute address for LDS/STS
|
Q_IMM <= I_OPC(31 downto 16); -- absolute address for LDS/STS
|
if (I_OPC(9) = '0') then -- LDD / POP
|
if (I_OPC(9) = '0') then -- LDD / POP
|
--
|
--
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.