Line 1... |
Line 1... |
-- $Id: tbd_pdp11core.vhd 649 2015-02-21 21:10:16Z mueller $
|
-- $Id: tbd_pdp11core.vhd 674 2015-05-04 16:17:40Z mueller $
|
--
|
--
|
-- Copyright 2007-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2007-2015 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
-- Software Foundation, either version 2, or at your option any later version.
|
-- Software Foundation, either version 2, or at your option any later version.
|
--
|
--
|
Line 39... |
Line 39... |
-- 2007-10-27 92 8.2.03 I34 xc3s1000-4 534 2091 119 1170 s 19.3
|
-- 2007-10-27 92 8.2.03 I34 xc3s1000-4 534 2091 119 1170 s 19.3
|
-- 2007-10-27 92 8.1.03 I27 xc3s1000-4 557 2186 119 - s 18.6
|
-- 2007-10-27 92 8.1.03 I27 xc3s1000-4 557 2186 119 - s 18.6
|
--
|
--
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
|
-- 2015-05-03 674 1.6 start/stop/suspend overhaul
|
-- 2011-11-18 427 1.5.1 now numeric_std clean
|
-- 2011-11-18 427 1.5.1 now numeric_std clean
|
-- 2010-12-30 351 1.5 rename tbd_pdp11_core -> tbd_pdp11core
|
-- 2010-12-30 351 1.5 rename tbd_pdp11_core -> tbd_pdp11core
|
-- 2010-10-23 335 1.4.2 rename RRI_LAM->RB_LAM;
|
-- 2010-10-23 335 1.4.2 rename RRI_LAM->RB_LAM;
|
-- 2010-06-20 307 1.4.1 add CP_ADDR_racc, CP_ADDR_be port
|
-- 2010-06-20 307 1.4.1 add CP_ADDR_racc, CP_ADDR_be port
|
-- 2010-06-13 305 1.4 add CP_ADDR_... in ports; add CP_CNTL_rnum in port
|
-- 2010-06-13 305 1.4 add CP_ADDR_... in ports; add CP_CNTL_rnum in port
|
Line 89... |
Line 90... |
CP_STAT_cmdbusy : out slbit; -- console status port
|
CP_STAT_cmdbusy : out slbit; -- console status port
|
CP_STAT_cmdack : out slbit; -- console status port
|
CP_STAT_cmdack : out slbit; -- console status port
|
CP_STAT_cmderr : out slbit; -- console status port
|
CP_STAT_cmderr : out slbit; -- console status port
|
CP_STAT_cmdmerr : out slbit; -- console status port
|
CP_STAT_cmdmerr : out slbit; -- console status port
|
CP_STAT_cpugo : out slbit; -- console status port
|
CP_STAT_cpugo : out slbit; -- console status port
|
CP_STAT_cpuhalt : out slbit; -- console status port
|
|
CP_STAT_cpustep : out slbit; -- console status port
|
CP_STAT_cpustep : out slbit; -- console status port
|
|
CP_STAT_cpuwait : out slbit; -- console status port
|
|
CP_STAT_cpususp : out slbit; -- console status port
|
CP_STAT_cpurust : out slv4; -- console status port
|
CP_STAT_cpurust : out slv4; -- console status port
|
|
CP_STAT_suspint : out slbit; -- console status port
|
|
CP_STAT_suspext : out slbit; -- console status port
|
CP_DOUT : out slv16 -- console data out
|
CP_DOUT : out slv16 -- console data out
|
);
|
);
|
end tbd_pdp11core;
|
end tbd_pdp11core;
|
|
|
|
|
Line 138... |
Line 142... |
CP_STAT_cmdbusy <= CP_STAT.cmdbusy;
|
CP_STAT_cmdbusy <= CP_STAT.cmdbusy;
|
CP_STAT_cmdack <= CP_STAT.cmdack;
|
CP_STAT_cmdack <= CP_STAT.cmdack;
|
CP_STAT_cmderr <= CP_STAT.cmderr;
|
CP_STAT_cmderr <= CP_STAT.cmderr;
|
CP_STAT_cmdmerr <= CP_STAT.cmdmerr;
|
CP_STAT_cmdmerr <= CP_STAT.cmdmerr;
|
CP_STAT_cpugo <= CP_STAT.cpugo;
|
CP_STAT_cpugo <= CP_STAT.cpugo;
|
CP_STAT_cpuhalt <= CP_STAT.cpuhalt;
|
|
CP_STAT_cpustep <= CP_STAT.cpustep;
|
CP_STAT_cpustep <= CP_STAT.cpustep;
|
|
CP_STAT_cpuwait <= CP_STAT.cpuwait;
|
|
CP_STAT_cpususp <= CP_STAT.cpususp;
|
CP_STAT_cpurust <= CP_STAT.cpurust;
|
CP_STAT_cpurust <= CP_STAT.cpurust;
|
|
CP_STAT_suspint <= CP_STAT.suspint;
|
|
CP_STAT_suspext <= CP_STAT.suspext;
|
|
|
CLKDIV : clkdivce
|
CLKDIV : clkdivce
|
generic map (
|
generic map (
|
CDUWIDTH => 6,
|
CDUWIDTH => 6,
|
USECDIV => 50,
|
USECDIV => 50,
|
Line 162... |
Line 169... |
CP_CNTL => CP_CNTL,
|
CP_CNTL => CP_CNTL,
|
CP_ADDR => CP_ADDR,
|
CP_ADDR => CP_ADDR,
|
CP_DIN => CP_DIN,
|
CP_DIN => CP_DIN,
|
CP_STAT => CP_STAT,
|
CP_STAT => CP_STAT,
|
CP_DOUT => CP_DOUT,
|
CP_DOUT => CP_DOUT,
|
|
ESUSP_O => open, -- not tested
|
|
ESUSP_I => '0', -- dito
|
|
ITIMER => open, -- dito
|
|
EBREAK => '0', -- dito
|
|
DBREAK => '0', -- dito
|
EI_PRI => EI_PRI,
|
EI_PRI => EI_PRI,
|
EI_VECT => EI_VECT,
|
EI_VECT => EI_VECT,
|
EI_ACKM => EI_ACKM,
|
EI_ACKM => EI_ACKM,
|
EM_MREQ => EM_MREQ,
|
EM_MREQ => EM_MREQ,
|
EM_SRES => EM_SRES,
|
EM_SRES => EM_SRES,
|