jeudi 5 juillet 2018

Specman - init a param value of internal sequence (execute from another sequence) directly from test

I have a sequence (e.g SANITY_TEST seq) which execute another sequence (e.g BOOT seq). The BOOT seq contains the following param:

index_v : uint(bits:4) ;

I have the following test :

<'
extend MAIN ocp_master_sequence_q {

    body()@driver.clock is only {
      do SANITY_TEST seq ;
   };
};

Is there any way to execute SANITY_TEST seq from the test and init the index_v param of the BOOT_seq directly from the test?




Aucun commentaire:

Enregistrer un commentaire