protected override void OnSchedule(Func <VGAAlienArtModuleInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);
            vgaController.Schedule(() => new VGAControllerInputs());
            patternTimer.Schedule(() => new TimerInputs()
            {
                Restart = false
            });
            offsetTimer.Schedule(() => new TimerInputs()
            {
                Restart = false
            });

            Pipeline.Schedule(() => new IntDividerPipelineInputs <VGAAlienArtPipelinePayload>()
            {
                Payload = new VGAAlienArtPipelinePayload()
                {
                    Visible = vgaController.OutVisible,
                    HSync   = vgaController.HSync,
                    VSync   = vgaController.VSync
                },
                inNumerator   = ((State.offset + vgaController.OutVPixel) ^ vgaController.OutHPixel).Resized(32),
                inDenominator = State.denominator
            });
        }
        protected override void OnSchedule(Func <PipelineTestInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);

            Pipeline1.Schedule(() => new PipelineTestInputs()
            {
                inData  = Inputs.inData,
                inReady = Inputs.inReady
            });

            Pipeline2.Schedule(() => new PipelineTestInputs()
            {
                inData = new byte[]
                {
                    (byte)(Inputs.inData[7] + 1),
                    (byte)(Inputs.inData[6] * 2),
                    (byte)(Inputs.inData[5] << 1),
                    (byte)(Inputs.inData[3] - 3),
                    Inputs.inData[2],
                    Inputs.inData[1],
                    (byte)(Inputs.inData[4] >> 1),
                    Inputs.inData[0]
                },
                inReady = Inputs.inReady
            });
        }
        protected override void OnSchedule(Func <IntDividerPipelineModuleInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);

            DivPipeline.Schedule(() => new IntDividerPipelineInputs <bool>()
            {
                Payload       = Inputs.inReady,
                inNumerator   = Inputs.inNumerator,
                inDenominator = Inputs.inDenominator
            });
        }
        protected override void OnSchedule(Func <PipelineTestInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);

            Pipeline.Schedule(() => Inputs);
        }
        protected override void OnSchedule(Func <StallControlTestPipelineModuleInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);

            Pipeline.Schedule(() => Inputs);
        }
示例#6
0
        protected override void OnSchedule(Func <FunctionsPipelineModuleInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);

            Pipeline.Schedule(() => Inputs);
        }