diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-05-17 08:57:16 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-05-17 08:57:16 +0200 |
commit | 74e48a9526fa26e973cd38bbe7610904e5896feb (patch) | |
tree | 976151553cb66350967037cee1cfd8b62eefb55b /src/synth/synth-ieee-numeric_std.ads | |
parent | 202f7d2e8cbd12911a18d22741e2856e57a03074 (diff) | |
download | ghdl-74e48a9526fa26e973cd38bbe7610904e5896feb.tar.gz ghdl-74e48a9526fa26e973cd38bbe7610904e5896feb.tar.bz2 ghdl-74e48a9526fa26e973cd38bbe7610904e5896feb.zip |
synth: move static comparison functions to synth.ieee.numeric
Diffstat (limited to 'src/synth/synth-ieee-numeric_std.ads')
-rw-r--r-- | src/synth/synth-ieee-numeric_std.ads | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/synth/synth-ieee-numeric_std.ads b/src/synth/synth-ieee-numeric_std.ads index f3e5817f1..7254d636f 100644 --- a/src/synth/synth-ieee-numeric_std.ads +++ b/src/synth/synth-ieee-numeric_std.ads @@ -26,6 +26,17 @@ with Synth.Source; use Synth.Source; package Synth.Ieee.Numeric_Std is -- Reminder: vectors elements are from left to right. + function Compare_Uns_Uns + (Left, Right : Memtyp; Err : Order_Type; Loc : Syn_Src) return Order_Type; + function Compare_Uns_Nat + (Left, Right : Memtyp; Err : Order_Type; Loc : Syn_Src) return Order_Type; + function Compare_Nat_Uns + (Left, Right : Memtyp; Err : Order_Type; Loc : Syn_Src) return Order_Type; + function Compare_Sgn_Sgn + (Left, Right : Memtyp; Err : Order_Type; Loc : Syn_Src) return Order_Type; + function Compare_Sgn_Int + (Left, Right : Memtyp; Err : Order_Type; Loc : Syn_Src) return Order_Type; + -- Unary "-" function Neg_Vec (V : Memtyp; Loc : Syn_Src) return Memtyp; |