added reference clock input pin locs
fixed clock buffer bug