In simulation mode, you can set a block output by right-clicking the digital output of the block. With this command, you can set the output irrespective of the current status of the block. The output remains set until you enable it again or you end the simulation.
This way you can use a simulation to check how a circuit program will react to certain states.