I am opening this to create step function for 4-bit weighted synapse with weights capped to a maximum or minimum value.