Loading files
d=open("bin/Debug/Hast_IP.vhd", "r") \
.read() \
.replace("1111111111111111111111111111111111111111111111111111111111111111", "0000000000000000000000000000000011111111111111111111111111111111") \
.replace("1111111111111111111111111111111111111111111111101011100000011011", "0000000000000000000000000000000011111111111111101011100000011011")
print d
open("bin/Debug/Hast_IP_proc.vhd", "w").write(d)
31473a557This file is pinned to the selected release. Download the original to open it in your design tool.