fix Record and Layout typing
[nmigen-type-annotations.git] / nmigen / tools.py
1 def log2_int(n: int, need_pow2: bool = True) -> int:
2 ...
3
4
5 def bits_for(n: int, require_sign_bit: bool = False) -> int:
6 ...