Sr20det afc diagram

Hey guys im trying to throw in my apexi s-afc 1 into my silvia but the wiring diagram didnt match the ecm. I have already tried the n3-b diagram but the pins didnt match the picture so i just need to know where these wires attach to. Green rpm signal,Yellow air flow out and white air flow in and are the black and brown wires both just grounds?
Pretty much any info on the instalation will be very helpfull. Thanks

Hey guys im trying to throw in my apexi s-afc 1 into my silvia but the wiring diagram didnt match the ecm. I have already tried the n3-b diagram but the pins didnt match the picture so i just need to know where these wires attach to. Green rpm signal,Yellow air flow out and white air flow in and are the black and brown wires both just grounds?
Pretty much any info on the instalation will be very helpfull. Thanks