In simulation mode, you can select the command Set output by right clicking the mouse on the digital output of a block.
This command allows you to set an output, irrespective of the current status of a 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.