build circuit for siso sipo pipo and piso separately