""" Create a ``DivPipeCoreInterstageData`` instance. """
self.core_config = core_config
bw = core_config.bit_width
- if core_config.supported == {DP.UDivRem}:
+ # TODO(programmerjake): re-enable once bit_width reduction is fixed
+ if False and core_config.supported == {DP.UDivRem}:
self.compare_len = bw * 2
else:
self.compare_len = bw * 3
""" Create a ``DivPipeCoreOutputData`` instance. """
self.core_config = core_config
bw = core_config.bit_width
- if core_config.supported == {DP.UDivRem}:
+ # TODO(programmerjake): re-enable once bit_width reduction is fixed
+ if False and core_config.supported == {DP.UDivRem}:
self.compare_len = bw * 2
else:
self.compare_len = bw * 3
self.i = self.ispec()
self.o = self.ospec()
bw = core_config.bit_width
- if core_config.supported == {DP.UDivRem}:
+ # TODO(programmerjake): re-enable once bit_width reduction is fixed
+ if False and core_config.supported == {DP.UDivRem}:
self.compare_len = bw * 2
else:
self.compare_len = bw * 3
self.current_shift = current_shift
self.log2_radix = log2_radix
bw = core_config.bit_width
- if core_config.supported == {DP.UDivRem}:
+ # TODO(programmerjake): re-enable once bit_width reduction is fixed
+ if False and core_config.supported == {DP.UDivRem}:
self.compare_len = bw * 2
else:
self.compare_len = bw * 3
assert stage_index in range(core_config.n_stages)
self.core_config = core_config
bw = core_config.bit_width
- if core_config.supported == {DP.UDivRem}:
+ # TODO(programmerjake): re-enable once bit_width reduction is fixed
+ if False and core_config.supported == {DP.UDivRem}:
self.compare_len = bw * 2
else:
self.compare_len = bw * 3