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

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

文章摘要: else if count=b then count:=1; if f=63 then f<="00000000"; else f<=f+1; end if; if sss="00010" then --方波A if con<=z then

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

            else

              if count=b then count:=1;

                if f=63 then f<="00000000";

                else f<=f+1;

                end if;

                         if sss="00010" then                                      --方波A

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

                           elsif con=63 then con<=0; dd<="00000000";

                           else con<=con+1; dd<="00000000";

                  end if;

                elsif sss="10000" then dd<=d;                             --正弦波

                elsif sss="00100" then dd<=f(5 downto 0)&"00";              --锯齿波

                elsif sss="01000" then --三角波

                  if f>31 then dd<=("111111"-f(5 downto 0))&"00";

                  else dd<=f(5 downto 0)&"00";

                  end if;

                         elsif sss="00001" then                                   --任意波

                  if addr<63 then dd<=ram(addr); addr<=addr+1;

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


Tag:FPGAfpga是什么,fpga教程FPGA

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

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