resolve() {
        this.output1.value = extractBits(
            this.inp1.value,
            this.bitSelectorInp.value + 1,
            this.bitSelectorInp.value + 1
        ); // (this.inp1.value^(1<<this.bitSelectorInp.value))==(1<<this.bitSelectorInp.value);
        simulationArea.simulationQueue.add(this.output1);

        this.setOutputsUpstream(true);
    }
@memberof BitSelector
resolve output values based on inputData