TMS570LS3137: Start up : pbistSelfCheck() from HalCoGen VS SAfeTIs SL_SelfTest_PBIST()

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Hello,

Regarding the usage of SL_SelfTest_PBIST to do a pre test of the PBIST algorithm using ROM, can you confirm me that : 

    /* Run a diagnostic check on the memory self-test controller.
     * This function chooses a RAM test algorithm and runs it on an on-chip ROM.
     * The memory self-test is expected to fail. The function ensures that the PBIST controller
     * is capable of detecting and indicating a memory self-test failure.
     */
    pbistSelfCheck();  
--> generated by HalCogen
can be replaced by : 
SL_SelfTest_PBIST(PBIST_EXECUTE,
                              PBIST_RAMGROUP_02_STC_ROM,
                              PBISTALGO_TRIPLE_READ_SLOW_READ | PBISTALGO_TRIPLE_READ_FAST_READ);
SL_SelfTest_PBIST(PBIST_EXECUTE,
                              PBIST_RAMGROUP_01_PBIST_ROM,
                              PBISTALGO_TRIPLE_READ_SLOW_READ | PBISTALGO_TRIPLE_READ_FAST_READ);
to cover the PBIST check selftest as described in the SPNA106D : Initialization of HerculesTm ARM® CortexTm-R4F Microcontrollers
Thank you ! 
Regards,
Marc