新聞中心

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

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

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

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

        本文引用地址: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) --芯片讀時(shí)序

          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ā)展,其集成度越來越高,速度越來越快,價(jià)格也逐漸降低,因此市場發(fā)展很快。公司的ATF1508AS是高性能、高密度的復(fù)雜可編程邏輯器件,使用方便,具有很高的性價(jià)比,因此具有廣闊的應(yīng)用前景。

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

        上一頁 1 2 3 下一頁

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

        評論


        相關(guān)推薦

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

        關(guān)閉
        主站蜘蛛池模板: 乐平市| 饶河县| 永和县| 凉山| 高淳县| 吴忠市| 佳木斯市| 兰州市| 延寿县| 闽清县| 旬邑县| 广东省| 红桥区| 安达市| 日喀则市| 苏尼特左旗| 虹口区| 綦江县| 昆山市| 博罗县| 栾川县| 禹城市| 冕宁县| 和硕县| 宝丰县| 防城港市| 华蓥市| 密山市| 化德县| 伊春市| 鄂温| 邹城市| 洪雅县| 湘乡市| 云梦县| 延吉市| 连山| 巴里| 涿鹿县| 龙井市| 岳西县|