Fix simulation error when inputs and MULTIDRIVEN, bug634.
Merge branch 'master' into clk-race