Line 1... |
Line 1... |
-- $Id: pdp11.vhd 335 2010-10-24 22:24:23Z mueller $
|
-- $Id: pdp11.vhd 351 2010-12-30 21:50:54Z mueller $
|
--
|
--
|
-- Copyright 2006-2010 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2006-2010 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
|
Line 14... |
Line 14... |
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Package Name: pdp11
|
-- Package Name: pdp11
|
-- Description: Definitions for pdp11 components
|
-- Description: Definitions for pdp11 components
|
--
|
--
|
-- Dependencies: -
|
-- Dependencies: -
|
-- Tool versions: xst 8.1, 8.2, 9.1, 9.2, 11.4; ghdl 0.18-0.26
|
-- Tool versions: xst 8.1, 8.2, 9.1, 9.2, 11.4, 12.1; ghdl 0.18-0.29
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
|
-- 2010-12-30 351 1.4.7 rename pdp11_core_rri->pdp11_core_rbus; use rblib
|
-- 2010-10-23 335 1.4.6 rename RRI_LAM->RB_LAM;
|
-- 2010-10-23 335 1.4.6 rename RRI_LAM->RB_LAM;
|
-- 2010-10-16 332 1.4.5 renames of pdp11_du_drv port names
|
-- 2010-10-16 332 1.4.5 renames of pdp11_du_drv port names
|
-- 2010-09-18 330 1.4.4 rename (adlm)box->(oalm)unit
|
-- 2010-09-18 330 1.4.4 rename (adlm)box->(oalm)unit
|
-- 2010-06-20 308 1.4.3 add c_ibrb_ibf_ def's
|
-- 2010-06-20 308 1.4.3 add c_ibrb_ibf_ def's
|
-- 2010-06-20 307 1.4.2 rename cpacc to cacc in vm_cntl_type, mmu_cntl_type
|
-- 2010-06-20 307 1.4.2 rename cpacc to cacc in vm_cntl_type, mmu_cntl_type
|
Line 82... |
Line 83... |
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
use ieee.std_logic_arith.all;
|
use ieee.std_logic_arith.all;
|
|
|
use work.slvtypes.all;
|
use work.slvtypes.all;
|
use work.iblib.all;
|
use work.iblib.all;
|
use work.rrilib.all;
|
use work.rblib.all;
|
|
|
package pdp11 is
|
package pdp11 is
|
|
|
type psw_type is record -- processor status
|
type psw_type is record -- processor status
|
cmode : slv2; -- current mode
|
cmode : slv2; -- current mode
|
Line 1065... |
Line 1066... |
EM_MREQ : in em_mreq_type; -- em request
|
EM_MREQ : in em_mreq_type; -- em request
|
EM_SRES : out em_sres_type -- em response
|
EM_SRES : out em_sres_type -- em response
|
);
|
);
|
end component;
|
end component;
|
|
|
component pdp11_core_rri is -- core to rri reg port interface
|
component pdp11_core_rbus is -- core to rbus interface
|
generic (
|
generic (
|
RB_ADDR_CORE : slv8 := conv_std_logic_vector(2#00000000#,8);
|
RB_ADDR_CORE : slv8 := conv_std_logic_vector(2#00000000#,8);
|
RB_ADDR_IBUS : slv8 := conv_std_logic_vector(2#10000000#,8));
|
RB_ADDR_IBUS : slv8 := conv_std_logic_vector(2#10000000#,8));
|
port (
|
port (
|
CLK : in slbit; -- clock
|
CLK : in slbit; -- clock
|