def convert_compile_load(): # Comment this if don't wont to compile model again ################################################### # Convert the model converter = Converter("psim", netlist_path) tse_path = converter.convert_schema(compile_model=False) # Open the converted tse file model.load(tse_path) # Compile the model model.compile() ################################################### # Load to VHIL hil.load_model(file=cpd_path, offlineMode=False, vhil_device=vhil)
def convert_xml2tse(create_psim_netxml): # Converts the psim xml netlist to tse netxml_path = create_psim_netxml converter = Converter("psim", netxml_path) tse_path = converter.convert_schema() return tse_path