I rearranged it so that the test is created in adexl session first to define 'IDAC_SWEEP_MAIN. However now I can't seem to save the ADE L session. The call to asiSaveState gives the error below. I have tried several paths to save the ADE L State and all of them give the same error. Any ideas about what is causing the error? Is there a better way to point the test to the ADE L state? Updated Script: ddGetObj("pk1126_sky77366_5_CR_mayberc" "pk1126_01_TB" "adexl" "data.sdb" nil "w") sessionName = strcat("mysession" (sprintf nil "%d" random())) axlSession = axlCreateSession(sessionName) sdb = axlSetMainSetupDBLCV( axlSession "pk1126_sky77366_5_CR_mayberc" "pk1126_01_TB" "adexl") ;---------- Test "IDAC_SWEEP_MAIN" ------------- htest = axlPutTest( sdb "IDAC_SWEEP_MAIN" "ADE") testSession = asiGetSession( 'IDAC_SWEEP_MAIN ) dc_analysis = asiGetAnalysis(testSession, 'dc) ;asiSaveState(testSession ?name "IDAC_SWEEP_MAIN" ?option 'dir ?stateDir "/prj/pk1126_sky77366_5_CR/work_libs/mayberc/cds/design/pk1126_01_TB/adexl/test_states" ?description "IDAC_SWEEP_MAIN" ) asiSaveState(testSession ?name "IDAC_SWEEP_MAIN" ?option 'dir ?stateDir "/prj/pk1126_sky77366_5_CR/doc/pk1126_01_TB/adexl/test_states" ?simulator "spectre" ?description "IDAC_SWEEP_MAIN" ) axlSetTestToolArgs( htest list( list("lib" "pk1126_sky77366_5_CR_mayberc") list("cell" "pk1126_01_TB") list("view" "config") list("path" "/prj/pk1126_sky77366_5_CR/doc/pk1126_01_TB/adexl/test_states") list("state" "IDAC_SWEEP_MAIN_active") list("sim" "spectre"))) ;====================== Save Setup ============================================ axlSaveSetup(axlSession) axlCommitSetupDB( sdb ) axlCloseSetupDB( sdb ) Error: *Error* Could not create directory: /results. *Error* Could not create directory: /results.
↧