新聞中心

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

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

作者: 時間:2012-03-26 來源:網(wǎng)絡(luò) 收藏
x; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(255,255,255); orphans: 2; widows: 2; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">  PORT (CLK,RESET: IN Std_logic;

  Dcounter0,Dcounter1 : OUT Std_logic);

  SIGNAL BP_dcounter0,BP_dcounter1,Readcounter0,Readcounter1: Std_logic;

  END;

  ARCHITECTURE BEHAVIOR OF SHELL_DUOZTJI IS

  SIGNAL Sreg : Std_logic_vector (1 DOWNTO 0);

  SIGNAL Next_sreg : Std_logic_vector (1 DOWNTO 0);

  CONSTANT M0full : Std_logic_vector (1 DOWNTO 0) :="00";

  CONSTANT M0writewait : Std_logic_vector (1 DOWNTO 0) :="01";

  CONSTANT STATE0 : Std_logic_vector (1 DOWNTO 0) :="10";

  CONSTANT Write0 : Std_logic_vector (1 DOWNTO 0) :="11";

  SIGNAL Sreg1 : Std_logic_vector (1 DOWNTO 0);

  SIGNAL Next_sreg1 : Std_logic_vector (1 DOWNTO 0);

  CONSTANT M0empty : Std_logic_vector (1 DOWNTO 0) :="00";

  CONSTANT M0readwait : Std_logic_vector (1 DOWNTO 0) :="01";

  CONSTANT Read0 : Std_logic_vector (1 DOWNTO 0) :="10";

  CONSTANT STATE1 : Std_logic_vector (1 DOWNTO 0) :="11";

  SIGNAL Next_BP_dcounter0,Next_BP_dcounter1,Next_readcounter0,

  Next_readcounter1 : Std_logic;

  SIGNAL BP_dcounter : Std_logic_vector (1 DOWNTO 0);

  SIGNAL Dcounter : Std_logic_vector (1 DOWNTO 0);

  SIGNAL Readcounter : Std_logic_vector (1 DOWNTO 0);



關(guān)鍵詞: STATECAD 多狀態(tài)機 實例分析

評論


相關(guān)推薦

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

關(guān)閉