aboutsummaryrefslogtreecommitdiff
path: root/rtl/modular/modular_invertor/modinv_clog2.v
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/modular/modular_invertor/modinv_clog2.v')
-rw-r--r--rtl/modular/modular_invertor/modinv_clog2.v10
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