Commit Graph

19 Commits

Author SHA1 Message Date
Tadashi G. Takaoka 8564f42b66 [simio] support Timer_B compare latch grouping 2018-07-22 21:39:29 +09:00
Tadashi G. Takaoka c53f697b76 [simio] support Timer_B compare latch double-buffering 2018-07-21 16:55:12 +09:00
Tadashi G. Takaoka f9f897e95e [simio] support Timer_B
Timer_B is identical to Timer_A with the following exceptions.

  1. The SCCI bit function is not implemented in Timer_B.
  2. The interrupt vector word of TBIFG is different than TAIFG one.
  3. The length of Timer_B is programable to be 8, 10, 12, or 16 bits.
  4. Timer_B TBCCRx registers can be double-buffered.
  5. Timer_B TBCCRx registers can be grouped.

This change implements 1, 2, and 3.
Double-buffering and grouping TBCCRx will be following.
2018-07-21 16:55:08 +09:00
Tadashi G. Takaoka 8db02ae3d4 [simio] Fix timer capturing by software 2018-07-21 16:48:45 +09:00
Tadashi G. Takaoka d49dcefec6 [simio] Fix changing timer period 2018-07-21 16:42:59 +09:00
Tadashi G. Takaoka b323849d8a [simio] Add timer tests 2018-07-21 16:00:12 +09:00
Tadashi G. Takaoka 00fde4a2f2 Fix sim driver and simio_timer
- Fix sim driver so that it can handle two bytes read/write.
- Add error message regarding odd size write to sim driver.
- Fix simio_timer constructor so that can accept size.
- Fix simio_timer so that we read/write channels' registers.
2018-06-29 14:11:41 +09:00
Hose wie Jacke 8ce536556a simio: console can print to file
This is usefull for `tail -f`.
2018-06-27 15:10:37 +02:00
Mario Werner 6fe57b02e4 Fixed error in carry calculation for MAC of the hwmult 2013-05-27 09:05:36 +12:00
Daniel Beer 7113fd2e50 disassemble: look only for exact symbol matches for operands. 2013-01-31 15:31:42 +13:00
Unai Uribarri Rodriguez 0bb6f901d5 Adds console simio device class
The console simio device class shows in the logs and or console
any byte written to its base address.
2012-10-17 08:36:34 +13:00
Daniel Beer 41cf65d880 Move namelist function to output_util. 2012-10-09 10:03:10 +13:00
Daniel Beer 56ffd537b6 Fixed long long formatting for MinGW.
MinGW uses %I64d instead of %lld.
2012-10-04 14:33:05 +12:00
Daniel Beer ff42788071 printc: add printf attribute. 2012-08-17 07:37:56 +12:00
Sean Burford ad6c39a0aa simio_timer: implement TAIV register. 2012-07-20 09:20:37 +12:00
Tamas TEVESZ e014e4c6d5 Modernise decl styles 2011-11-16 08:42:45 +13:00
Tamas TEVESZ d98d990752 Kill unused variables
Mark those that are unused but can't be killed accordingly.
2011-11-15 09:26:35 +13:00
Tamas TEVESZ 2fe1580843 Kill "unsigned op 0" comparisons
- simio/simio.c, simio/simio_gpio.c, simio_timer.c, simio_tracer.c, util/dis.c

Kill unused variables

 - util/expr.c, util/output_util.c
2011-11-13 16:46:33 +13:00
Daniel Beer 7f4fdfb4f2 Restructuring: move IO simulator into simio/ 2011-09-14 16:08:54 +12:00