Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
724 Views

8B10B simulation result are inconsistent

I am simulating an 8B10B encoder and finding the output to be inconsistent, or possibly I don't understand how it's supposed to work. My reference is the 8B10B wiki page. 

 

 

The simulation runs following deassertion of reset (reset_n) with one of three constant inputs. Only one of them produces the output I expect, the other two do not. RD is supposed to be -1 following reset. 

 

 

input 1: x"23" output 1: x"263" or "1001100011" or "1001" "100011" (4b 6b). 

- notice the both 4B and 6B output are not inverted. 

 

 

input 2: x"97" output 2: x"117" or "0100010111" or "0100" "010111" (4b 6b). 

- notice the 4b output is inverted as though RD=+1, the 6B output is not. 

 

 

input 3: x"E2" output 3: x"22D" or "1000101101" or "1000" "101101" (4b 6b). 

- notice the 4b output is inverted as though RD=+1, the 6B output is not. 

 

 

Thanks to any who care to respond.
0 Kudos
0 Replies