Add a new block called 'oneshot'.
When its 'reset' input is active, the output will always be off (=false). When the 'set' input is active, the output will be turned on. Once the 'set' input becomes inactive, the output will remain on for 'period' seconds and then turn off. A parameter called 'force' allows the block to be forced into the 'set' or 'reset' states. new file: block/block_oneshot.c