B16A's require some additional wiring changes to connect all of their VTEC components. If you're installing a B16 engine into your DX/STD, you'll also need to convert your car to MPFI, so read up on that as well. I have an article on it here. When doing the wiring for VTEC, there are 4 main steps for you to do: vtec oil pressure sensor, knock sensor, second O2 sensor and the vtec solenoid.
2. Second O2 Sensor
This sensor is also located on the front right side of the B16 engine. It needs a single white 20 guage wire that will also run through that 4 pin connector and into pin C8 on the ECU.
3. Knock Sensor
The B16A knock sensor is located on the rear of the engine block, it gets a single res with blue stripe, 20 guage wire feeding it. The wire will also run through the new four-pin connector and will connect to pin B19 on the ECU.
4. VTEC Solenoid
The last part of wiring to do is the vtec solenoid, which is located beside the vtec oil pressure sensor and second O2 sensor on the front right of the engine. This solenoid requires a green with yellow stripe 20 guage wire. This will be the last of the four wires to go into the four pin connector and from the connector will go to pin A8 on the ECU.