aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_psl.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-02-09 21:01:06 +0100
committerTristan Gingold <tgingold@free.fr>2021-02-09 21:06:22 +0100
commitd6b15882f1e023e3d68f424e76215c981ab0304b (patch)
tree6e6c0184e8d3e79dcd74b0416f79f939c7dcd8c1 /src/vhdl/vhdl-sem_psl.ads
parentf195ad27e1810b1071d9fc72a1686d32597cf882 (diff)
downloadghdl-d6b15882f1e023e3d68f424e76215c981ab0304b.tar.gz
ghdl-d6b15882f1e023e3d68f424e76215c981ab0304b.tar.bz2
ghdl-d6b15882f1e023e3d68f424e76215c981ab0304b.zip
vhdl-sem_psl: factorize code for onehot/onehot0 and stable/fell/rose.
Diffstat (limited to 'src/vhdl/vhdl-sem_psl.ads')
-rw-r--r--src/vhdl/vhdl-sem_psl.ads9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vhdl/vhdl-sem_psl.ads b/src/vhdl/vhdl-sem_psl.ads
index 758462a62..7cbb4bd8b 100644
--- a/src/vhdl/vhdl-sem_psl.ads
+++ b/src/vhdl/vhdl-sem_psl.ads
@@ -22,11 +22,12 @@ package Vhdl.Sem_Psl is
function Is_Psl_Bitvector_Type (Atype : Iir) return Boolean;
function Sem_Prev_Builtin (Call : Iir; Atype : Iir) return Iir;
- function Sem_Stable_Builtin (Call : Iir) return Iir;
- function Sem_Rose_Builtin (Call : Iir) return Iir;
- function Sem_Fell_Builtin (Call : Iir) return Iir;
+
+ -- For stable, rose and fell builtins.
+ function Sem_Clock_Builtin (Call : Iir) return Iir;
+
+ -- For onehot and onehot0.
function Sem_Onehot_Builtin (Call : Iir) return Iir;
- function Sem_Onehot0_Builtin (Call : Iir) return Iir;
procedure Sem_Psl_Declaration (Stmt : Iir);
procedure Sem_Psl_Endpoint_Declaration (Stmt : Iir);