top-level entity correct switch-level simulation