Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

Accessing vplan attributes from console

$
0
0
Hi All,
Does anyone know anything about the API to access vplan attributes from the console or from an e program ? 
Specifically I want to be able to output this data in an arbitrary text format.
 
I know that I can already export a csv file using some batch API commands as shown below but I would like to directly access the parameters such as NAME and SIMULATION_ABSOLUTE_GRADE and then output them myself.
 
Has anyone done this or does anyone know how to do it ?  
 
 
<'
extend global {
  dump_vplan ( result_file_name:string=NULL) is {
    vm_manager.set_global_config("time_format","%F %T");
    if result_file_name == NULL { result_file_name = "results.csv"; };
    var all_sessions := vm_manager.get_all_sessions();
    var params: vm_export_vplan_parameters = new;
    params.set_vplan_tree_depth(1);
    params.set_information_kind(SECTIONS);
    var attrs: list of vm_vplan_attribute_t;
    attrs.add(NAME);
    attrs.add(SIMULATION_ABSOLUTE_GRADE);
    params.set_attributes(attrs);
    params.set_target_file(result_file_name);
    params.set_override_target_file(TRUE);
    vm_manager.export_vplan(params, all_sessions);
  };
};
'>
 
thanks in advance,
Andy 

Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>