Changes between Version 1 and Version 2 of Component/Vci Multi Timer


Ignore:
Timestamp:
May 5, 2007, 2:19:23 PM (17 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Multi Timer

    v1 v2  
    66The memory segment allocated to this component must be aligned
    77on 4K bytes boundary.
    8 The timer index i is defined by the ADDRESS[12:4] bits.
     8The timer index i is defined by the ADDRESS![12:4] bits.
    99This hardware component cheks for segmentation violation, and can be used
    1010as a default target.
     
    1212Each timer contains 4 memory mapped registers:
    1313
    14  * '''TIMER_VALUE'''     : ADDRESS[3:0] = 0x0
     14 * '''TIMER_VALUE'''     : ADDRESS![3:0] = 0x0
    1515This 32 bits register is unconditionnally incremented at each cycle.
    1616A read request returns the current time contained in this register.
    1717A write request sets a new value in this register.
    1818
    19  * '''TIMER_RUNNING''' : ADDRESS[3:0] = 0x4
     19 * '''TIMER_RUNNING''' : ADDRESS![3:0] = 0x4
    2020When the Boolean value contained in this register is true,
    2121the corresponding interrupt is enabled. 
     
    2323A write request of a non-zero value sets this registe.
    2424
    25  * '''TIMER_PERIOD'''    : ADDRESS[3:0] = 0x8
     25 * '''TIMER_PERIOD'''    : ADDRESS![3:0] = 0x8
    2626This 32 bits register defines the period between two successive interrupts.
    2727A write request writes a new value in this register, and the TIMER_RUNNING
     
    2929A read request returns the current value in this register.
    3030
    31  * '''TIMER_RESETIRQ''' : ADDRESS[3:0] = 0xC
     31 * '''TIMER_RESETIRQ''' : ADDRESS![3:0] = 0xC
    3232Any write request in this Boolean register will reset the pending IRQ.
    3333A read request returns the zero value when there is no pending interrupt,