如何使用STATECAD進(jìn)行多狀態(tài)機(jī)設(shè)計(jì)實(shí)例分析
Next_BP_dcounter1 = BP_dcounter(1);
Next_BP_dcounter0 = BP_dcounter(0);
Next_readcounter1 = Readcounter(1);
Next_readcounter0 = Readcounter(0);
END PROCESS;
PROCESS (BP_dcounter0,BP_dcounter1,Dcounter)
BEGIN
Dcounter = (( Std_logic_vector''(BP_dcounter1, BP_dcounter0)));
Dcounter0 = Dcounter(0);
Dcounter1 = Dcounter(1);
END PROCESS;
END BEHAVIOR;
LIBRARY Ieee;
USE Ieee.Std_logic_1164.All;
LIBRARY Ieee;
USE Ieee.Std_logic_unsigned.All;
ENTITY DUOZTJI IS
PORT (Dcounter : OUT Std_logic_vector (1 DOWNTO 0);
CLK,RESET: IN Std_logic);
END;
ARCHITECTURE BEHAVIOR OF DUOZTJI IS
COMPONENT SHELL_DUOZTJI
評(píng)論