From: Luke Kenneth Casson Leighton Date: Tue, 19 May 2020 16:27:31 +0000 (+0100) Subject: note that clz is identical to PriorityEncoder (which already exists) X-Git-Tag: 24jan2021_ls180~60 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dd768f5982ac19d3ce34923e6cd2a79a5beeecd;p=nmutil.git note that clz is identical to PriorityEncoder (which already exists) --- diff --git a/src/nmutil/clz.py b/src/nmutil/clz.py index fed98cf..2c40988 100644 --- 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):