mirror of
https://github.com/wfjm/w11.git
synced 2026-04-25 03:45:42 +00:00
CPUERR now cleared by CPU reset
- pdp11_sequencer.vhd: CPUERR cleared by CRESET - mminki.mac: added, procedure to initialize MMU, kernel I space only - test_w11a_cpuerr.tcl: added, test cpuerr register - added more README's - editorial changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- $Id: pdp11_sequencer.vhd 812 2016-10-03 18:39:50Z mueller $
|
||||
-- $Id: pdp11_sequencer.vhd 831 2016-12-27 16:51:12Z mueller $
|
||||
--
|
||||
-- Copyright 2006-2016 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
--
|
||||
@@ -18,10 +18,11 @@
|
||||
-- Dependencies: ib_sel
|
||||
-- Test bench: tb/tb_pdp11_core (implicit)
|
||||
-- Target Devices: generic
|
||||
-- Tool versions: ise 8.2-14.7; viv 2014.4-2016.1; ghdl 0.18-0.33
|
||||
-- Tool versions: ise 8.2-14.7; viv 2014.4-2016.2; ghdl 0.18-0.33
|
||||
--
|
||||
-- Revision History:
|
||||
-- Date Rev Version Comment
|
||||
-- 2016-12-27 831 1.6.8 CPUERR now cleared with creset
|
||||
-- 2016-10-03 812 1.6.7 always define DM_STAT_SE.snum
|
||||
-- 2016-05-26 768 1.6.6 don't init N_REGS (vivado fix for fsm inference)
|
||||
-- proc_snum conditional (vivado fsm workaround)
|
||||
@@ -303,18 +304,28 @@ begin
|
||||
if rising_edge(CLK) then
|
||||
if GRESET = '1' then
|
||||
R_STATUS <= cpustat_init;
|
||||
R_CPUERR <= cpuerr_init;
|
||||
R_IDSTAT <= decode_stat_init;
|
||||
R_VMSTAT <= vm_stat_init;
|
||||
else
|
||||
R_STATUS <= N_STATUS;
|
||||
R_CPUERR <= N_CPUERR;
|
||||
R_IDSTAT <= N_IDSTAT;
|
||||
R_VMSTAT <= VM_STAT;
|
||||
end if;
|
||||
end if;
|
||||
end process proc_status;
|
||||
|
||||
-- ensure that CPUERR is reset with GRESET and CRESET
|
||||
proc_cpuerr: process (CLK)
|
||||
begin
|
||||
if rising_edge(CLK) then
|
||||
if GRESET = '1' or R_STATUS.creset = '1' then
|
||||
R_CPUERR <= cpuerr_init;
|
||||
else
|
||||
R_CPUERR <= N_CPUERR;
|
||||
end if;
|
||||
end if;
|
||||
end process proc_cpuerr;
|
||||
|
||||
proc_state: process (CLK)
|
||||
begin
|
||||
if rising_edge(CLK) then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id: tb_pdp11core_stim.dat 829 2016-12-26 18:56:17Z mueller $
|
||||
# $Id: tb_pdp11core_stim.dat 831 2016-12-27 16:51:12Z mueller $
|
||||
#
|
||||
# Revision History:
|
||||
# Date Rev Version Comment
|
||||
@@ -331,7 +331,7 @@ bwm 8
|
||||
001000 -- 1000 100000 base
|
||||
001200 -- 1200 120000 base
|
||||
001400 -- 1400 140000 base
|
||||
177600 -- 176000 (map to I/O page)
|
||||
177600 -- 177600 (map to I/O page)
|
||||
#-----------------------------------------------------------------------------
|
||||
C Setup code 1 [base 2100] (very basics: cont,start; 'simple' instructions)
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user