用MAX+plus 2仿真出错 求高手修改 问题主要就是开头 程序就不写全了
LIBRARYIEEE;USEIEEE.STD_LOGIC_1164.ALL;ENTITYmnameISPORT(CK1:INSTD_LOGIC;S:OUTSTD_LOG...
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY mname IS
PORT(CK1:IN STD_LOGIC;
S:OUT STD_LOGIC_VECTOR(4 DOWNTO 1));
END mname;
ARCHITECTURE name OF mname IS
SIGNAL count:IN TEGER:=0;
BEGIN
PROCESS(CK1)
BEGIN
IF (CK1 EVENT AND CK1='1')THEN
IF (count<29)THEN count<=count + 1;
IF (count=0)THEN S<= "0000"; 展开
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY mname IS
PORT(CK1:IN STD_LOGIC;
S:OUT STD_LOGIC_VECTOR(4 DOWNTO 1));
END mname;
ARCHITECTURE name OF mname IS
SIGNAL count:IN TEGER:=0;
BEGIN
PROCESS(CK1)
BEGIN
IF (CK1 EVENT AND CK1='1')THEN
IF (count<29)THEN count<=count + 1;
IF (count=0)THEN S<= "0000"; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询