From f37188c358de8d05356a38c32ff96aecf490e4ec Mon Sep 17 00:00:00 2001 From: Franck Jullien Date: Mon, 13 Dec 2021 14:34:08 +0100 Subject: [PATCH] efinix: add more valid IOStandard --- litex/build/efinix/efinity.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index 2c2986f91..8ce98144a 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -83,7 +83,15 @@ def _format_constraint(c, signame, fmt_r, fragment, platform): # IO standard property elif isinstance(c, IOStandard): prop = "" - valid = ["3.3_V_LVTTL_/_LVCMOS", "2.5_V_LVCMOS", "1.8_V_LVCMOS"] + valid = [ "3.3_V_LVTTL_/_LVCMOS", "2.5_V_LVCMOS", "1.8_V_LVCMOS", + "1.2_V_Differential_HSTL", "1.2_V_Differential_SSTL", + "1.2_V_HSTL", "1.2_V_LVCMOS", "1.2_V_SSTL", "1.5_V_Differential_HSTL", + "1.5_V_Differential_SSTL", "1.5_V_HSTL", "1.5_V_LVCMOS", "1.5_V_SSTL", + "1.8_V_Differential_HSTL", "1.8_V_Differential_SSTL", "1.8_V_HSTL", + "1.8_V_LVCMOS", "1.8_V_SSTL", "2.5_V_LVCMOS", "3.0_V_LVCMOS", + "3.0_V_LVTTL", "3.3_V_LVCMOS", "3.3_V_LVTTL" + ] + if c.name in valid: prop = "IO_STANDARD"