From 7d5bfac5526528e32f5f44b9bea0bbdfee21a589 Mon Sep 17 00:00:00 2001 From: "T. Meissner" Date: Tue, 9 Feb 2021 07:31:00 +0100 Subject: Add support for PSL onehot/onehot0 functions (#1633) * vhdl: parse PSL onehot/onehot0 builtin calls. For #662 * update pyGHDL bindings * Synthesis of PSL built-in onehot/onehot0 function. * testsuite/synth: add tests of PSL built-in functions onehot()/onehot0() for #662 * doc: add info about PSL built-in functions onehot()/onehot0() for #662 * synth: refactor synthesis of onehot/onehot0 functions Co-authored-by: eine --- pyGHDL/libghdl/std_names.py | 62 +++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 30 deletions(-) (limited to 'pyGHDL/libghdl/std_names.py') diff --git a/pyGHDL/libghdl/std_names.py b/pyGHDL/libghdl/std_names.py index e716d86c2..656f54f06 100644 --- a/pyGHDL/libghdl/std_names.py +++ b/pyGHDL/libghdl/std_names.py @@ -788,33 +788,35 @@ class Name: Next_Event = 979 Next_Event_A = 980 Next_Event_E = 981 - Prev = 982 - Rose = 983 - Strong = 984 - W = 985 - Whilenot = 986 - Within = 987 - X = 988 - Last_PSL = 988 - First_Edif = 989 - Celltype = 999 - View = 1000 - Viewtype = 1001 - Direction = 1002 - Contents = 1003 - Net = 1004 - Viewref = 1005 - Cellref = 1006 - Libraryref = 1007 - Portinstance = 1008 - Joined = 1009 - Portref = 1010 - Instanceref = 1011 - Design = 1012 - Designator = 1013 - Owner = 1014 - Member = 1015 - Number = 1016 - Rename = 1017 - Userdata = 1018 - Last_Edif = 1018 + Onehot = 982 + Onehot0 = 983 + Prev = 984 + Rose = 985 + Strong = 986 + W = 987 + Whilenot = 988 + Within = 989 + X = 990 + Last_PSL = 990 + First_Edif = 991 + Celltype = 1001 + View = 1002 + Viewtype = 1003 + Direction = 1004 + Contents = 1005 + Net = 1006 + Viewref = 1007 + Cellref = 1008 + Libraryref = 1009 + Portinstance = 1010 + Joined = 1011 + Portref = 1012 + Instanceref = 1013 + Design = 1014 + Designator = 1015 + Owner = 1016 + Member = 1017 + Number = 1018 + Rename = 1019 + Userdata = 1020 + Last_Edif = 1020 -- cgit v1.2.3