with open(f"{args.workdir}/partitions/{self.name}.json", "r") as f:
json_data = f.read()
json_data = json_data.replace("\\","")
for key, value in json.loads(json_data).items():
But I am not sure whether the generated json file actually should contain a backslash or not.
Hi,
I am trying to do equivalence checking (Yosys 0.29 and EQY cc91b457efbebedeb6a24cf787b48eaa41741cbe) with the module attached in the zip file:
The problem is that a generated partition json file contains a backslash:
Which then cannot be parsed here: https://github.com/YosysHQ/eqy/blob/cc91b457efbebedeb6a24cf787b48eaa41741cbe/src/eqy.py#L999
A quick fix could be to remove all backslashes:
But I am not sure whether the generated json file actually should contain a backslash or not.
Thanks, -Pascal