Description
Takes a min value, max value, and an input. Forces the output to be between the min and max value, i.e. if the input value is above the max value, the output becomes the max value.
4 x 3 x 2
Related Schematics
8 bit barrel shifter version B
3 ticks, excluding input/output busleft shift, right shift, arithmetic right shift, rotate. version B has shift amount on the same height as data input, making it easier for using it in second operand. blue: data input, inverted, 15ss required purple: shift amount input, normal, 15ss required.keep in mind that doing a right shift by X is the same as doing a left shift by -X. please input the 2s complement if you want right shifts. yellow: output, normal, low output red: - disable left shift, use when only doing right shift- disable right shift, use when only doing left shift- disable sign extend, for use with arithmetic right shift