
(1) Random tests will run in kernel mode. (Different cache config for each 
run, but it cannot be changed in each run.)

(2) Test specify how much DA/Sdram it need before test run.
    Random frame work alloc it(real work will be done by PLI) and passed to 
test, when test starts. 

(3) Your test need to split into multiple-states. It should contain at least
    the following states
    (A) RD_READY_TO_GO --- Init states
    (B) RD_WAIT_STATE  --- Wait for interrupt/or other event
    (C) RD_DONE_CHKUP  --- Test done, check/clean up. It should be the last one.

(4) Do not write to the following registers
    SYS_SMP
    SYS_SMP
    PWR_CTRL 

(5) All backdoor fucntions(0 simulator time) are okay to called any time your 
want.
    NO OPEN/CLOSE SOCKET PLEASE
    NO SockSync CALLS

(6) Ideally, please only use 
    IO_READ()
    IO_WRITE()
    to pursuit front door operations

    Please be aware that
    (A) Different from normal IO_READ/IO_WRITE
        Plan to insert following type of ops in issusing states
        * No op 
        * DA R/W, SRAM R/W
        * Fretch from DA SRAM 
        (If any above transaction is pending, now more ops will be issued)
    (B) No XZ.
    (C) No specify CPU interfaces(Open)

(7) The following function is not supported
    IO_STALL 
    WaitIntr
    WaitReset
    SimContinue

(8) Interrupt
    (A) Test register which interrupt it waiting for
    (B) When any test return to main(), interrupts will be checked(need 
        backdoor pulling out all ipend lines from simulator). If your test 
        in "all backdoor states", it will be called immediately. Otherwise,
        it will be called in order. (Or next schedule?)
        
(9) All other non-zero time operations(including USB and GBA)
    Let me know if you have any.

    Plan to seperate it into two part,
    (A) Issue. (zero time) return id
    (B) Reply. (similar as interrupt occurs, but register id)

    
