Skip to content

Commit a008c03

Browse files
committed
TODO: lzc spec change request
1 parent adf0fcc commit a008c03

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lzc.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
/// in_i = 000_0000, empty_o = 1, cnt_o = 6 (mode = 0)
1313
/// in_i = 000_0001, empty_o = 0, cnt_o = 0 (mode = 0)
1414
/// in_i = 000_1000, empty_o = 0, cnt_o = 3 (mode = 0)
15+
/// TODO wouldn't it make more sense if cnt_o could count up to WIDTH, for the empty case?
16+
/// TODO also "Additionally `cnt_o` contains the maximum number of zeros - 1" is not true for WIDTH == 1
1517
/// Furthermore, this unit contains a more efficient implementation for Verilator (simulation only).
1618
/// This speeds up simulation significantly.
1719
module lzc #(

0 commit comments

Comments
 (0)