f4pga/utils/xc7/create_ioplace: pcf is a path, not a TextIOWrapper

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-09-02 03:30:38 +02:00
parent 9946ed7f3d
commit 2829f61ee9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ def main(
blif=Path(blif).open("r"),
map=Path(map).open("r"),
net=Path(net).open("r"),
pcf=None if pcf is None else Path(pcf).open("r"),
pcf=None if pcf is None else pcf,
output=stdout if output is None else Path(output).open("w"),
iostandard_defs_file=iostandard_defs_file,
iostandard=iostandard,