URL
https://opencores.org/ocsvn/t48/t48/trunk
Subversion Repositories t48
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 21 to Rev 22
- ↔ Reverse comparison
Rev 21 → Rev 22
/trunk/rtl/vhdl/decoder_pack-p.vhd
1,6 → 1,6
------------------------------------------------------------------------------- |
-- |
-- $Id: decoder_pack-p.vhd,v 1.1 2004-03-23 21:31:52 arniml Exp $ |
-- $Id: decoder_pack-p.vhd,v 1.2 2004-03-28 13:09:53 arniml Exp $ |
-- |
-- Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org) |
-- |
18,7 → 18,6
MN_ANL, |
MN_ANL_A_DATA, |
MN_ANL_EXT, |
MN_ANLD, |
MN_CALL, |
MN_CLR_A, |
MN_CLR_C, |
51,8 → 50,7
MN_MOV_RR, |
MN_MOV_RR_DATA, |
MN_MOV_T, |
MN_MOV_A_PP, |
MN_MOV_PP_A, |
MN_MOVD_A_PP, |
MN_MOVP, |
MN_MOVX, |
MN_NOP, |
59,7 → 57,7
MN_ORL, |
MN_ORL_A_DATA, |
MN_ORL_EXT, |
MN_ORLD_PP_A, |
MN_OUTD_PP_A, |
MN_OUTL_EXT, |
MN_RET, |
MN_RL, |
80,5 → 78,7
-- File History: |
-- |
-- $Log: not supported by cvs2svn $ |
-- Revision 1.1 2004/03/23 21:31:52 arniml |
-- initial check-in |
-- |
------------------------------------------------------------------------------- |
/trunk/rtl/vhdl/opc_table.vhd
4,7 → 4,7
-- Decodes the given opcode to instruction mnemonics. |
-- Also derives the multicycle information. |
-- |
-- $Id: opc_table.vhd,v 1.1 2004-03-23 21:31:52 arniml Exp $ |
-- $Id: opc_table.vhd,v 1.2 2004-03-28 13:10:48 arniml Exp $ |
-- |
-- All rights reserved |
-- |
111,11 → 111,6
mnemonic_o <= MN_ANL_EXT; |
multi_cycle_o <= '1'; |
|
-- Mnemonic ANLD -------------------------------------------------------- |
when "10011100" | "10011101" | "10011110" | "10011111" => -- ANLD PP, A |
mnemonic_o <= MN_ANLD; |
multi_cycle_o <= '1'; |
|
-- Mnemonic CALL -------------------------------------------------------- |
when "00010100" | "00110100" | "01010100" | "01110100" | -- CALL addr |
"10010100" | "10110100" | "11010100" | "11110100" => -- |
285,30 → 280,25
"01000010" => -- MOV A, T |
mnemonic_o <= MN_MOV_T; |
|
-- Mnemonic MOV_A_PP ---------------------------------------------------- |
when "00001100" | "00001101" | "00001110" | "00001111" => -- MOV A, Pp |
mnemonic_o <= MN_MOV_A_PP; |
-- Mnemonic MOVD_A_PP --------------------------------------------------- |
when "00001100" | "00001101" | "00001110" | "00001111" => -- MOVD A, Pp |
mnemonic_o <= MN_MOVD_A_PP; |
multi_cycle_o <= '1'; |
|
-- Mnemonic MOV_PP_A ---------------------------------------------------- |
when "00111100" | "00111101" | "00111110" | "00111111" => -- MOV Pp, A |
mnemonic_o <= MN_MOV_PP_A; |
multi_cycle_o <= '1'; |
|
-- Mnemonic MOVP -------------------------------------------------------- |
when "10100011" | -- MOVP A, @ A |
"11100011" => -- MOVP3 A, @ A |
when "10100011" | -- MOVP A, @ A |
"11100011" => -- MOVP3 A, @ A |
mnemonic_o <= MN_MOVP; |
multi_cycle_o <= '1'; |
|
-- Mnemonic MOVX -------------------------------------------------------- |
when "10000000" | "10000001" | -- MOVX A, @ Rr |
"10010000" | "10010001" => -- MOVX @ Rr, A |
when "10000000" | "10000001" | -- MOVX A, @ Rr |
"10010000" | "10010001" => -- MOVX @ Rr, A |
mnemonic_o <= MN_MOVX; |
multi_cycle_o <= '1'; |
|
-- Mnemonic NOP --------------------------------------------------------- |
when "00000000" => -- NOP |
when "00000000" => -- NOP |
mnemonic_o <= MN_NOP; |
|
-- Mnemonic ORL --------------------------------------------------------- |
328,9 → 318,11
mnemonic_o <= MN_ORL_EXT; |
multi_cycle_o <= '1'; |
|
-- Mnemonic ORLD_PP_A ---------------------------------------------------- |
when "10001100" | "10001101" | "10001110" | "10001111" => -- ORLD Pp, A |
mnemonic_o <= MN_ORLD_PP_A; |
-- Mnemonic OUTD_PP_A --------------------------------------------------- |
when "00111100" | "00111101" | "00111110" | "00111111" | -- MOVD Pp, A |
"10011100" | "10011101" | "10011110" | "10011111" | -- ANLD PP, A |
"10001100" | "10001101" | "10001110" | "10001111" => -- ORLD Pp, A |
mnemonic_o <= MN_OUTD_PP_A; |
multi_cycle_o <= '1'; |
|
-- Mnemonic OUTL_EXT ---------------------------------------------------- |
416,5 → 408,7
-- File History: |
-- |
-- $Log: not supported by cvs2svn $ |
-- Revision 1.1 2004/03/23 21:31:52 arniml |
-- initial check-in |
-- |
------------------------------------------------------------------------------- |