This commit is contained in:
Alex Mykyta
2022-11-08 21:09:58 -08:00
parent ada050bf2d
commit fcfd5c09f4
4 changed files with 9 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ class RegblockExporter:
if generate_hwif_report:
path = os.path.join(output_dir, f"{module_name}_hwif.rpt")
hwif_report_file = open(path, "w")
hwif_report_file = open(path, "w", encoding='utf-8') # pylint: disable=consider-using-with
else:
hwif_report_file = None