projects
/
nmutil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
note that clz is identical to PriorityEncoder (which already exists)
[nmutil.git]
/
src
/
nmutil
/
clz.py
diff --git
a/src/nmutil/clz.py
b/src/nmutil/clz.py
index fed98cf44ed40b58505458d2b2549807540a5850..2c40988988cd083294bbdd779bbb076bd72132ec 100644
(file)
--- a/
src/nmutil/clz.py
+++ b/
src/nmutil/clz.py
@@
-1,5
+1,7
@@
from nmigen import Module, Signal, Elaboratable, Cat, Repl
import math
+""" TODO: replace this module with PriorityEncoder
+"""
class CLZ(Elaboratable):
def __init__(self, width):