新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 基于CPLD的串并轉(zhuǎn)換和高速USB通信設(shè)計

        基于CPLD的串并轉(zhuǎn)換和高速USB通信設(shè)計

        作者: 時間:2014-09-14 來源:網(wǎng)絡(luò) 收藏

          rram1 : process(SCLK2M) -- RAM_OE(RAM讀時序)

        本文引用地址:http://www.104case.com/article/262878.htm

          begin

          if SCLK2M'event and SCLK2M='1' then

          if read='0' then

          ram_oe_reg <= '1';

          cpld2_counter <= (others=>'0');

          elsif read='1' then

          cpld2_counter <= cpld2_counter+1;

          if cpld2_counter>0 then

          ram_oe_reg <= not ram_oe_reg;

          end if;

          end if;

          end if;

          end process;

          rram2 : process(SCLK2M,WORKING,RESET) -- ADDRESS(RAM地址信號)

          begin

          if WORKING='1' or RESET='1' then

          adr_reg <= (others=>'0');

          elsif SCLK2M'event and SCLK2M='0' then

          if read='1' and ram_oe_reg='1' and cpld2_counter>2 then

          adr_reg <= adr_reg+1;

          end if;

          end if;

          end process;

          wd12 : process(SCLK2M) --芯片讀時序

          begin

          if SCLK2M'event and SCLK2M='0' then

          if read='0' then

          d12_wr_reg <= '1';

          elsif read='1' and cpld2_counter/=129 then

          d12_wr_reg <= not d12_wr_reg;

          end if;

          end if;

          end process;

          結(jié)束語

          器件的優(yōu)勢在于縮短開發(fā)生產(chǎn)周期,現(xiàn)場靈活性好,而且隨著電子技術(shù)的發(fā)展,其集成度越來越高,速度越來越快,價格也逐漸降低,因此市場發(fā)展很快。公司的ATF1508AS是高性能、高密度的復(fù)雜可編程邏輯器件,使用方便,具有很高的性價比,因此具有廣闊的應(yīng)用前景。

        上拉電阻相關(guān)文章:上拉電阻原理

        上一頁 1 2 3 下一頁

        關(guān)鍵詞: ATMEL CPLD USB

        評論


        相關(guān)推薦

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

        關(guān)閉
        主站蜘蛛池模板: 临泉县| 巧家县| 淅川县| 长治县| 翁源县| 乾安县| 喀什市| 高台县| 阳原县| 望奎县| 杨浦区| 宾川县| 亚东县| 富裕县| 栾城县| 阜南县| 六安市| 藁城市| 永宁县| 新津县| 宜宾县| 龙岩市| 西青区| 芦山县| 铜山县| 咸阳市| 旌德县| 孙吴县| 绵阳市| 鲜城| 旺苍县| 株洲县| 镇巴县| 康平县| 凤山市| 长治市| 诏安县| 安阳市| 花垣县| 海丰县| 陆川县|