1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-23 19:36:31 +00:00

85 Commits

Author SHA1 Message Date
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
058f88b9a0 tools/bin: add dasm-11, a PDP-11 disassembler [skip ci] 2022-09-01 08:44:23 +02:00
wfjm
faf596e531 tmuconv updates [skip ci]
- add -emcancel; drop em 'cancel' when -t-ib
- print ru after em,ib, best for reg from mem cases
- map r6,r7 to sp,pc for rdst,1reg,rsrc instructions
2022-08-23 08:04:24 +02:00
wfjm
7b9eed22ac asm-11: add -E,-M option 2022-08-11 08:42:31 +02:00
wfjm
1f7cf00c35 asm-11: BUGFIX '100(pc)' was compiled as '100'
- asm-11: do pc-relative offset calculation correctly
- tools/asm-11/tests:
  - test_0100_op_g, test_0110_op_gg: add test cases for this bug
  - test_0140_op_o.mac: add value checks

Closes #32
2022-07-29 08:34:23 +02:00
wfjm
2714d21f83 asm-11: fix lost -x chmod flag 2022-07-26 08:52:42 +02:00
wfjm
132e4ea7e8 asm-11: add limited macro support 2022-07-26 08:34:43 +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
35453c4bdf cleanup SimH setup files (*.scmd); create_disk update [skip ci]
- tools/bin/create_disk: -help: print byte size of disk
- tools/simh/setup_w11a_(min|max).scmd: use autoconfig, cleanups
- tools/oskit
  - *: set RL/RP disk types
  - rsx11mp-30_rp/rsx11mp-30_rp_boot.scmd: disable STOP_TRAPS simulator stops
  - u7ed_rp/u7ed_rp_boot.scmd: use setup_w11a_max.scmd and 2M memory
2022-07-16 08:48:26 +02:00
wfjm
f2ced63b0d tbrun_tbwrri and ti_w11 updates
- tbrun_tbwrri: fully implement --r(l|b)mon
  - ti_w11: add -w and -to options
2022-07-10 12:29:41 +02:00
wfjm
1401e20a2e Some minor updates
- rtl/vlib/rlink/tbcore/rlink_cext_dpi.c: add function prototypes
- rtl/sys_gen/tst_rlink/cmoda7/tb: add missing ssim vbom
- tools/bin
  - ti_w11: update --help text, add -ar,-n4d,-bn4d
  - tmuconv: add DEUNA defs
2022-07-07 09:30:31 +02:00
wfjm
88f8360e44 njobihtm: add -n and -h options; update simh install 2022-06-05 10:23:19 +02:00
wfjm
7ec5be2a30 final touches for V0.791 release
- exptest/util.tcl: add proc et_tstline{0,1}; add et_exp el sub command
- console_starter: change simh port handling
- simh/setup_w11a_(max|min).scmd: adjust port handling
- docu updates
2022-04-24 18:13:35 +02:00
wfjm
6b8c0633bc catch-up after a two years hiatus
- drop Travis support (now defunct)
- generic_cpp.mk: use -std=c++17 (requires gcc 7.3 or later)
- RlinkPortCuff : drop libusb_set_debug (now deprecated)
- viv_tools_config.tcl: use open_hw_manager
- vbomconv: ghdl_m: use -Wl,--no-pie (for UB 18.04 gcc)
- simlib.vhd: write{oct,hex}: fix for ghdl V0.36 -Whide warnings
2021-08-22 16:59:38 +02:00
wfjm
9f13421caa automation of oskit tests (initial version)
- tools/bin/ostest: driver script for oskit tests
- tools/exptest: configuration files for ostest and other expect based tests
- tools/oskit/test: support files for OS disk/tape image kits
- tools/tcl/exptest: tcl package for expect based tests
- tools/tcl/exptest_rri: tcl package for rri mode
2019-08-03 11:45:05 +02:00
wfjm
84540478cd bin/*: drop superfluous exists for 2019-08-02 23:34:18 +02:00
wfjm
4f447bc05a automation of oskit download [skip ci]
- bin/oskit_setup: generic helper
- oskit/*/*_setup: scripts for oskit
2019-07-28 08:43:08 +02:00
wfjm
5b52e5418d Rw11CntlTM11 and tap2file updates
- tap2file
  - BUGFIX in rlmax calculation
  - add -v option
- Rw11CntlTM11
  - BUGFIX: AddNormalExit(): get tmds logic right
  - support odd record length
