Download Efficient Time-Triggered Execution in an Interrupt-Driven Real
Transcript
GPTA0 GPTA1 Clock Generation Unit FPC0 FPC1 DCM0 PDL0 FPC3 DCM2 DIGITAL PLL PDL1 PDL0 FPC2 DCM1 FPC3 DCM2 FPC4 DCM3 FPC5 DCM0 FPC1 DCM1 FPC2 FPC4 Clock Generation Unit FPC0 PDL1 DCM3 FPC5 fGPTA fGPTA Clock Distribution Unit DIGITAL PLL Clock Distribution Unit GT1 Signal Generation Unit GT0 GT1 Clock Bus GT0 Clock Bus Clock Conn. Signal Generation Unit LTCA2 GTC00 GTC01 GTC02 GTC03 LTC00 LTC01 LTC02 LTC03 GTC00 GTC01 GTC02 GTC03 LTC00 LTC01 LTC02 LTC03 LTC00 LTC01 LTC02 LTC03 Global Timer Cell Array Local Timer Cell Array Global Timer Cell Array Local Timer Cell Array Local Timer Cell Array GTC30 GTC31 LTC62 LTC63 GTC30 GTC31 LTC62 LTC63 LTC62 LTC63 I/O Line Sharing Unit I/O Line Sharing Unit I/O Line Sharing Unit Interrupt Sharing Unit Interrupt Sharing Unit Interrupt Sharing Unit Figure 5.1: Overview of the GPTA module in a TC1796 microcontroller. Taken from the TriCore User’s Manual [4]. a block diagram of the complete assembly. Each GPTAn is divided into a clock generation unit (CGU), a signal generation unit (SGU), an I/O line sharing unit and an interrupt sharing unit. Following the flow of information, the global GPTA clock signal fGP T A is first fed into the clock generation unit which offers many mechanisms to manipulate the signal into multiple derived clock signals that are eventually distributed among the components of the signal generation unit. The SGU is split up into two arrays of timer cells: one array of 32 global timer cells (GTCs) with two global timers (GTs), and one array of 64 local timer cells (LTCs). A special role is taken by the I/O line sharing unit. Being interconnected with all other components of the GPTA kernel, it provides the means for flexibly routing the various output lines from the CGU and the individual local and global timer cells to the respective input lines of these units. Since each of the two GPTA kernels has a total of 111 service request sources— 22