1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-04 16:03:52 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
wfjm
5bf5d405c3 use std::boolalpha; add and use RosPrintf(bool) 2018-12-23 09:07:25 +01:00
wfjm
93bf5ce03b use c++ style casts 2018-12-22 09:20:02 +01:00
wfjm
4e2f1c3d19 use std::thread instead of boost; final boost cleanup
- no boost:: classes used anymore
- no boost/*.hpp headers included anymore
- significantly improved compilation speed
2018-12-19 11:53:54 +01:00
wfjm
dcaf39ff84 use mutex and friends from std:: instead from boost::
- use std::mutex
- use std::recursive_mutex
- use std::condition_variable
- use std::lock_guard
2018-12-18 10:22:35 +01:00
wfjm
783778f2bb use =delete for noncopyable instead of boost 2018-12-17 09:00:15 +01:00
wfjm
1620ee3a84 phase-out boost::function,bind
- use std::function instead of boost
- use c++11 lambda instead of boost::bind in most cases
- use std::bind in few cases where this deems more readable
- use move semantics for passing of function objects
2018-12-16 12:24:07 +01:00
wfjm
11e6c81379 add HasPort/HasVirt(); Port() and Virt() return reference 2018-12-15 14:49:34 +01:00
wfjm
70f0911b37 use std::shared_ptr instead of boost 2018-12-14 18:24:24 +01:00
wfjm
cd97fb0f45 add and use move semantic in RlinkCommandExpect 2018-12-13 20:53:56 +01:00
wfjm
a369c48762 use unique_ptr 2018-12-09 09:16:07 +01:00
wfjm
233730885d comment&code cosmetics; minor changes 2018-12-08 09:25:25 +01:00
wfjm
86556f767f use range loops 2018-11-30 20:21:30 +01:00
wfjm
4e1f91b0a1 use auto; use emplace,make_pair 2018-11-16 18:26:00 +01:00
wfjm
4e001adf8d replace boost/foreach 2018-11-04 09:01:47 +01:00
wfjm
0913863793 comment&code cosmetics; minor changes 2018-11-03 10:30:00 +01:00
wfjm
2a50d35e71 some minor c++11 and -Weverything code updates
- use `nullptr` instead of plain '0'
- use `[[noreturn]]` (clang -Wmissing-noreturn)
- drop never reached returns (clang -Wunreachable-code-return)
- drop `throw()` lists, use `noexcept` (clang -Wdeprecated)
- add `R*_Init` prototypes (clang -Wmissing-prototypes)
- Rw11VirtEthTap.cpp: BUGFIX: buffer not null terminated (coverity)
2018-10-28 12:19:19 +01:00
wfjm
86380fc2c6 coverity: catch exceptions in dtor 2018-10-27 12:44:39 +02:00
wfjm
37da9f19fa fix wrong doxygen trailing comments (clang -Wdocumentation) 2018-10-05 19:10:52 +02:00
wfjm
970be66d07 cleanups for -Wpedantic; bugfix in RtclArgs.hpp 2018-09-28 19:51:19 +02:00
wfjm
c01fc7c053 coverity: fixed for uninitialized variables 2018-09-22 11:14:45 +02:00
wfjm
49777105c2 get disclaimers in line with GPL V3 License.txt 2018-01-02 21:41:07 +01: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
64b8435719 code cosmetics 2017-04-17 14:08:38 +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
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
5c534bb829 more compact dumps, add Dump(..,detail) -- Part 2 2017-04-07 22:17:34 +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
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
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
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
Walter F.J. Mueller
b06cbef00a - interim release w11a_V0.57 (untagged)
- new C++ and Tcl based backend server supports now RK11 handling
- w11a systems operate with rlink over USB on nexsy2 and nexsy3 boards.
  See w11a_os_guide.txt for details
2013-04-27 14:21:46 +00:00
Walter F.J. Mueller
99de9893cb - interim release w11a_V0.562 (untagged)
- C++ and Tcl based backend server: many support classes for interfacing to 
  w11 system designs, and the associated Tcl bindings.
- add 'asm-11', a simple, Macro-11 syntax subset combatible, assembler. 
- use now doxygen 1.8.3.1, generate c++,tcl, and vhdl source docs
2013-04-13 17:13:15 +00:00
Walter F.J. Mueller
29d2dc5bef - interim release w11a_V0.561 (untagged)
- Added simple simulation model of Cypress FX2 and test benches for
  functional verifcation of FX2 controller
- Bugfixes in FX2 firmware and controller, works now also on Nexys3 & Atlys
- Added test systems for rlink over USB verification for Nexys3 & Atlys
2013-01-06 16:19:26 +00:00
Walter F.J. Mueller
cbd8ce3468 - interim release w11a_V0.56 (untagged)
- re-organized handling of board and derived clocks in test benches
- added message filter definitions for some designs (.mfset files)
- added Cypress EZ-USB FX2 controller (USB interface)
- added firmware for EZ-USB FX2 supporting jtag access and data transfer
- FPGA configure over USB now supported directly in make build flow
- added test systems for USB testing and rlink over USB verification
- no functional change of w11a CPU core or any pre-existing test systems
- Note: Carefully read the disclaimer about usage of USB VID/PID numbers
        in the file README_USB-VID-PID.txt. You'll be responsible for any
        misuse of the defaults provided with the project sources !!
2013-01-02 21:06:53 +00:00
Walter F.J. Mueller
f6775f7d05 - interim release w11a_V0.55 (untagged)
- added xon/xoff (software flow control) support to serport library
- added test systems for serport verification
- use new serport stack in sys_w11a_* and sys_tst_rlink_* systems
2011-12-23 10:38:59 +00:00
Walter F.J. Mueller
f2d0f39621 - interim release w11a_V0.54 (untagged)
- add Nexys3 port of w11a
2011-12-04 21:25:09 +00:00