a
b
d
c
g
f
h
e
アノードコモンLED
a,d,h=0
b,c,e,f,g=1
カソードコモンLED
a,d,h=1
b,c,e,f,g=0
dout[7:0]には
{a,b,c,d,e,f,g,h}を割り当てる