1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-19 18:07:49 +00:00

61 Commits

Author SHA1 Message Date
wfjm
6969442dac Rw11CntlPC11,Rw11CntlDL11: trace received chars 2017-05-20 17:41:19 +02:00
Walter F.J. Mueller
ed4988d0e4 re-arrange rawio commands for rlc and rlp
- RtclRlink(Connect|Port): drop M_rawio; add M_rawread,M_rawrblk,M_rawwblk
- RtclRlinkPort: LogFileName(): returns now const std::string&
2017-04-30 15:20:16 +02:00
Walter F.J. Mueller
76244111d1 BUGFIXes for backend
- RlinkPort: BUGFIX: RawRead(): proper irc for exactsize=false
- Rexception: BUGFIX: add fErrtxt for proper what() return
2017-04-30 15:17:41 +02:00
Walter F.J. Mueller
2c7b4715f0 remove Doxygen \version lines 2017-04-28 21:34:40 +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
726377722c backend support classes for networking 2017-04-17 21:05:42 +02:00
Walter F.J. Mueller
64b8435719 code cosmetics 2017-04-17 14:08:38 +02:00
Walter F.J. Mueller
d543926043 factor out controller class specifics; add useful M_default output
- RtclRw11Cntl*Base: add classes with Rdma,Disk,Stream.Tape,Term specifics
- RtclRw11Cntl*: add class in ctor; derive from RtclRw11Cntl*Base
2017-04-16 15:29:32 +02:00
Walter F.J. Mueller
d42ab4c798 make list cpus,cntls,units command gettable; make controller class gettable
- RtclRw11: add CpuCommands() and cpus getter
- RtclRw11Cntl: add UnitCommands() and uints and class getter
- RtclRw11Cpu: add ControllerCommands() and cntls getter
2017-04-16 15:20:06 +02:00
Walter F.J. Mueller
3ae2cae6d8 make attach status and attach url gettable for units
- Rw11Cntl,Rw11CntlBase: NUnit() now pure; add UnitBase()
- Rw11Unit: add IsAttached(), AttachUrl()
- Rw11UnitVirt: add VirtBase()
- Rw11Virt: add Url() const getter
- RtclRw11UnitBase: add attached,attachutl getters
2017-04-16 15:16:21 +02:00
Walter F.J. Mueller
8b97e62314 ensure that defaulted scheme visible in displayed open urls
- pass default scheme to RparseUrl in Open()
- add Open() overloads for Rw11VirtDiskFile and Rw11VirtDiskOver
2017-04-16 15:12:20 +02:00
Walter F.J. Mueller
3e6b02f9cf tools/src/librw11/Rw11Cpu.cpp 2017-04-16 15:03:58 +02:00
Walter F.J. Mueller
32ccbc6347 RparseUrl: add Set() with default scheme handling 2017-04-16 14:45:20 +02:00
Walter F.J. Mueller
8956969480 RtclGet: add Tcl_Obj* getter 2017-04-16 14:44:56 +02:00
Walter F.J. Mueller
0725fcc70e BUGFIX: rlc get logfile or rlc get * crashed with segfault
- error was a type mismatch in the getter declaration in RtclRlinkConnect
- fixed by changing the return type in RlinkConnect
2017-04-09 17:26:51 +02:00
Walter F.J. Mueller
0f4350db6d remove double inheritance in RtclRw11Unit* stack
- was more a hack than a design; inheritance stack now cleaner
- RtclRw11Unit: drop fpCpu, use added Cpu()=0 instead
- RtclRw11UnitBase: add TUV,TB; add TUV* ObjUV(); inherit from TB
- RtclRw11Unit(Disk|Stream|Tape|Term): define ObjUV();inherit from RtclRw11Unit
- RtclRw11Unit(dev): inherit from RtclRw11UnitBase
2017-04-08 20:34:02 +02:00
Walter F.J. Mueller
ae070196ce code cosmetics 2017-04-08 20:28:42 +02:00
Walter F.J. Mueller
5c534bb829 more compact dumps, add Dump(..,detail) -- Part 2 2017-04-07 22:17:34 +02:00
Walter F.J. Mueller
d333d6b356 default disk scheme now parametrized via rlw 2017-04-02 20:21:09 +02:00
Walter F.J. Mueller
3de030a0dd code cosmetics 2017-04-02 19:23:02 +02:00
Walter F.J. Mueller
79c565f6f3 more compact dumps, add Dump(..,detail); trace output with cntl name
- RlinkCommand: add CommandInfo()
- RtclCmdBase: add GetArgsDump()
- RlinkCommandList: Dump(): add detail arg
- Rstats: add NameMaxLength(); Print(): add counter name
- Rw11Cntl: use Dump(detail) for PrimClist ect
- Rw11CntlBase,Rw11Rdma*: Dump(): add detail arg
- Rw11Cntl*: Dump(): add detail arg; use cntl name as message prefix
- RtclRw11Cntl: M_dump: use GetArgsDump and Dump detail
2017-04-02 19:06:38 +02:00
Walter F.J. Mueller
e73c041309 first practical version of RtimerFd 2017-04-02 18:54:36 +02:00
Walter F.J. Mueller
62bd03d422 use clock_gettime instead of gettimeofday 2017-04-02 18:53:02 +02:00
Walter F.J. Mueller
5f2301b561 add Rw11VirtDiskOver (simple overlay file container)
- Rw11VirtDiskBuffer: added, disk buffer representation
- Rw11VirtDiskOver: added, a 'keep changes in memory' overlay file container
- Rw11Virt: add fWProt,WProt()
- Rw11VirtDiskFile: adopt WProt handling
- RtclRw11Unit: add fpVirt,DetachCleanup(),AttachDone(),M_virt()
- RtclRw11UnitBase: add AttachDone()
2017-04-02 15:46:03 +02:00
Walter F.J. Mueller
823c03ba3b tcl command handling update
- support now sub-command handling
- support dynamically created commands (like 'virt')
- support command info (via '?' option)
2017-04-02 13:54:51 +02:00
Walter F.J. Mueller
92812d76b7 add and use Rw11Cpu::kCPAH_M_UBM22
- in all practical cases the unibus map enable should be used together with
  the 22bit addressing enable, so it's prudent to add a new constant.
