From 2829f61ee9b79416870cbe918dad4728b7474412 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Fri, 2 Sep 2022 03:30:38 +0200 Subject: [PATCH] f4pga/utils/xc7/create_ioplace: pcf is a path, not a TextIOWrapper Signed-off-by: Unai Martinez-Corral --- f4pga/utils/xc7/create_ioplace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f4pga/utils/xc7/create_ioplace.py b/f4pga/utils/xc7/create_ioplace.py index 121bf3b..706cfaa 100644 --- a/f4pga/utils/xc7/create_ioplace.py +++ b/f4pga/utils/xc7/create_ioplace.py @@ -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,