1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-21 18:44:41 +00: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
..
2022-12-02 10:29:03 +01:00
2022-08-08 09:40:44 +02:00

This directory contains the w11 test codes.

The tcodes are MACRO-11 stand-alone codes. They are meant for verification and not as diagnostic tool:

  • in case of success, they stop on a halt at 2000, thus with PC=002002
  • in case of error, they halt at the point of the failed check

The codes can be executed

  • in a w11 GHDL simulation, usually via a ti_w11 -c7 -w -e <mac-file>
  • with SimH, usually via a load <lda-file>, dep pc 200, cont
  • with e11, usually via a mount pr: <lda-file>, boot pr:

A Makefile is provided with the targets

  make alllda           all .lda + .lst files
  make alllst           all .lst files
  make allexp           all exp.mac export files
  make alltsim          all SimH tests
  make allte11          all e11 tests
  make alltw11          all w11 GHDL simulation tests
  make <tcode>.lda      compile, create .lda + .lst
  make <tcode>.lst      compile, create .lst
  make <tcode>.exp.mac  compile with -E
  make <tcode>.tsim     run on SimH simulator
  make <tcode>.te11     run on e11  simulator
  make <tcode>.tw11     run on w11  GHDL simulation (for C7)