From 8dd768f5982ac19d3ce34923e6cd2a79a5beeecd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 19 May 2020 17:27:31 +0100 Subject: [PATCH] note that clz is identical to PriorityEncoder (which already exists) --- src/nmutil/clz.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.30.2