aboutsummaryrefslogtreecommitdiffstats
path: root/src/std_names.ads
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.ads
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.ads')
-rw-r--r--src/std_names.ads16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/std_names.ads b/src/std_names.ads
index 2a7fc8dc0..281a26f64 100644
--- a/src/std_names.ads
+++ b/src/std_names.ads
@@ -973,18 +973,20 @@ package Std_Names is
-- Name_Not
-- Name_Or
-- Name_Property
- Name_Prev : constant Name_Id := Name_First_PSL + 26;
+ Name_Onehot : constant Name_Id := Name_First_PSL + 26;
+ Name_Onehot0 : constant Name_Id := Name_First_PSL + 27;
+ Name_Prev : constant Name_Id := Name_First_PSL + 28;
-- Name_Restrict
-- Name_Restrict_Guarantee
- Name_Rose : constant Name_Id := Name_First_PSL + 27;
+ Name_Rose : constant Name_Id := Name_First_PSL + 29;
-- sequence
- Name_Strong : constant Name_Id := Name_First_PSL + 28;
+ Name_Strong : constant Name_Id := Name_First_PSL + 30;
-- union
-- until
- Name_W : constant Name_Id := Name_First_PSL + 29;
- Name_Whilenot : constant Name_Id := Name_First_PSL + 30;
- Name_Within : constant Name_Id := Name_First_PSL + 31;
- Name_X : constant Name_Id := Name_First_PSL + 32;
+ Name_W : constant Name_Id := Name_First_PSL + 31;
+ Name_Whilenot : constant Name_Id := Name_First_PSL + 32;
+ Name_Within : constant Name_Id := Name_First_PSL + 33;
+ Name_X : constant Name_Id := Name_First_PSL + 34;
Name_Last_PSL : constant Name_Id := Name_X;
subtype Name_Id_PSL_Keywords is