Answers Database
FPGA Express: Cannot find type information (.typ) for IEEE.STD_LOGIC_1164.STD_LOGIC (HDL-353)
Record #1325
Product Family: Software
Product Line: Synopsys
Product Part: FPGA Express
Product Version: 1.03
Problem Title:
FPGA Express: Cannot find type information (.typ) for IEEE.STD_LOGIC_1164.STD_LOGIC
(HDL-353)
Problem Description:
Urgency: Standard
General Description:
Synthesizing a VHDL design with Express 2.x may give the following error:
Error: Can't find type information (.typ file) for type
'IEEE.STD_LOGIC_1164.STD_LOGIC'. (HDL-353)
This error does not point to the actual problem: Express does not accept
Generics that are not of type integer.
Solution 1:
The generic must be converted to integer format. Conversion utilities can be
found in the BVARITHMETIC package (found in the Synopsys libraries).
The functions are called in the following manner:
--unsigned bit vector to integer
FUNCTION bvtoi(x: BIT_VECTOR) RETURN INTEGER;
--signed bit vector to integer
FUNCTION sbvtoi(x: BIT_VECTOR) RETURN INTEGER;
End of Record #1325 - Last Modified: 07/20/98 13:21 |