1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-12 00:43:01 +00:00

216 Commits

Author SHA1 Message Date
wfjm
8c34d690a1 vivado 2023.1 resource comments [skip ci] 2023-05-20 17:54:11 +02:00
wfjm
12ada8fbf7 pdp11_sequencer BUGFIX: restore PSW after vector push abort
- rtl/w11a/pdp11_sequencer.vhd: BUGFIX: restore PSW after vector push abort
- tools
  - tcode/cpu_details.mac: add A3.6, verify PSW after vector push abort
  - tcode/cpu_mmu.mac: D2.1: verify PSW
  - gwstart/lib/dpath.tcl: added, show dpath basics
2023-03-23 10:21:21 +01:00
wfjm
7a72da83d6 minor edits 2023-02-10 12:16:50 +01:00
wfjm
89a1fe6ef0 add sys_tst_serloop[12]_b3 designs 2023-02-08 20:18:20 +01:00
wfjm
a72244728f add tb_*_dummy files [skip ci] 2023-02-07 10:25:20 +01:00
wfjm
3318f99276 BUGFIX: handle CPUERR.rsv correctly
- rtl/w11a
  - pdp11.vhd: vm_stat_type: add err_ser
  - pdp11_sequencer.vhd: BUGFIX: handle CPUERR.rsv correctly
  - pdp11_vmbox.vhd: use err_ser to indicate fatal stack error
- tools/tcode/cpu_details.mac: update A2.7-10
2023-01-11 17:31:21 +01:00
wfjm
9c49c9ad58 tmu and tmuconv update; test_w11a_cdma tune-up
- rtl/w11a
  - pdp11.vhd: _tmu,_tmu_sb: add port DM_STAT_SE
  - pdp11_sys70.vhd: pass DM_STAT_SE to pdp11_tmu_sb
  - pdp11_tmu.vhd: add vm.vmcntl.[cm]acc, se.[iv]start fields
  - pdp11_tmu_sb.vhd: add port DM_STAT_SE
  - tb/tbd_pdp11core.vhd: pass DM_STAT_SE to pdp11_tmu_sb
- tools/bin/tmuconv: use vm.vmcntl.[cm]acc, se.[iv]start fields; add type
                     column to em line; remove VFETCH/VPUSH heuristics;
                     add -t_emm, -t_fle, -t_fli, -i_flei
- tools/tbench/w11a/test_w11a_cdma.tcl: stop A2 code via PIRQ
2023-01-08 14:38:30 +01:00
wfjm
6831d1cda5 conclude cc and abort review, accept s_opg_gen handling
- tools/tcode/cpu_details.mac: add B3.4
2023-01-03 09:27:13 +01:00
wfjm
26daa71634 BUGFIX: cc state unchanged after abort - mtp/mfp case
- rtl/w11a/
  - pdp11_dpath.vhd: use c_dpath_dsrc_src,c_dpath_ddst_dst
  - pdp11_sequencer.vhd: BUGFIX: cc state unchanged after abort (mtp/mfp)
- tools/tcode
  - cpu_basics.mac: add F4.1-6
  - cpu_details.mac: add B3.2-3
2023-01-02 16:27:46 +01:00
wfjm
b59d545956 BUGFIX: cc state unchanged after abort - dstw case
- rtl/w11a/
  - pdp11_psr.vhd: BUGFIX: inhibit CCWE when PSW being written
  - pdp11_sequencer.vhd: BUGFIX: cc state unchanged after abort
- tools
  - bin/tmuconv: fix ru header
  - gwstart/lib/psr.tcl: added, definitions for psr
  - tcode/cpu_details.mac: update A4.1, add B3.1

Closes #37
2023-01-01 11:45:41 +01:00
wfjm
67437bf140 minor cleanups; update vmfset and imfset
- Makefile: drop ISE targets except for w11a
- rtl/sys_gen/**/*.*mfset: accomodate recent changes
- rtl/w11a
  - pdp11_dpath.vhd: remove PCOUT port
  - pdp11_sequencer.vhd: remove PC port
