How do I know what language a Netlist in the netlist database comes from?

From Verific Design Automation FAQ
Jump to: navigation, search

Q: How do I know what language a Netlist in the netlist database comes from?

Use attribute " language" (note the leading space):

   Netlist *nl;
   nl->GetAttValue(" language") 

returns one of "vhdl", "verilog", "edif", "synlib".