diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-12 08:00:58 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-12 08:04:46 +0200 |
commit | 4b4c2f03f79dbd7a9b9138371440117a514644ce (patch) | |
tree | cb37fd13badb62d924a8604d3eb51bf2af8c1fd1 /src/mutils.ads | |
parent | 5525cc11604efbcb33c513f6092c8e2e029dfbe3 (diff) | |
download | ghdl-4b4c2f03f79dbd7a9b9138371440117a514644ce.tar.gz ghdl-4b4c2f03f79dbd7a9b9138371440117a514644ce.tar.bz2 ghdl-4b4c2f03f79dbd7a9b9138371440117a514644ce.zip |
Add mutils.
Diffstat (limited to 'src/mutils.ads')
-rw-r--r-- | src/mutils.ads | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mutils.ads b/src/mutils.ads new file mode 100644 index 000000000..4275fe6c0 --- /dev/null +++ b/src/mutils.ads @@ -0,0 +1,7 @@ +with Types; use Types; + +package Mutils is + -- Return the ceiling log2 of V. + -- Returns 0 for 0. + function Clog2 (V : Uns64) return Integer; +end Mutils; |