2022-12-27 13:32:12 +01:00
wfjm
c9d447f2be tbit trap overhaul - part 2
- rtl/w11a
  - pdp11_sequencer.vhd: tbit logic overhaul 2, now fully 11/70 compatible
- tools/tcode
  - cpu_details.mac: add A4.4 part 0,8,9,10
  - cpu_mmu.mac: use m*pd
2022-12-26 12:26:51 +01:00
wfjm
0875d4e8fa docu updates [skip ci] 2022-12-21 12:58:05 +01:00
wfjm
78e033cda7 fix MMU trap after IB access; add vector push abort recovery demonstrator
- rtl/w11a
  - pdp11_mmu.vhd: some logic cleanup
  - pdp11_vmbox.vhd: BUGFIX: request mmu trap also on ib accesses
- tools/tcode/cpu_mmu.mac: add D2.1 (vector abort recovery demo) and E1.5
2022-12-18 13:03:49 +01:00
wfjm
ef5c6b1ee3 pdp11_sequencer: implement MMR0,MMR2 instruction complete
- rtl/w11a
  - pdp11.vhd: dm_stat_se_type: rename vfetch -> vstart;
               mmu_moni_type: drop pc,idone, add vstart,vflow
               pdp11_mmu_mmr12: add VADDR port
  - pdp11_dmcmon.vhd: dm_stat_se_type: rename vfetch -> vstart
  - pdp11_mmu.vhd: implement MMR0 instruction complete
  - pdp11_mmu_mmr12.vhd: implement MMR2 instruction complete
  - pdp11_sequencer.vhd: implement MMR0,MMR2 instruction complete
  - pdp11_sys70.vhd: dm_stat_se_type: rename vfetch -> vstart
- tools
  - tbench/w11a_pcnt/test_pcnt_basics.tcl: rename vfetch -> vstart
  - tbench/w11a_pcnt/test_pcnt_codes.tcl: rename vfetch -> vstart
  - tcl/rw11/dmcmon.tcl: rename vfetch -> vstart
  - tcl/rw11/dmpcnt.tcl: rename vfetch -> vstart
  - tcode/cpu_mmu.mac: rename C2.7 -> C2.10, add C2.7-9
  - xxdp/ekbee1_patch_w11a.tcl: now patch for MMR1, not longer skip
2022-12-16 19:18:50 +01:00
wfjm
2407e662a9 pdp11_sequencer: BUGFIX: get correct PS after vector push abort
- rtl/w11a
  - pdp11.vhd: add cpustat_type in_vecflow
  - pdp11_sequencer.vhd: BUGFIX: get correct PS after vector push abort
- tools
  - tcode/cpu_details.mac: add test A3.5
  - tcode/cpu_mmu.mac: add test C2.5, C2.6, C2.7
  - xxdp/ekbee1_patch_1170.scmd: fix test 122
  - xxdp/ekbee1_patch_w11a.tcl: fix test 122
2022-12-12 09:02:34 +01:00
wfjm
44c96ec4ab tbit trap overhaul; fix RESET wait
- rtl/w11a:
  - pdp11.vhd: add cpustat_type treq_tbit and resetcnt; use op_rti rather op_rtt
  - pdp11_decode.vhd: use op_rti rather op_rtt
  - pdp11_sequencer.vhd: tbit logic overhaul; use treq_tbit; cleanups;
                         use resetcnt for 8 cycle RESET wait
