diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-12-19 15:30:10 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2018-12-19 15:30:10 +0300 |
commit | 21cc313097a670403d5740177e20209b1f0388ae (patch) | |
tree | 43431201d5275d89cd73c22b6c213735a793b7a2 /rtl/modular/modular_invertor/modinv_clog2.v | |
parent | 628d1dc860eb236fddbf5bb5e400bd74817cc317 (diff) |
Diffstat (limited to 'rtl/modular/modular_invertor/modinv_clog2.v')
-rw-r--r-- | rtl/modular/modular_invertor/modinv_clog2.v | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rtl/modular/modular_invertor/modinv_clog2.v b/rtl/modular/modular_invertor/modinv_clog2.v deleted file mode 100644 index 04a7739..0000000 --- a/rtl/modular/modular_invertor/modinv_clog2.v +++ /dev/null @@ -1,10 +0,0 @@ -function integer clog2; - input integer value; - integer result; - begin - value = value - 1; - for (result = 0; value > 0; result = result + 1) - value = value >> 1; - clog2 = result; - end -endfunction |