switch-level simulation now matches modelsim simulation