中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 基于VHDL語言對高速A/D器件TLC5510控制的實現(xiàn)

        基于VHDL語言對高速A/D器件TLC5510控制的實現(xiàn)

        作者: 時間:2012-05-23 來源:網(wǎng)絡(luò) 收藏

        -- 程序

        本文引用地址:http://www.antipu.com.cn/article/149004.htm

          --文件名:.vhd

          --功能:,

          --最后修改日期:2004.3.20

          library ieee;

          use ieee.std_logic_1164.all;

          entity tlc5510 is

          port(clk :in std_logic; --系統(tǒng)時鐘

          oe :out std_logic; --TLC5510的輸出使能/OE

          clk1:out std_logic; --TLC5510的轉(zhuǎn)換時鐘

          din:in std_logic_vector(7 downto 0); --來自TLC5510的采樣數(shù)據(jù)

          dout:out std_logic_vector(7 downto 0)); --FPGA數(shù)據(jù)輸出

          end tlc5510;

          architecture behav of tlc5510 is

          signal q:integer range 3 downto 0;

          begin

          process(clk) --此進程中,把CLK 進行4分頻,得到TLC5510的轉(zhuǎn)換時鐘

          begin

          if clk'event and clk='1' then

          if q=3 then q=0;

          else q=q+1;

          end if;

          end if;

          if q>=2 then clk1='1'; --對系統(tǒng)CLK進行4分頻

          else clk1='0';

          end if;

          end process;

          oe='0'; --輸出使能賦低電平

          dout=din; --采樣數(shù)據(jù)輸出

          end behaver;



        評論


        相關(guān)推薦

        技術(shù)專區(qū)

        關(guān)閉