# probably related to having to add 4 in FPDivMuxInOut
radix = pspec.log2_radix
n_stages = pspec.core_config.n_stages // max_n_comb_stages
# probably related to having to add 4 in FPDivMuxInOut
radix = pspec.log2_radix
n_stages = pspec.core_config.n_stages // max_n_comb_stages
# then there is guard, round and sticky at the LSB end.
# also: round up to nearest radix
fmt.m_width = roundup(fmt.m_width + 5, log2_radix)
# then there is guard, round and sticky at the LSB end.
# also: round up to nearest radix
fmt.m_width = roundup(fmt.m_width + 5, log2_radix)