Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- The Decoder unit.
|
-- The Decoder unit.
|
-- It decodes the instruction opcodes and executes them.
|
-- It decodes the instruction opcodes and executes them.
|
--
|
--
|
-- $Id: decoder.vhd,v 1.20 2005-09-13 21:08:34 arniml Exp $
|
-- $Id: decoder.vhd,v 1.21 2005-10-31 10:08:33 arniml Exp $
|
--
|
--
|
-- Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
|
-- Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
|
--
|
--
|
-- All rights reserved
|
-- All rights reserved
|
--
|
--
|
Line 328... |
Line 328... |
if not int_pending_s then
|
if not int_pending_s then
|
pm_read_pmem_o <= true;
|
pm_read_pmem_o <= true;
|
end if;
|
end if;
|
|
|
else
|
else
|
|
if not int_pending_s then
|
bus_read_bus_s <= true;
|
bus_read_bus_s <= true;
|
|
end if;
|
p2_output_pch_o <= true;
|
p2_output_pch_o <= true;
|
end if;
|
end if;
|
|
|
end if;
|
end if;
|
|
|
Line 1954... |
Line 1956... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File History:
|
-- File History:
|
--
|
--
|
-- $Log: not supported by cvs2svn $
|
-- $Log: not supported by cvs2svn $
|
|
-- Revision 1.20 2005/09/13 21:08:34 arniml
|
|
-- move check for int_pending_s into ea_i_='0' branch
|
|
-- this fixes a glitch on PCH when an interrutp occurs
|
|
-- during external program memory fetch
|
|
--
|
-- Revision 1.19 2005/06/11 10:08:43 arniml
|
-- Revision 1.19 2005/06/11 10:08:43 arniml
|
-- introduce prefix 't48_' for all packages, entities and configurations
|
-- introduce prefix 't48_' for all packages, entities and configurations
|
--
|
--
|
-- Revision 1.18 2005/06/09 22:18:28 arniml
|
-- Revision 1.18 2005/06/09 22:18:28 arniml
|
-- Move latching of BUS to MSTATE2
|
-- Move latching of BUS to MSTATE2
|