2019-07-14 09:45:17 +02:00
wfjm
4fbe46df8b SPDX: tools/bin/* 2019-06-29 18:32:12 +02:00
wfjm
1234d3f8ba code cosmetics 2019-06-19 18:58:13 +02:00
wfjm
3925fb1cd9 minor updates and code cosmetics
- asm-11_expect: skip data checks if dot not defined
- tbrun: print list of failed test after summary line
- RparseUrl: add DirName,FileName,FileStem,FileType
2019-06-10 15:37:46 +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
71290b5142 add ExecWibr(),ExecRibr() and minor updates
- Rw11Cpu: add ExecWibr(),ExecRibr(); LoadAbs(): better trace format
- Rw11Cntl{DEUNA,DL11,LP11,RK11,RHRP,TM11}: use ExecWibr(),ExecRibr()
- ldadump: better -trec format of start address record
- asm-11: .end directive auto-creates '...end' label
- ti_w11: for -e use .end start address when available
- defs_cpu.mac: add some CPU system registers
- defs_dl.mac: fix naming typo
- defs_tm.mac: add function mnemos
2019-04-19 20:56:22 +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
74ad445c1e Some minor updates:
- tbrun: add --list option
- ti_w11: add add -ar,-n4d (ddr versions)
- travis: run all  sys_tst_sram,sys_w11a also for arty (cover ddr)
- tst_mig/test_mem.tcl: add low level iface tests
- comment changes
2019-01-13 09:46:54 +01:00
wfjm
b8dfa6d41e get ready for w11a_V0.753 release
- rtl/sys_gen/*/*.vhd: drop superfluous genlib call
- rtl/sys_gen/*/*.vmfset: accomodate recent code changes
- tools/bin/tbrun: show correct 'found count' in summary message
- tools/dox/*.Doxyfile: push version to 0.753
- tools/src/librtools/Rtime.ipp: change list-init make some gcc happy
2018-12-29 14:14:08 +01:00
wfjm
89732fe3e0 update xviv_msg_filter
- add c type rules for 'count-only' filters
- add support for bitstream generation checking ([bit] section)
- update vmfsets
2018-12-26 09:40:03 +01:00
wfjm
a73bda34de perl scripts: add and use bailout 2018-12-24 09:02:41 +01:00
wfjm
40f7cad0af tbrun: add --all option 2018-12-20 09:16:42 +01:00
wfjm
5d34d1fad6 ensure that essential vivado warnings are not discarded
- xviv_msg_filter: display INFO Common 17-14 'further message disabled'
- viv_tools_build.tcl: increase message limits (all 200, some 5000)
- sys_w11a_*.vmfset: correct for thus far missed entries
2018-12-07 19:38:32 +01:00
wfjm
74ef4925b4 add and use bailout; add @tcl 2018-12-02 09:39:29 +01:00
wfjm
f248ab9bb2 tbrun,asm-11: use bailout, update exit codes 2018-11-11 09:39:40 +01:00
wfjm
0913863793 comment&code cosmetics; minor changes 2018-11-03 10:30:00 +01:00
wfjm
6a09d0db92 github_md2html: add --verbose 2018-11-03 10:26:35 +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
f40108cb95 drop DM_STAT_SY, add DM_STAT_CA and cache monitoring 2018-10-07 08:50:11 +02:00
wfjm
1e31571849 xviv_msg_summary: check also for .bit and .dcp files 2018-08-24 20:48:59 +02:00
wfjm
a8a1ed271b xviv_msg_filter: allow {yyyy.x} tags (in addition to ranges) 2018-08-18 08:28:10 +02:00
wfjm
6ee3ed6e85 github_md2html: use non-greedy match in -stand code 2018-07-29 11:55:38 +02:00
wfjm
db302b02f9 github_md2html: handle fragment identifiers in -standalone mapping 2018-05-27 11:20:02 +02:00
wfjm
15a8f0e4e4 get disclaimers in line with GPL V3 License.txt 2018-01-03 10:04:30 +01:00
wfjm
05c7d937c7 Add Digilent Cmod A7 (35 die size) support
- general board support
- c7_sram_memctl: SRAM memory controller (incl tb)
- is61wv5128bll: simple memory model (incl tb)
- sn_humanio_emu_rbus: human IO emulator
- 92-retro-usb-persistent.rules: add more board rules
- associated changes
  - sn_humanio_rbus: add stat_rbf_emu (=0); single cycle btn pulses
  - rgbdrv_analog(_rbus): add ACTLOW generic to invert output polarity
  - ti_rri: adopt Digilent autodetect for CmodA7
- add systems
  - tst_rlink: rlink tested
  - tst_sram: SRAM tester
  - w11a: w11a system with 672 kB memory (512 SRAM + 160 BRAM)
2017-06-28 22:29:09 +02:00
wfjm
211e1f3ff3 get vivado 2017.1 ready
- xviv_msg_filter: add version-range tag support
- *.vmfset:
  - drop the nonsense 'Synth 8-6014' messages
  - adopt to different path used by 'Synth 8-3332' messages
2017-06-10 11:36:32 +02:00
wfjm
c0a227c1d5 Miscellaneous fixes and changes
- Rw11VirtDiskOver: BUGFIX: correct write count accumulation
- svn_set_ignore: check svn:ignore existance before reading it
- telnet_wrapper: add 'r' --> reset and stty sane handling
2017-05-27 16:06:15 +02:00
Walter F.J. Mueller
9e309c81b9 Miscellaneous fixes and changes
- Makefile: add all_tcl to all; use njobihtm
- rlink_core: BUGFIX: correct re-transmit after nak aborts
- tb_rlink_stim.dat: start section B (error aborts) and C (retransmit)
- ticonv_rri: use 'rlc rawwblk' instead of 'rlc rawio -wblk'
- rbmoni/test_regs.tcl: add data/addr logic tests
2017-05-07 18:57:45 +02:00
Walter F.J. Mueller
f5aa586d20 tools for setting up ethernet bridge and tap
- add ip_create_br: create bride and convert default ethernet interface
  - add ip_create_tap: create use-mode tap device
  - add ip_inspect: helper script
2017-05-07 18:23:35 +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
fca80e6fcd tbrun: add --help option 2017-04-16 14:41:20 +02:00
Walter F.J. Mueller
807d8638b8 editorial changes 2017-04-09 17:27:39 +02:00
Walter F.J. Mueller
81b6d6854d First fix-ups for Ubuntu 16.04
- document urjtag build (jtag in Ubuntu 16.04 is broken)
- add environment sanity wrappers for acroread,awk,firefox to ensure
  proper operation of vivado under Ubuntu 16.04
2017-04-01 14:59:17 +02:00