02. hdb3

02. hdb3 - //found 4 zeros p[n] = -V V=-V if p[n] == -IA...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1 HDB3 Encoding b[n]: current bit p[n]: current pulse IA: previous I or A pulse V: previous V pulse if b[n]==1 then //incoming bit is 1 p[n]=-IA IA=-IA else //incoming bit is 0 p[n]=0 if p[n, n-1, n-2, n-3]==[0, 0, 0, 0] then
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //found 4 zeros p[n] = -V V=-V if p[n] == -IA then // A pulse p[n-3]=p[n] //insert A pulse IA=p[n] end if end if end if Communication Networks © Kang Xi, Polytechnic Institute of NYU...
View Full Document

This note was uploaded on 11/02/2010 for the course EE 136 taught by Professor Kang xi during the Spring '10 term at NYU Poly.

Ask a homework question - tutors are online