diff --git a/synthDC/scripts/wrapperGen.py b/synthDC/scripts/wrapperGen.py index 3a0984bc3..b570ad0c0 100755 --- a/synthDC/scripts/wrapperGen.py +++ b/synthDC/scripts/wrapperGen.py @@ -21,7 +21,7 @@ args=parser.parse_args() fin_path = glob.glob(f"{os.getenv('WALLY')}/src/**/{args.DESIGN}.sv",recursive=True)[0] -fin = open(fin_path, "r") +fin = open(fin_path, "r", encoding='utf-8') lines = fin.readlines() @@ -70,4 +70,4 @@ fout.write(buf) fin.close() fout.close() -#print(buf) \ No newline at end of file +#print(buf)