aboutsummaryrefslogtreecommitdiffstats
path: root/src/std_names.adb
diff options
context:
space:
mode:
authorT. Meissner <programming@goodcleanfun.de>2021-02-09 07:31:00 +0100
committerGitHub <noreply@github.com>2021-02-09 07:31:00 +0100
commit7d5bfac5526528e32f5f44b9bea0bbdfee21a589 (patch)
treea3d749912cca5d83f8cb1da304b90a62713d2d59 /src/std_names.adb
parenta75c135b5bb3c817ff0d9605c5cfabbfa721c13b (diff)
downloadghdl-7d5bfac5526528e32f5f44b9bea0bbdfee21a589.tar.gz
ghdl-7d5bfac5526528e32f5f44b9bea0bbdfee21a589.tar.bz2
ghdl-7d5bfac5526528e32f5f44b9bea0bbdfee21a589.zip
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 <eine@users.noreply.github.com>
Diffstat (limited to 'src/std_names.adb')
-rw-r--r--src/std_names.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/std_names.adb b/src/std_names.adb
index 4def79432..1a3fcbe94 100644
--- a/src/std_names.adb
+++ b/src/std_names.adb
@@ -831,6 +831,8 @@ package body Std_Names is
Def ("next_event", Name_Next_Event);
Def ("next_event_a", Name_Next_Event_A);
Def ("next_event_e", Name_Next_Event_E);
+ Def ("onehot", Name_Onehot);
+ Def ("onehot0", Name_Onehot0);
Def ("property", Name_Property);
Def ("prev", Name_Prev);
Def ("rose", Name_Rose);