Exemple #1
0
def serialize_netlist(device: MINTDevice) -> None:
    # Generate the MINT file from the pyparchmint device
    json_data = device.to_parchmint_v1()
    json_string = json.dumps(json_data)
    json_file = open(get_ouput_path(device.name + ".json"), "wt")
    json_file.write(json_string)
    json_file.close()
def generate_simulated_annealing_layout_v2(device: MINTDevice) -> Layout:
    jsonstring = json.dumps(device.to_parchmint_v1())
    print(jsonstring)
    device = Fluigi.placeAndRouteDevice(jsonstring)

    print("PNR Executed"+ device.getName())