微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 硬件工程师文库 > PLD和FPGA有什么区别与联系?PLD高速通讯USB转移技术分析

PLD和FPGA有什么区别与联系?PLD高速通讯USB转移技术分析

时间:05-19 来源:网络整理 点击:

cess(SCLK2M) -- RAM_OE(RAM读时序)

  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) --USB芯片读时序

  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;

  结束语

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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top