2017-02-27 20:25:19 +01:00
Walter F.J. Mueller
f13b1b4900 minor code cleanups 2017-02-26 15:07:16 +01:00
Walter F.J. Mueller
d7aa4966bf use Rtime; handle auxilliary devices; ModLalh()
- use Rtime; drop Rtools::TimeOfDayAsDouble()
- probe/setup auxilliary devices: kw11l,kw11p,iist
- librw11/Rw11Cpu: add ModLalh()
2017-02-26 15:06:09 +01:00
Walter F.J. Mueller
c3bc722a77 Rstats: add IncLogHist() and fix + and * operator definition 2017-02-26 14:52:45 +01:00
Walter F.J. Mueller
6728181be7 add Rtime support in RtclGet/RtclSet 2017-02-26 14:49:14 +01:00
Walter F.J. Mueller
a6f6ed8822 add librtools/Rtime: class for absolute and delta times 2017-02-26 14:41:22 +01: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
d4aab38e16 update probe handling: add probe data, make it tcl getable
- Rw11Cntl: add ProbeFound(),ProbeDataInt,Rem()
- Rw11Cpu: ProbeCntl: handle probe data
- Rw11Probe: Keep probe data; add DataInt(), DataRem()
- RtclRw11CntlBase: add in fGets: found,pdataint,pdatarem
- RtclRw11Cpu: M_default: add 'probe ena on' output
2017-02-04 17:03:04 +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
51cb648e54 docu tune-ups; some more README.md 2016-12-23 15:51:48 +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
2b5cfb7d96 - Code base cleaned-up for vivado, fsm now inferred
- xsim support complete (but many issues to be resolved yet)
- Added configurable w11a cache
- Removed some never documented and now strategically obsolete designs
2016-06-26 16:02:42 +00: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
f514906fc3 - major release w11a_V0.70 (tagged)
- changes from last minor release
  - rhrp and tm11 bug fixes
  - no major functionality added
2015-06-21 16:06:49 +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
Walter F.J. Mueller
e91847f8db - added support for Vivado
- added support for Nexys4 and Basys3 boards
- added RL11 disk support
- lots of documentation updated
2015-03-09 19:26:25 +00:00
Walter F.J. Mueller
dde49d52e4 - the w11a rbus interface used so far a narrow dynamically adjusted
rbus->ibus window. Replaces with a 4k word window for whole IO page.
- utilize rlink protocol version 4 features in w11a backend
  - use attn notifies to dispatch attn handlers
  - use larger blocks (7*512 rather 1*512 bytes) for rdma transfers
  - use labo and merge csr updates with last block transfer
  - this combined reduces the number of round trips by a factor 2 to 3, 
    and in some cases the throughput accordingly.
2015-01-04 19:18:35 +00:00
Walter F.J. Mueller
d87ac86f53 - migrate to rlink protocol version 4
- Goals for rlink v4
    - 16 bit addresses (instead of 8 bit)
    - more robust encoding, support for error recovery at transport level
    - add features to reduce round trips
      - improved attention handling
      - new 'list abort' command
  - For further details see README_Rlink_V4.txt
- use own C++ based tcl shell tclshcpp instead of tclsh
2014-12-20 16:39:52 +00:00
Walter F.J. Mueller
093d540121 - The div instruction gave wrong results in some corner cases when either
divisor or quotient were the largest negative integer (100000 or -32768).
  This is corrected now, for details see ECO-026-div.txt
- some minor updates and fixes to support scripts
- xtwi usage and XTWI_PATH setup explained in INSTALL.txt
2014-08-10 14:32:48 +00:00
Walter F.J. Mueller
4732555297 - interim release w11a_V0.581 (untagged)
- new reference system
  - switched from ISE 13.3 to 14.7.
  - map/par behaviour changed, unfortunately unfavorably for w11a. 
    On Nexys3 no timing closure anymore for 80 MHz, only 72 MHz can 
    be achieved now.
- new man pages (in doc/man/man1/)
- support for Spartan-6 CMTs in PLL and DCM mode
2014-05-29 21:30:01 +00:00
Walter F.J. Mueller
200ba69364 - interim release w11a_V0.58 (untagged)
- C++ and Tcl based backend server now fully functional, supports with 
    DL11, RK11, LP11 and PC11 all devices available in w11a designs
- the old perl based backend server (pi_rri) is obsolete and removed
- operating system kits reorganized
2013-05-12 19:15:30 +00:00