多功能波形发生器VHDL程序与仿真

[11-20 16:14:56]   来源:http://www.88dzw.com  FPGA   阅读:8518

文章摘要: elsif addr=63 then dd<=ram(63); addr<=0; end if; else --完成5种波形的线形叠加 if sss(1)='1' then if con<=z then con<=con+1; dd0:=conv_integer(amp0); --方波波形数据

多功能波形发生器VHDL程序与仿真,标签:fpga是什么,fpga教程,http://www.88dzw.com

                  elsif addr=63 then dd<=ram(63); addr<=0;

                  end if;

                else                                  --完成5种波形的线形叠加

                           if sss(1)='1' then

                    if con<=z then con<=con+1;

dd0:=conv_integer(amp0);      --方波波形数据dd0

                             else con<=con+1; dd0:=0;

                    end if;

                              end if;

                  if sss(4)='1' then dd1:=conv_integer(d);        --正弦波波形数据dd1

                  end if;

                  if sss(2)='1' then dd2:=conv_integer(f(5 downto 0)&"00");

                                                          --锯齿波波形数据dd2

                  end if;           

                              if sss(3)='1' then

                    if f>31 then dd3:=conv_integer(("111111"-f(5 downto 0))&"00");

                    else dd3:=conv_integer(f(5 downto 0)&"00"); --三角波波形数据dd3

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]  下一页


Tag:FPGAfpga是什么,fpga教程FPGA

《多功能波形发生器VHDL程序与仿真》相关文章

分类导航
最新更新
热门排行