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

490 Commits

Author SHA1 Message Date
wfjm
4b16e76168 doxygen support now for V1.9.7 [skip ci] 2023-05-24 16:35:01 +02:00
wfjm
8c34d690a1 vivado 2023.1 resource comments [skip ci] 2023-05-20 17:54:11 +02:00
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
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
5d8c065ee4 more and improved E11 support 2023-03-22 08:45:29 +01:00
wfjm
5990a8fe0a cpu_mmu.mac BUGFIX; minor changes
- tools/make/generic_asm11.mk: fix ldart target rule
- tools/tcode/Makefile: add header line for %.te11 target
- tools/tcode/cpu_mmu.mac
  - C2.6: add e11 handling (w11 and e11 mmr1 difference)
  - D2.1: BUGFIX: use mmr0 page mode for PSW PM if ico=1
  - D2.1: add e11 handling (no PC inc on fetch abort)
2023-03-20 09:35:27 +01:00
wfjm
0e03584e5a add e11 support [skip ci]
- tools
  - e11: added, holds configuration files
  - oskit/*: added _boot.ecmd when possible
2023-03-12 13:22:59 +01:00
wfjm
ffcef691d8 RethBuf: add copy ctor; Rw11CntlDEUNA: add simulated tx/rx loss
- tools
  - src/librw11/RethBuf: add copy constructor
  - src/librw11/Rw11CntlDEUNA: add simulated tx and rx packet loss mechanism
  - src/librwxxtpp/RtclRw11CntlDEUNA: add set/get for txloss/rxloss
2023-02-25 14:11:08 +01:00
wfjm
cc7f8365cd RethBuf: improved Info/Dump methods
- tools
  - src/librw11/RethBuf: improved Info/Dump methods
  - src/librw11/RethTools: add IpAddr2String
  - src/librw11/Rw11CntlDEUN: use RethBuf::HeaderInfoAll
  - oskit/211bsd_rpeth/211bsd_rpeth_boot.tcl: enable EType filter
  - oskit/hook/hook_trace_xua.tcl: use tracelevel 3
2023-02-23 11:47:52 +01:00
wfjm
bb61927fb1 Rw11CntlDEUNA: add EtherType filter 2023-02-21 11:07:48 +01:00
wfjm
61b3d9d809 RtimerFd: BUGFIX; Rw11CntlDEUNA: update; mlib renames+adds
- tools
  - asm-11/lib/defs_xu.mac: add more definitions
  - asm-11/mlib: rename callp->calls; add callr
  - src/librtools/RtimerFd.cpp: BUGFIX: SetRelative(): correct is-positive check
  - src/librw11/Rw11CntlDEUNA.cpp: log transitions into and out of kStateRxPoll
2023-02-20 16:10:49 +01: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
6b7c25a961 asm-11 BUGFIX; add ip_delete_tap; update 211bsd_eth.tcl
- tools
  - bin/asm-11: BUGFIX: fix directly nested .if behavior
  - bin/ip_delete_tap: added
  - asm-11/tests: add zbug_0007.mac, test_0460_if_nest.mac
  - oskit/test/os/211bsd/211bsd_eth.tcl: use 'ip' command
2023-02-16 12:29:45 +01:00
wfjm
95bc9be957 revamp tap and bridge handling [skip ci]
- ip_inspect, ip_create_br: removed
- ip_create_tap: rewritten with 'ip' commands
2023-02-12 18:24:47 +01:00
wfjm
7a72da83d6 minor edits 2023-02-10 12:16:50 +01:00
wfjm
03ef66e2cb get V0.794 ready [skip ci] w11a_V0.794 2023-02-09 11:47:58 +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
85fde6c5e8 mcode: use mcall and vecdef, set up proper documentation; Doxygen 1.9.6 2023-02-06 15:18:49 +01:00
wfjm
75a730e3b5 docu updates [skip ci] 2023-02-04 12:00:19 +01:00
wfjm
fb7122822b tbench: use .mcall, fix typos 2023-02-03 08:16:59 +01:00
wfjm
14e5772c59 add dmaperf.tcl 2023-02-02 08:40:59 +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
1d51a4123a asm-11 final polishing
- tools/bin/asm-11: use 'R' error code; fix 'S' logic
- tools/asm-11/tests-err/testerr_0040_inst.mac: add test cases
2023-01-30 08:51:01 +01:00
wfjm
65ed443ffc asm-11 asm-11 BUGFIXes; cpu_mmu.mac fix
- tools/bin
  - asm-11
- tools/tcode/cpu_(details|mmu).mac: use rt?jmp, hta??? macros
    - BUGFIX expressions: allow uop after bop operator
    - BUGFIX proper sign handling for '/','*' and .if ge,gt,le,lt
    - add 'S' error when code size too large
  - tcode/cpu_mmu.mac: remove <../100> expressions for 6 bit right shift
2023-01-29 14:50:14 +01:00
wfjm
82349ddcee asm-11 .list update; tcode updates
- tools/bin
  - asm-11
    - add minimal .list,.nlist (cnd,me,meb) directive support
    - add -(n)list options
- tools/asm-11
  - tests(-err): some tuneups
  - mlib: some macros added, some tuneups
- tools/tcode/cpu_(details|mmu).mac: use rt?jmp, hta??? macros
2023-01-28 08:35:37 +01:00
wfjm
1627b34e3e tcode: use .mcall and mlib 2023-01-27 11:39:28 +01:00
wfjm
3b033ebfa8 major asm-11 update
- tools/bin
  - asm-11
    - add .if, .if(f|t|tf), .endc, .rept, .endr, .mexit directives
    - add .error, .print, .mcall, .mdelete directives
    - add .narg, .nchr, .ntype directives
    - rewrite macro definition and call argument parsing & handling
    - add -L option (to set .mcall pathlist)
    - add auto-generated ...top label
    - add flag (MRmrd) column in output format
  - asm-11_expect
    - add simple substitution mechanism (for macro testing)
    - handle new flag column in output format
- tools/asm-11
  - tests(-err): many tests added
  - tests(-err)/Makefile: distclean target added
  - mlib: macro library, accessed by .mcall
2023-01-26 16:13:36 +01:00
wfjm
4b0a1feb2a asm-11 BUGFIX: misused # and @ don't cause BUGCHECKs anymore 2023-01-22 09:32:48 +01:00
wfjm
bc958525b5 asm-11 BUGFIX: support @(R) modifier with omitted offset
- tools
  - bin/asm-11: BUGFIX: support @(R) modifier with omitted offset
  - asm-11/tests/test_0100_op_(g|gg|rg).mac: add @(R) test cases
  - tcode/cpu_(basics|details|selftest).mac: use @(R)
2023-01-21 19:15:12 +01:00
wfjm
8fc44a4e4b ready for V0.793 w11a_V0.793 2023-01-12 08:55:24 +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
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
fdc3479c14 final round for initial tcode version
- tools/tcode
  - cpu_basics.mac: add A4.5
  - cpu_details.mac: add B1.4, B2.3, B4.1-3
  - cpu_mmu.mac: add B3.3
  - cpu_selftest.mac: add B1
2023-01-05 09:10:34 +01:00
wfjm
146dc4d56a docu and comment updates [skip ci] 2023-01-04 08:46: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
dc9005e98a doc and comment updates [skip ci] 2022-12-25 09:07:26 +01:00
wfjm
f0f12dc407 add gwstart, a gtkwave starter [skip ci] 2022-12-23 20:36:17 +01:00
wfjm
b504079cad doc fixes; doxygen 1.9.5 [skip ci] 2022-12-22 11:00:31 +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
a442a225e5 add tools/xxdp; tcode comments [skip ci] 2022-12-10 08:40:42 +01:00