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
7f2d7f97d0
add tbench test_w11a_cpu_halt; minor changes; cosmetics
...
- tools/src/
- librwxxtpp/RtclRw11Cpu.cpp: fix rust code name
- tools/tbench
- cp/test_cp_cpubasics.tcl: use symbolic names via regbld
- w11a/test_w11a_cdma.tcl: fix attention harvest
- w11a/test_w11a_cpu_halt.tcl: added, verifies fatal CPU halts
- w11a/test_w11a_inst_wait.tcl: check cpu status
- w11a/w11a_all.dat: add test_w11a_cpu_halt.tc
- tools/tcode
- cpu_basics.mac: extend test A4.5
2023-01-07 13:51:33 +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
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
792b175100
content renames gpr -> gr
2022-10-28 08:48:07 +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
fc10cc5321
*.mac: ssr->mmr rename
2022-08-09 10:13:07 +02:00
wfjm
6b3aced4da
add test_w11a_inst_quick.tcl, cpu_selftest.mac
2022-07-15 07:44:16 +02:00
wfjm
aff6fe2c6d
add tcode cpu_eis.mac; end usage of test_w11a_div.tcl
...
- tbench/w11a/test_w11a_div.tcl: add div_show_exp for export of test cases
- tbench/w11a/w11a_all.dat: drop test_w11a_div.tcl
- tcode/cpu_all.dat: add cpu_eis.mac
- tcode/cpu_eis.mac: added
2022-07-11 10:15:13 +02:00
wfjm
a96f069835
tbench/dz11: add tests which use membe
...
- test_dz11_regs.tcl: add tdr(brk) -> stat test
- test_dz11_tx.tcl: add basic tbuf -> fdat test
2019-07-09 08:48:23 +02:00
wfjm
b4637b1fed
SPDX: tools/tbench/*/*.tcl
2019-07-08 09:18:35 +02:00
wfjm
aa4f3ae636
support byte access for em cacc access
...
- pdp11_vmbox: support membe for em cacc access
- test_cp_membasics.tcl: add membe tests for memory accesses
2019-06-30 11:47:18 +02:00
wfjm
2c049efbcf
consolidate DL,LP,PC after lessons learned in DZ
...
- ibdr_{dl,lp,pc}11_buf: size->fuse rename; re-organize rlim handling
- ibd_{dl,lp,pc}11/util.tcl: size->fuse rename
- tbench/{dl,lp,pc}11/test_*.tcl: size->fuse rename
- librw11/Rw11CntlDL11: size->fuse rename; use unit.StatInc[RT]x
- librw11/Rw11Cntl{LP,LP}11: size->fuse rename
2019-06-01 09:19:02 +02:00
wfjm
ff1451d928
add dz11 tbench
2019-05-30 14:58:58 +02:00
wfjm
3c73f61593
add M9312 (boot prom) emulation
...
- ibus/ibdr_maxisys: instantiate ibd_m9312
- ibus/ibd_m9312: added, boot prom emulation
- librw11/Rw11Cpu: add m9312 setup and HasM9312()
- tbench
- m9312: added, tbench for ibd_m9312
- kw11p: renamed from w11a_kw11p
2019-05-05 09:00:04 +02:00
wfjm
42461113b0
minor changes
...
- asm-11/lib/vec_devcatch.mac: use tti,tto instead of dlr,dlt
- ibdr_pc11: set rbuf.[rp]size0 (like dl11)
- librw11/Rw11Cntl{LP11,PC11}: use RtraceTools::
2019-04-28 12:57:18 +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
ee23d18f87
cosmetics
2019-04-26 10:54:22 +02:00
wfjm
4c5bcf5521
add intreq monitors; asm-11 prints erroneous lines
...
- ibd_kw11l:
- add csr.ir (rem; as intreq monitor)
- csr only loc writable
- csr.moni can be cleared, but not set by loc write
- ibdr_{dl11,lp11,lp11_buf}: add rcsr.ir and xcsr.ir (intreq monitors)
- asm-11: print lines with errors to stderr unless -lst seen
2019-04-26 10:52:57 +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
bc150d2f57
move test_lp11_all.tcl into lp11 folder
2019-04-26 10:28:42 +02:00
wfjm
785016763f
pc11_buf: buffered PC11; add lp11,pc11 mcodes
2019-04-24 12:59:58 +02:00
wfjm
afcf56463a
minor updates
...
- ibdr_lp11_buf.vhd: remove fifo clear on BRESET
- lib/defs_kwp.mac: use 'kp.' instead of 'kw.'
- lib/defs_kwl.mac: added
- rw11/shell_egd.tcl: shell_aspec_parse: allow 8,9 in numeric address
2019-04-21 19:30:16 +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
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
f9faf937b1
lp11_buf: output buffered; add tbench
...
- ib_rlim_{gen,slv}: new modules for implementation of rate limiters
- ibdr_lp11_buf: new LP11 interface with fifo buffering
- ibdr_maxisys: add ib_rlim_gen, ibdr_lp11_buf
- tbench/test_lp11_all.tcl: tbench for lp11 and lp11_buf
- Rw11CntlLP11: handles now also buffered lp11
2019-03-23 08:20:25 +01:00
wfjm
a36531709c
minor updates
...
- Rw11Probe: ctor: fData* initialized as 0 (not false)
- tbench/*/test_*.tcl: add proper device check
- ibd_ibtst: fix sensitivity list
- RlinkContext: BUGFIX: use proper polarity of status mask
- tools/asm-11/lib
- defs_*.tcl: add va.xxx and vp.xxx vector defs
- vec_devcatch{_reset}.mac: rename v..deu to v..xu
2019-03-17 09:48:03 +01:00
wfjm
ed5c8b7fc1
add cp -brf,-bwf; fix rblk handling for aborted transfers
...
- RlinkCommand:
- add BlockDoneAll()
- Print(): use BlockDone() as length for rblk
- RlinkConnect: DecodeResponse(): rblk expect check over BlockDone
- RtclRlinkConnect: M_exec(): tranfer BlockDone values after rblk
- RtclRw11Cpu:
- M_cp(): tranfer BlockDone values after rblk
- add cp -brf and -bwf; add range checks for cp -wa
2019-03-15 20:40:14 +01:00
wfjm
8abe1ed421
tbench: add ibd_ibmon, finish ibd_ibtst
2019-03-10 14:37:21 +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
e14d92f9cc
comment&code cosmetics
2019-03-08 16:44:44 +01:00
wfjm
1206e5d938
add ibd_ibtst; tbench code for ibd_ibtst and sdreg
...
- ibd_ibtst: added, an ibus tester device
- pdp11_sys70: instantiate ibd_ibtst (when sys_conf_ibtst = true)
- Rw11Cpu,RtclRw11Cpu: add ibmon setup and HasIbtst()
- tcl/ibd_ibtst/util.tcl: added, tcl support for ibd_ibtst
- tbench/w11a/test_w11a_sdreg.tcl: added, tbench for sdreg
- tools/tbench/w11a_ibtst/: added tbench for ibd_ibtst
2019-03-01 09:05:29 +01:00
wfjm
8d323848b3
Some minor updates
...
- top-level Makefile: drop w11a/arty_bram
- sys_w11a_s3: set BTOWIDTH 7 (was 6, must be > vmbox atowidth (6))
- RtclGet.ipp: use const& for oper() of string& and Rtime&
- *.Doxyfile: bump version to 0.77
- comment and docu updates
2019-02-24 12:50:38 +01:00
wfjm
233730885d
comment&code cosmetics; minor changes
2018-12-08 09:25:25 +01:00
wfjm
706abfa8cc
finalize kw11p and dmpcnt tbench
2018-10-14 15:04:53 +02: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
15efcf961f
add dmpcnt test bench (short and preliminary)
2018-09-30 09:36:51 +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
97f1539292
add test_w11a_mem70.tcl; retire old tests tb_w11a_mem70*.dat
2017-06-25 15:43:19 +02:00
wfjm
a9425599e7
Miscellaneous fixes and changes
...
- ibdr_deuna: add logic to handle 'PDMD issued while busy'
- Rw11CntlDEUNA: adopt trace and statistics
- hook_ibmon_xua.tcl: use .imf,.ime
2017-05-28 13:33:39 +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
8238d3930b
tbench support for DEUNA
2017-04-17 21:29:36 +02:00
Walter F.J. Mueller
e11143de37
comment updates/fixes
2017-02-04 17:06:44 +01:00