Fix synthesis error (bad port direction)