Commit Graph

10 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 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
Sean Burford ad6c39a0aa simio_timer: implement TAIV register. 2012-07-20 09:20:37 +12: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
Renamed from simio_timer.c (Browse further)