- rtl/sys_gen/w11a/s3board/sys_conf.vhd: disable monitors for timing closure
- rtl/sys_gen/w11a/*/*.vmfset: drop removed signals
- tools
  - asm-11/lib/push_pop.mac: add push2
  - tbench/w11a/test_w11a_inst_quick.tcl: use creset option to clr pending traps
  - tcl/rw11/asm.tcl: asmrun: add creset option (active with ps option)
  - tcode/cpu_basics.mac: add F2.3 (reset settling time)
  - tcode/cpu_details.mac: add A4.* (PSW + tbit traps)
2022-12-07 15:48:48 +01:00
wfjm
2421554d4e renames, cleanups, SimH V3.12-3 ready
- rtl/w11a
  - pdp11.vhd: rename cpuerr_type adderr->oddadr etc
  - pdp11_mmu.vhd: rename mmu_mmr0_type dspace->page_dspace
  - pdp11_sequencer.vhd: rename adderr -> oddadr, don't set after err_mmu
- tools/asm-11/lib/defs_reg70.mac: rename cp.aer -> cp.odd
- tools/dasm-11/lib/defs_reg70.das: rename cp.aer -> cp.odd
- tools/tcl/rw11/defs.tcl: rename adderr -> oddadr (in cpuerr)
- tools/tcode
  - cpu_details.mac: minor updates; get SimH V3.12-3 ready
  - cpu_mmu.mac:  minor updates; get SimH V3.12-3 ready
2022-12-01 09:04:57 +01:00
wfjm
f6ff0fa701 pdp11_sequencer: BUGFIX: correct mmu trap vs interrupt priority
- rtl/w11a/pdp11_sequencer: BUGFIX: correct mmu trap vs interrupt priority
- tools/asm-11/lib/halt_checks.mac: add htstge
- tools/tcode
  - cpu_details.mac: add test A1.2
  - cpu_mmu.mac: add test E2.1
2022-11-29 08:41:18 +01:00
wfjm
85f1854c60 pdp11_sequencer: BUGFIX: correct mmu trap handing in s_idecode
- rtl/w11a
  - pdp11.vhd: add cpustat_type intpend
  - pdp11_sequencer: BUGFIX: correct mmu trap handing in s_idecode
- tools/tbench/rhrp/test_rhrp_int.tcl: increase expected interrupt latency
- tools/tcode/cpu_mmu.mac: add E1.3 and E1.4

Closes #36
2022-11-24 16:19:20 +01:00
wfjm
40608e35fe pdp11_sequencer: BUGFIX: correct ysv flow implementation
- rtl/w11a
  - pdp11.vhd: rename, eg srv->ser; drop trap_done; add in_vecysv
  - pdp11_sequencer: renames; BUGFIX: correct ysv flow implementation
  - pdp11_vmbox.vhd: rename some rsv->ser; remove obsolete trap_done
- tools/tbench/w11a/test_w11a_cpuerr.tcl: removed, all in cpu_details.mac
- tools/tcl/rw11/defs.tcl: renames
- tools/tcode/cpu_details.mac: expand A3.3, add A3.4
2022-11-23 08:46:12 +01:00
wfjm
b5189053d3 pdp11_vmbox: BUGFIX: correct red/yellow zone boundary 2022-11-20 13:14:23 +01:00
wfjm
3542cc5ca2 do STKLIM check for mode 1,2,4,6 in dstr flows
- pdp11_sequencer.vhd: BUGFIX: use is_kstackdst1246 also in dstr flow
- tools/asm-11/lib/
  - defs_cpu.mac: rename cp.sli -> cp.slr
  - halt_checks.mac: add htstne, htsbne
- tools/tcode
  - cpu_basics.mac: rename cp.sli -> cp.slr
  - cpu_details.mac: add Test A3: STKLIM
  - cpu_(eis|mmu).mac,tcode.ecmd: editorial changes
2022-11-18 17:00:06 +01:00
wfjm
c5596720dc pdp11_sequencer: rename s_int_* -> s_vec_*, s_trap_* -> s_abort_* 2022-10-30 08:22:36 +01:00
wfjm
792b175100 content renames gpr -> gr 2022-10-28 08:48:07 +02:00
wfjm
feff6feca7 file rename pdp11_gpr -> pdp11_gr [skip ci] 2022-10-26 09:26:38 +02:00
wfjm
9ca20e39ac get ready for V0.792
- rtl/w11a/tb/
  - tbrun.yml: retire last tb_pdp11core_stim.dat based test
  - tb_pdp11core_stim.dat: remove file, now unused and obsolete
- tools/tcode/tcode.ecmd: ensure that unibus map window is not memory
- tools/dox/*.Doxyfile: up version
2022-10-25 09:25:36 +02:00
wfjm
6a0031030b retire tb_pdp11core_stim.dat based tbrun tests 2022-10-24 10:53:25 +02:00
wfjm
22a2eeea9d tcode: add tests; minor changes
- cpu_details.mac: add C1.* tests
- cpu_mmu.mac: B4.1: check stored PC in SimH and w11 case
2022-10-23 09:47:14 +02:00
wfjm
11091f15bc tcode: add CPU mode 10 tests; minor changes
- cpu_details.mac: fix systyp checks;
- cpu_mmu.mac: add MMR0/3 unimplented bit tests; add B4.1 and B4.2 tests
2022-10-22 12:22:07 +02:00
wfjm
6ff9c8e57c tcode: add CPUERR tests; minor changes
- cpu_details.mac: add section A2.* (cpuerr tests)
- tcode_exec.scmd: use 3M config; set STOP_SPA to 0
2022-10-18 09:01:17 +02:00
wfjm
3134c8ac82 finalize fix for I space mode=1 in s_dstr_def 2022-10-06 11:25:15 +02:00
wfjm
278d2e229d pdp11_sequencer: BUGFIX: use I space for all mode=1,2,3 if reg=pc
- tcode/cpu_mmu.mac: add test F1.1 (verify fix)

Closes #35
2022-09-12 11:12:59 +02:00
wfjm
1644863a58 pdp11_mmu.vhd: BUGFIX: correct trap and PDR A logic
- tools/asm-11/lib/defs_mmu.mac: rename md.a??, saner names for ACF
- tcode/cpu_mmu.mac: add E1.1, test m0.trp, pdr aia/aiw transitions (verify fix)

Closes #34
Closes #33
Closes #26
Closes #25
2022-09-09 09:01:06 +02:00
wfjm
6820bba0e4 cpu_mmu: add C2.2 and C2.3 tests 2022-09-04 07:57:42 +02:00
wfjm
3bd23c9cd4 FIX: pdp11_mmu_mmr12: MMR1 write logic fix
Closes #24
2022-09-03 09:12:51 +02:00
wfjm
1b4b641d57 cpu_mmu: add D1.1: full mmr2+mmr1 test 2022-08-30 07:56:31 +02:00
wfjm
f09814e847 pdp11_psr: handle pm protection like cm 2022-08-29 11:09:43 +02:00
wfjm
4a7f5612cf sysid: encode system type 2022-08-22 08:50:07 +02:00
wfjm
48e08a5bcb ssr->mmr rename: the final cleanup 2022-08-18 09:06:43 +02:00
wfjm
6dfc0489aa *.vhd: ssr->mmr rename (files changed) [skip ci] 2022-08-16 07:56:21 +02:00
wfjm
3ebe054190 *.vhd: ssr->mmr rename (file renames) [skip ci] 2022-08-14 08:14:55 +02:00
wfjm
621c200b11 *.*pp,*.tcl: ssr->mmr rename 2022-08-10 08:04:19 +02:00
wfjm
e7d26bf06f tcode cpu_details.mac: add B*: Stress tests 2022-07-25 08:01:29 +02:00
wfjm
e1a577f26e cpu_eis.mac: add MUL,DIV odd, XOR 2022-07-21 08:10:47 +02:00
wfjm
8fe17e59b1 fix dangling ${sys_conf}; tmuconv update [skip ci]
- rtl/sys_gen/*/*.vbom: some vbom's had undefined ${sys_conf} references
- tools/bin/tmuconv: add -t_vf -t_all; fis mnemos; add headers
2022-07-19 07:53:26 +02:00
wfjm
e62e2fd995 cpu_eis.mac: add ASH,ASHC 2022-07-18 07:48:31 +02:00
wfjm
5d6a14f8b8 add tcode pu_badinst_nofpp.mac 2022-07-17 08:03:31 +02:00
wfjm
6b3aced4da add test_w11a_inst_quick.tcl, cpu_selftest.mac 2022-07-15 07:44:16 +02:00
wfjm
c1f2c0bfae remove Atlys support (only test designs, w11 design never done) 2022-07-14 08:01:05 +02:00