wfjm
00559faaaa
minor updates
...
- tools
- asm-11/lib/defs_xu.mac: add xt.* and xr.* definitions
- oskit/211bsd_rk/211bsd_rk_boot.ecmd: add tt1: mode: definition
- tcl/rw11/shell.tcl: update '.h' and '.ha' text output
- tcode/cpu_basics.mac: A4.4: change exemptions, e11 now like 11/70 and w11
2023-05-19 17:34:57 +02:00
wfjm
75578c0f10
mlib: add pushm etc; rw11/shell: add ODX format
...
- tools
- asm-11/mlib: add pushm,popm,callp and helpers
- tcl/rw11/shell_egd.tcl: add ODX format option for .e command
- tcode/cpu_(details|mmu).mac: use pushm,popm
2023-02-18 11:34:01 +01:00
wfjm
724cb35b6d
add rk11perf.tcl; asm.tcl and shell.tcl updates
...
- tools/
- mcode/rk11/rk11perf.tcl: added, RK11 performance tested
- tcl/rw11/asm.tcl: asmrun: re-organize -stop -creset handling
- tcl/rw11/shell.tcl: add rw11::shell_attnmuted to mute CPU attn messages
2023-02-01 08:33:19 +01:00
wfjm
ba4aa45c48
update tbench and tcode
...
- tools/bin/tmuconv: add memory system register names
- tools/src
- librw11/Rw11Cpu: add kCPUUBMAP
- librwxxtpp/RtclRw11Cpu.cpp: use kCPUUBMAP
- tools/tbench
- cp/cp_all.dat: add test_cp_ubmap.tcl
- cp/test_cp_cpubasics.tcl: add creset test
- cp/test_cp_gr.tcl: streamline, use longer command chains
- cp/test_cp_membasics.tcl: add 22bit mode tests
- cp/test_cp_ubmap.tcl: added, test access via ubmap
- w11a/test_w11a_dstr_word_flow.tcl: renamed from test_w11a_dstm_word_flow.tcl
- w11a/test_w11a_cdma.tcl: added, test bwm/brm with active CPU
- w11a/test_w11a_inst_traps.tcl: use defs_cpu.mac include
- w11a/test_w11a_inst_wait.tcl: added, tests WAIT instruction
- w11a/w11a_all.dat: add test_w11a_inst_wait.tcl, test_w11a_cdma.tcl
- tools/tcl/rw11/defs.tcl: add A_UBMAP
- tools/tcode
- cpu_details.mac: add A5
- cpu_mmu.mac: add F2
2023-01-06 14:02:45 +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
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
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
9614b01644
RtclRw11Cpu.cpp: M_show: fix mmr1 display, better mmr0 display
2022-09-11 08:50:52 +02:00
wfjm
48e08a5bcb
ssr->mmr rename: the final cleanup
2022-08-18 09:06:43 +02:00
wfjm
621c200b11
*.*pp,*.tcl: ssr->mmr rename
2022-08-10 08:04:19 +02:00
wfjm
da1f0c151e
Add first tcode; RtclRw11Cpu BUGFIX
...
- rtl/sys_gen/w11a/*/tbrun.yml: add tcode execution
- tools/tcode: new area for add fast mac-only verification codes
- tools/tcl/rw11
- tcodes.tcl: added, driver for tcode execution
- tools/src/librwxxtpp
- RtclRw11Cpu.cpp: BUGFIX: quit before mem write if asm-11 error seen
2022-07-08 08:35:39 +02:00
wfjm
b6e47e0237
SPDX: tools/tcl/*/*.tcl
2019-07-07 17:52:04 +02:00
wfjm
e85de05938
add dz11 backend
...
- RtraceTools: TraceBuffer: add level 5 (full word dump)
- Rw11Cntl: UnitSetupAll(): now virtual
- Rw11CntlBase: add kNUnit constant
- RtclRw11CntlFactory: add DZ11
- Rw11{Cntl,Unit}DZ11: added
- rw11/util.tcl: add dz11 support
- oskit/*/*_boot.tcl: add dz11 line handling in setup_tt call
2019-05-26 08:51:34 +02:00
wfjm
1c9dbeb4ed
dl11_buf: buffered DL11; add tbench
...
- ibdr_dl11_buf: new DL11 interface with fifo buffering
- ibdr_dl11: drop rbuf.rrdy, set rbuf.[rx]size0 instead
- ibdr_maxisys: add ibdr_dl11_buf
- librw11/RtraceTools: new, some helper methods for buffer tracing
- librw11/Rw11CntlDL11: add dl11_buf readout
- librwxxtpp/RtclRw11CntlDL11: add getters& setters for dl11_buf readout
- ibd_dl11/util.tcl: setup defs for dl11_buf; add rdump proc
- rw11/util.tcl: setup_tt: add dl{rxqlim,txrlim}; dlrrlim->dlrxrlim
- oskit/*/*_boot.tcl: setup dlrxrlim
- tbench/dl11: tbench for dl11(_buf)
2019-04-28 12:51:58 +02:00
wfjm
b08d8162dc
KW11-P ext evt selectable; pc11copy with kw11 stress
...
- ibd_kw11p:
- add csr.ir (rem; as intreq monitor)
- the source of external events (rate=11) is now selectable vai an new rem
accessible csr.erate field. options: sysclk, 1 Mhz, extevt, none
- w11a_hbpt/test_hbpt_basics.tcl: leave system in clean state at end
- mcode/pc11/pc11copy.mac: add kw11-l/p stress (further ECO-030 testing)
2019-04-26 10:44:42 +02:00
wfjm
785016763f
pc11_buf: buffered PC11; add lp11,pc11 mcodes
2019-04-24 12:59:58 +02:00
wfjm
f9f7000a4a
minor w11 shell fix; forgotten file
2019-04-24 11:33:04 +02:00
wfjm
9b7b3bd5c8
UnitSetup overhaul; new pc11 boot loader; minor changes
...
- ibus/ib_rlim_gen: add CPUSUSP port; RLIM_CEV now slv8
- ibus/ib_rlim_slv: RLIM_CEV now slv8
- ibus/ibdr_{dl11,lp11_buf}: RLIM_CEV now slv8
- bin/asm-11: fix -help text
- bin/ldadump: added, lda file dumper
- src
- Rw11Cntl: add UnitSetup(), UnitSetupAll()
- Rw11Cntl{DEUNA,DL11,RHRP,RK11,RL11,TM11}: call UnitSetupAll() in Start()
- Rw11CntlLP11: remove SetOnline(), use UnitSetup()
- Rw11CntlPC11:
- BootCode(): boot loader rewritten
- remove SetOnline(), use UnitSetup()
- Rw11Cpu
- add defs for w11 cpu component addresses;
- add MemSize(),MemWriteByte()
- LoadAbs(): return start, better odd byte handling;
- Rw11VirtStream: add Error(),Eof()
- RtclRw11Cpu:
- BUGFIX: M_wtcpu(): check cpu attn in no-server case
- add MemSize() getter
- M_loadabs(): add -trace and start
- ibd_pc11/util.tcl: use rdy instead of done in PCSR
- rw11/util.tcl: setup_lp: add rlim option
2019-04-14 15:52:12 +02:00
wfjm
2ae1055ee5
ibdr_{pc11,dl11}: changes for buffered version compat
...
- ibdr_dl11
- now xbuf.val in bit 15 and 8;
- use rbuf instead xbuf for rdry reporting
- remove maintenance mode
- use ib_rlim_slv; add RLIM_CEV, drop CE_USEC
- ibdr_pc11
- pbuf.pval in bit 15 and 8
- move rbusy reporting from pbuf to rbuf register
- ibdr_maxisys,ibdr_minisys: adapt to new ibdr_dl11 iface
- tb_rlink_tba_pdp11core_ibdr.dat: adapt to new ibdr_dl11 iface
- tcl/rw11/util.tcl: setup_tt: rename dlrlim to dlrrlim
- oskit/*/*_boot.tcl: use dlrrlim instead of dlrlim
- Rw11CntlDL11,Rw11CntlPC11: adapt to new dl11,pc11 iface
- tools/asm-11/lib/defs_{dl,pc}.mac: added definition file
- tools/oskit/hook/hook_ibmon_{pca,tta}.tcl: added imon hook file
2019-04-07 15:43:27 +02:00
wfjm
895755ef72
finalize lp11 and minor updates
...
- RlinkServer: trace now with timestamp and selective
- Rw11CntlLP11: add fQueBusy and queue protection; fix logic; better trace
- test_lp11_all.tcl: check csr.err and csr.rlim not changed by breset
- rw11/asm.tcl: asmwait: allow alternate stop symbol
2019-04-07 13:04:23 +02:00
wfjm
059d3b7f14
ibdr_lp11: move valid bit to msb
2019-03-17 10:01:38 +01:00
wfjm
73adad79e1
minor changes and fixes
...
- *.Doxyfile: update to 1.8.15 template format (from 1.8.7)
- tst_sram: define and use init_rbf_*
- rbd_rbmon: more robust ack,err trace when busy
- pdp11.vhd: define c_init_rbf_greset
- pdp11_core_rbus: rename state field rbinit to greset
- pdp11_sys70: add and use RESET_SYS; fix pdp11_mem70 reset
- test_cp_ibrbasics.tcl: use imap addresses for test area
- rbmoni/test_regs.tcl: add a few cntl logic tests
- rbmoni/util.tcl: streamline raw_check
- rw11/defs.tcl: define INIT bits
- rw11/tbench.tcl: bench_list: ignore whitespace and empty lines
- tst_sram/util.tcl: define INIT
2019-03-08 17:52:34 +01:00
wfjm
e1abc27983
comment&code cosmetics; minor changes
2018-11-11 09:50:46 +01:00
wfjm
e29aa10096
finalize performance counter support
...
- rw11/dmpcnt.tcl: add pc_* procs to start and stop logger
- dmpcntanal: added, a script to analyse logger data
2018-10-30 15:14:55 +01:00
wfjm
f903bda7b4
Workaround for tclreadline and after interference
...
- using in tcl 8.6 a timed `after` together with `tclreadline` injects
spurious text of the form `after#nnn` into the readline input buffer.
- the `rw11/shell` overloads `unknown`, inviting for a bloody HACK which
simply checks for such prefixes, scrubs them, and retries the command.
2018-10-29 11:57:38 +01:00
wfjm
3eedd7f5c8
comment&code cosmetics; minor changes
2018-10-14 14:57:39 +02:00
wfjm
f40108cb95
drop DM_STAT_SY, add DM_STAT_CA and cache monitoring
2018-10-07 08:50:11 +02:00
wfjm
1be14ad15f
Integrate dmpcnt in all w11 designs and backend
...
- pdp11_sequencer: add DM_STAT_SE.(cpbusy,idec)
- pdp11_sys70: only preliminary set of signals, cache signals kludged
2018-09-30 09:35:30 +02:00
wfjm
4df1d3e549
minor comment corrections/additions
2018-09-21 19:35:31 +02:00
wfjm
af57bb4201
add KW11-P test bench
2018-09-15 17:31:54 +02:00
wfjm
15a8f0e4e4
get disclaimers in line with GPL V3 License.txt
2018-01-03 10:04:30 +01:00
wfjm
60b6a660d0
shell_egd.tcl: BUGFIX: shell_pspec_map: fix mapping for addr>20000
2017-06-10 11:40:40 +02:00
Walter F.J. Mueller
7977206a8b
code and comment cosmetics
2017-05-07 18:54:16 +02:00
Walter F.J. Mueller
d14626ce29
dmcmon: new interface, proper wait handling, vivado friendly
...
- dmcmon has now the sta,sto,sus,res logic as rbmon and ibmon
- dmcmon does not depend on full state number generation anymore
- dmcmon missed WAIT instructions so far, has been fixed
- related changes:
- pdp11_sequencer can now return a simple instruction type based snum
- sys_w11a_n4 includes dmcmon again (now independent of dmscnt!)
2017-04-23 18:13:52 +02:00
Walter F.J. Mueller
509c3719bd
integrate rbus monitor in w11 shell; setup procs idempotent
...
- RlinkConnect: add rbus monitor probe, add HasRbmon()
- RtclRlinkConnect: M_amap: -testname opt addr check; add hasrbmon get
- RtclRw11Cpu: M_(imap|rmap): -testname optional addr check
- ti_rri: setup rbus monitor if detected
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- ibd_ibmon/util.tcl: setup: now idempotent; move out imap_reg2addr
- rbmoni/util.tcl: setup: now idempotent; add procs filter,rme,rmf
- rlink/util.tcl: add amap_reg2addr
- rw11/util.tcl: move in imap_reg2addr; add imap_range2addr
- rw11/shell.tcl: integrate rbmon: add .rme,.rmd,.rmf,.rml
- rw11/dmhbpt.tcl: hb_set: use imap_range2addr, allow regnam and range
- */util.tcl: setup: now idempotent
2017-04-22 15:33:04 +02:00
Walter F.J. Mueller
4cb079d5a0
backend for DEUNA
...
- Rw11CntlDEUNA: controller and almost all logic
- Rw11UnitDEUNA: unit
2017-04-17 21:15:37 +02:00
Walter F.J. Mueller
95c9a63626
w11 shell: add /u option (memory access via ubmap)
2017-04-09 22:57:38 +02:00
Walter F.J. Mueller
8e6d604de4
revise interface for ibd_ibmon and rbd_rbmon
...
- use start,stop,suspend,resume functions; improved stop on wrap handling
- add 'repeat collapse' logic (store only first and last of a sequence)
2017-04-09 22:56:23 +02:00
Walter F.J. Mueller
1ac2d8bfbf
defs for auxilliary devices (kw11l,kw11p,iist)
2017-04-09 22:52:51 +02:00
Walter F.J. Mueller
20b4becd38
minor updates:
...
- asm.tcl: asmrun: allow 'ps' in initializer list
- Rw11UnitStream: Pos(): return -1 if not attached
2017-02-04 17:12:15 +01:00
Walter F.J. Mueller
d08545fc47
re-shuffle rw11::shell code
2017-01-07 18:28:29 +01:00
Walter F.J. Mueller
b2e7c1cdbb
rw11::shell.tcl now default environemnt in ti_w11
...
- tools/bin/ti_w11: use rw11::shell by default; add -ns to suppress it
- tools/oskit/*/*_boot.tcl: remove activation of cpucons and cpumon
- tools/src/librwxxtpp
- RtclRw11Cpu.cpp: use 'ssr' instead of 'mmr' for MMU register names
- tools/tcl/rw11:
- defs.tcl: fix typo in regmap_add for SDR's
- shell.tcl: add '@' command
- shell_simh.tcl: added, simh command converter
- *: README updates
2016-12-31 11:04:22 +01:00
Walter F.J. Mueller
00e78a1117
major overhaul of rw11::shell.tcl
...
- tools/tcl/rw11/shell.tcl
- rename all command, add leading '.' to guarantee uniqueness
- add .csus,.csto,.cres,.csta: suspend, stop, reset and start CPU
- add .cme,.cmd,.cml: enable, disable and list cpu monitor (dmcmon)
- add .ime,.imd,.imf,iml: enable, diable, setup filter and list ibus monitor
- add ?m,?u: show mmu and ubmap status
- add .hr: help on registers
- improve buildin help, better .h and additional .ha (for aspec's)
- redo ^D,.q..qq logic (assuming that it's default shell in ti_w11)
- tools/tcl
- ibd_ibmon/util.tcl: add proc filter
- rw11/dmcmon.tcl: cm_print: protect against empty lists
2016-12-30 16:24:15 +01:00
Walter F.J. Mueller
cfd8802218
re-organize .gitignores
2016-12-17 20:18:29 +01:00
Walter F.J. Mueller
238b6e4276
rename .cvsignore -> .gitignore
2016-12-17 16:28:37 +01:00
Walter F.J. Mueller
e1479d4e5d
- Add Arty support (BRAM only)
...
- Add sysmon/xadc support (for nexys4,basys3,arty designs)
- Add Vivado simulator support (DPI not yet working)
2016-03-19 15:45:59 +00:00
Walter F.J. Mueller
677773d123
- Add CPU debug and monitoring units (dmhbpt,dmscnt,dmcmon)
2015-12-30 20:21:18 +00:00
Walter F.J. Mueller
24fde41c6a
- added TM11/TU10 tape support
2015-06-05 12:11:41 +00:00
Walter F.J. Mueller
4a032e9436
- added RH70/RP/RM big disk support
...
- many cleanups
2015-05-14 17:00:36 +00:00