新闻中心

EEPW首页>嵌入式系统>设计应用> 基于CPLD的串并转换和高速USB通信设计

基于CPLD的串并转换和高速USB通信设计

作者: 时间:2014-09-14 来源:网络 收藏

  rram1 : process(SCLK2M) -- RAM_OE(RAM读时序)

本文引用地址://m.amcfsurvey.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;

  结束语

器件的优势在于缩短开发生产周期,现场灵活性好,而且随着电子技术的发展,其集成度越来越高,速度越来越快,价格也逐渐降低,因此市场发展很快。公司的ATF1508AS是高性能、高密度的复杂可编程逻辑器件,使用方便,具有很高的性价比,因此具有广阔的应用前景。

上拉电阻相关文章:上拉电阻原理

上一页 1 2 3 下一页

关键词:ATMELCPLDUSB

评论


相关推荐

技术专区

关闭