![]() |
TI Autonomous Driving Algorithms (TIADALG) Library User Guide
|
Functions | |
void | CSL_c7xFreezeL1DCache () |
void | CSL_c7xUnfreezeL1DCache () |
uint64_t | CSL_c7xStatusL1DCache () |
uint64_t | CSL_c7xCleanL1DCache () |
uint64_t | CSL_c7xCleaninvalidateL1DCache () |
uint64_t | CSL_c7xInvalidateL1DCache () |
uint64_t | CSL_c7xSetL1DCacheSize (uint64_t l1dmod) |
uint64_t | CSL_c7xGetL1DCacheSize () |
void | CSL_c7xInvalidateL1PCache () |
void | CSL_c7xInvalidateL1PCacheUser () |
void | CSL_c7xInvalidateL1PCacheSuper () |
void | CSL_c7xSetL2CacheSize (uint64_t) |
uint64_t | CSL_c7xGetL2CacheSize () |
void | CSL_c7xFreezeL2Cache () |
void | CSL_c7xUnfreezeL2Cache () |
uint64_t | CSL_c7xStatusL2CacheOper () |
uint64_t | CSL_c7xStatusL2CachePoper () |
void | CSL_c7xCleanL2Cache () |
void | CSL_c7xCleaninvalidateL2Cache () |
void | CSL_c7xInvalidateL2Cache () |
==========================================================================
void CSL_c7xFreezeL1DCache | ( | ) |
CSL_c7xFreezeL1DCache
Description
Freezes the contents of the L1D Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xFreezeL1DCache(); *
void CSL_c7xUnfreezeL1DCache | ( | ) |
CSL_c7xUnfreezeL1DCache
Description
Un-Freezes the contents of the L1D Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xUnfreezeL1DCache(); *
uint64_t CSL_c7xStatusL1DCache | ( | ) |
CSL_c7xStatusL1DCache
Description
Fetches the contents of the L1DCC register
Arguments
None
Return Value
uint64_t value
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * value = CSL_c7xStatusL1DCache(); *
uint64_t CSL_c7xCleanL1DCache | ( | ) |
CSL_c7xCleanL1DCache
Description
Cleans (forces writeback) the contents of the L1D Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xCleanL1DCache(); *
uint64_t CSL_c7xCleaninvalidateL1DCache | ( | ) |
CSL_c7xCleaninvalidateL1DCache
Description
Cleans and Invalidates(forces writeback) the contents of the L1D Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xCleaninvalidateL1DCache(); *
uint64_t CSL_c7xInvalidateL1DCache | ( | ) |
CSL_c7xInvalidateL1DCache
Description
Invalidates the contents of the L1D Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xInvalidateL1DCache(); *
uint64_t CSL_c7xSetL1DCacheSize | ( | uint64_t | l1dmod | ) |
CSL_c7xSetL1DCacheSize
Description
Sets the size of the L1D Cache
Arguments
uint64_t size
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t l1dmod; * * if (cacheksize == 8) { l1dmod = 2} * else if (cacheksize == 16) { l1dmod = 3} * else if (cacheksize == 32) { l1dmod = 4} * * CSL_c7xSetL1DCacheSize(l1dmod); *
uint64_t CSL_c7xGetL1DCacheSize | ( | ) |
CSL_c7xGetL1DCacheSize
Description
Gets the size of the L1D Cache
Arguments
None
Return Value
uint64_t size
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t l1dmod; * * l1dmod = CSL_c7xGetL1DCacheSize(); *
void CSL_c7xInvalidateL1PCache | ( | ) |
CSL_c7xInvalidateL1PCache
Description
Invalidates the L1P Cache Contents
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * CSL_c7xInvalidateL1PCache(); *
void CSL_c7xInvalidateL1PCacheUser | ( | ) |
CSL_c7xInvalidateL1PCacheUser
Description
Invalidates the L1P Cache Contents for User
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * CSL_c7xInvalidateL1PCacheUser(); *
void CSL_c7xInvalidateL1PCacheSuper | ( | ) |
CSL_c7xInvalidateL1PCacheSuper
Description
Invalidates the L1P Cache Contents for Supervisor
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * CSL_c7xInvalidateL1PCacheSuper(); *
void CSL_c7xSetL2CacheSize | ( | uint64_t | ) |
CSL_c7xSetL2CacheSize
Description
Sets the size of the L2 Cache
Arguments
uint64_t l2mod
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t l2mod; * * if (cacheksize == 0) {l2mod = 0} * else if (cacheksize == 32) {l2mod = 1} * else if (cacheksize == 64) {l2mod = 2} * else if (cacheksize == 128) {l2mod = 3} * else if (cacheksize == 256) {l2mod = 4} * else if (cacheksize == 512) {l2mod = 5} * else if (cacheksize == 1024 {l2mod = 6} * else {l2mod = 7} * * CSL_c7xSetL2CahceSize(l2mod); *
uint64_t CSL_c7xGetL2CacheSize | ( | ) |
CSL_c7xGetL2CacheSize
Description
Gets the size of the L2 Cache
Arguments
None
Return Value
uint64_t l2mod
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t l2mod; * * l2mod = CSL_c7xGetL2CahceSize(); *
void CSL_c7xFreezeL2Cache | ( | ) |
CSL_c7xFreezeL2Cache
Description
Freezes the contents of the L2 Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xFreezeL2Cache(); *
void CSL_c7xUnfreezeL2Cache | ( | ) |
CSL_c7xUnfreezeL2Cache
Description
Un-Freezes the contents of the L2 Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xUnfreezeL2Cache(); *
uint64_t CSL_c7xStatusL2CacheOper | ( | ) |
CSL_c7xStatusL2CacheOper
Description
Get the status of the OPER field in L2CC
Arguments
None
Return Value
uint64_t oper
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t oper; * * oper = CSL_c7xStatusL2CacheOper(); *
uint64_t CSL_c7xStatusL2CachePoper | ( | ) |
CSL_c7xStatusL2CachePoper
Description
Get the status of the POPER field in L2CC
Arguments
None
Return Value
uint64_t poper
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * uint64_t poper; * * oper = CSL_c7xStatusL2CachePoper(); *
void CSL_c7xCleanL2Cache | ( | ) |
CSL_c7xCleanL2Cache
Description
Cleans (forces writeback) the contents of the L2 Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xCleanL2Cache(); *
void CSL_c7xCleaninvalidateL2Cache | ( | ) |
CSL_c7xCleaninvalidateL2Cache
Description
Cleans and Invalidates(forces writeback) the contents of the L2 Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xCleaninvalidateL2Cache(); *
void CSL_c7xInvalidateL2Cache | ( | ) |
CSL_c7xInvalidateL2Cache
Description
Invalidates the contents of the L2 Cache
Arguments
None
Return Value
None
Pre Condition
None
Post Condition </n>
None
Reads
None
Example
* * * CSL_c7xInvalidateL12ache(); *
|
© Copyright 2018 Texas Instruments Incorporated. All rights reserved. |
Document generated by doxygen 1.8.6 |