黑白CMOS图像传感器OV9120的原理及应用

[10-10 20:38:44]   来源:http://www.88dzw.com  电子制作   阅读:8414

文章摘要:variable n: integer range 8 to 0;beginif( sio_c_start=‘0’ then load<=‘1’;n:=0;elseif (q 'event and q=‘0’) thenif n<8 then n?=n+1;load<=‘0’;else n:=0;load<=‘1’;end if;end if;end if;end process lock;reg1: process(n1,q,load)variable pp:std_logic_vector(7 downto 0);?variable b:integer range 7 to 0;varia

黑白CMOS图像传感器OV9120的原理及应用,标签:电子小制作,http://www.88dzw.com
variable n: integer range 8 to 0;

begin

if( sio_c_start=‘0’ then load<=‘1’;n:=0;

else

if (q 'event and q=‘0’) then

if n<8 then n?=n+1;

load<=‘0’;

else n:=0;load<=‘1’;

end if;

end if;

end if;

end process lock;

reg1: process(n1,q,load)

variable pp:std_logic_vector(7 downto 0);?

variable b:integer range 7 to 0;

variable c:integer range 13 to 0;

begin

if(n1=‘1’or reset_i=‘0’) then p<=‘1’;c:=0; b:=0;QB<=‘0’;

else

if(q'event and q=‘0’)then

if load=‘1’ then;

c:=c+1?

if c<13 then

if c=1 then

pp:=″11000010″;

elsif c=2 then

pp:=″00001100″;

elsif c=3 then

pp:=″00101001″;

elsif c=4 then

pp?=″11000010″;

elsif c=5 then

pp:=″00001101″;

elsif c=6 then

pp:=″10000000″;

elsif c=7 then

pp:=″11000010″;

elsif c=8 then

pp:=″00010001″;

elsif c=9 then

pp:=″10000000″;

elsif c=10 then

pp:=″11000010″;

elsif c=11 then

pp:=″00010011″;

elsif c=12 then

pp:=″00010111″?

end if;

b:=0;p<=pp(7);

elsif c=13 then

p<=‘0’; QB<=‘1’;

end if;

else

if b<7 then b:=b+1;

pp(7 downto 1):=pp(6 ownto 0);?

p<=pp(7);?

else p<=‘1’;

end if;

end if;

end if;

end if;

end process reg1;

上一页  [1] [2] [3] [4] 


Tag:电子制作电子小制作维修教程知识 - 电子制作

《黑白CMOS图像传感器OV9120的原理及应用》相关文章