From c530983afab746670b036b43ae24dff50733e316 Mon Sep 17 00:00:00 2001 From: Stefan Holst Date: Thu, 17 Mar 2022 14:57:37 +0900 Subject: [PATCH] accept I as a first input --- src/kyupy/techlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kyupy/techlib.py b/src/kyupy/techlib.py index cbf2cde..df20268 100644 --- a/src/kyupy/techlib.py +++ b/src/kyupy/techlib.py @@ -47,7 +47,7 @@ class TechLib: ('SDFF', ('RSTB',), 4), ('SDFF', ('SETB',), 5)]: if kind.startswith(prefix) and pin in pins: return index - for index, pins in enumerate([('A1', 'IN1', 'A', 'S', 'INP', 'Q', 'QN', 'Y', 'Z', 'ZN'), + for index, pins in enumerate([('A1', 'IN1', 'A', 'S', 'INP', 'I', 'Q', 'QN', 'Y', 'Z', 'ZN'), ('A2', 'IN2', 'B', 'CK', 'CLK', 'CO', 'SE'), ('A3', 'IN3', 'C', 'RN', 'RSTB', 'CI', 'SI'), ('A4', 'IN4', 'D', 'SN', 'SETB'),