3 """makes corrections to vst source from coriolis2 P&R
9 # run through all files
10 for fname
in os
.listdir("vst_src"):
11 if not fname
.endswith(".vst"):
15 fname
= "vst_src/"+fname
16 with
open(fname
) as f
:
18 # replace vss / vdd : linkage bit with vss/vdd in bit
19 txt
= txt
.replace("linkage bit", "in bit")
20 # and double-underscores
21 txt
= txt
.replace("__", "_")
22 #fname = fname[:-3] + "vhdl"
24 with
open(fname
, "w") as f
: