finished Quartus for MS 1b