setup() {
        this.iteration = 0;
        this.running = false;
        this.nodeList.clean(this.clockInp);
        this.deleteNodes();
        this.nodeList = [];
        this.nodeList.push(this.clockInp);
        this.testData = this.testData || { inputs: [], outputs: [], n: 0 };
        // this.clockInp = new Node(0,20, 0,this,1);

        this.setDimensions();

        this.prevClockState = 0;
        this.outputs = [];

        for (var i = 0; i < this.testData.inputs.length; i++) {
            this.outputs.push(new Node(this.rightDimensionX, 30 + i * 20, 1, this, this.testData.inputs[i].bitWidth, this.testData.inputs[i].label));
        }

        for (var i = 0; i < this.scope.TB_Output.length; i++) {
            if (this.scope.TB_Output[i].identifier == this.identifier) { this.scope.TB_Output[i].setup(); }
        }
    }
@memberof TB_Input
setups the Test by parsing through the testbench data.