新聞中心

EEPW首頁 > 模擬技術(shù) > 設(shè)計應(yīng)用 > 如何使用STATECAD進行多狀態(tài)機設(shè)計實例分析

如何使用STATECAD進行多狀態(tài)機設(shè)計實例分析

作者: 時間:2012-03-26 來源:網(wǎng)絡(luò) 收藏
th: 0px">  BEGIN

  PROCESS (CLK, Next_sreg, Next_BP_dcounter1, Next_BP_dcounter0)

  BEGIN

  IF CLK=''1'' AND CLK''Event THEN

  Sreg = Next_sreg;

  BP_dcounter1 = Next_BP_dcounter1;

  BP_dcounter0 = Next_BP_dcounter0;

  END IF;

  END PROCESS;

  PROCESS (CLK, Next_sreg1, Next_readcounter1, Next_readcounter0)

  BEGIN

  IF CLK=''1'' AND CLK''Event THEN

  Sreg1 = Next_sreg1;

  Readcounter1 = Next_readcounter1;

  Readcounter0 = Next_readcounter0;

  END IF;

  END PROCESS;

  PROCESS (Sreg,Sreg1,BP_dcounter0,BP_dcounter1,Readcounter0,Readcounter1,

  RESET,BP_dcounter,Readcounter)

  BEGIN

  Next_BP_dcounter0 = BP_dcounter0;Next_BP_dcounter1 = BP_dcounter1;

  Next_readcounter0 = Readcounter0;Next_readcounter1 = Readcounter1;

  BP_dcounter = (( Std_logic_vector''(BP_dcounter1, BP_dcounter0)));

  Readcounter = (( Std_logic_vector''(Readcount



評論


相關(guān)推薦

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

關(guān)閉