mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Add encoding for utf-8 on wrapperGen.py to avoid issue with incorrect encoding on RHEL C-shell
This commit is contained in:
parent
41f4c634b0
commit
a6bc69d73f
@ -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)
|
||||
#print(buf)
|
||||
|
Loading…
Reference in New Issue
Block a user