PACKAGE P_AL
ARM IS
SUBTYPE T_DIGITAL IS INTEGER RANGE 0 TO 9;
SUBTYPE T_SHORT IS INTEGER RANGE 0 TO 65535;
TYPE T_CLOCK_tiME IS ARRAY (3 DOWNTO 0) OF T_DIGITAL;
TYPE T_DISPLAY IS ARRAY (3 DOWNTO 0) OF STD_LOGIC_VECTOR(6 DOWNTO 0);
TYPE SEG7 IS ARRAY (0 TO 9) OF STD_LOGIC_VECTOR(6 DOWNTO 0);
简易闹钟设计,网上找了很多遇到这个问题的,但是没有解答。package第四行自定义了数据类型,然后在实体里面使用 ENTITY KEY_BUFFER IS
PORT(KEY : IN T_DIGITAL;
CLK : IN STD_LOGIC;
RESET :IN STD_LOGIC;
NEW_TIME:OUT T_CLOCK_TIME);
编译没有任何问题,但是
的时候,一直提示
Error (10017): Can't create symbol/include/instantiation/component file for entity "KEY_BUFFER" because port "NEW_TIME" are not currently supported by the Quartus II symbol/include/instantiation/component file generator。 意思是quartus不支持这种端口类型?找不到解决的办法啊
一周热门 更多>