2、VHDL的STD_LOGIC_ARITH包常见数据类型转换 将数据类型为integer,unsigned,signed,std_logic或std_ulogic的操作数p转换成integer类型,不包括STD_LOGIC_VECTOR。:将数据类型为integer,signed,std_logic或std_ulogic的操作数p转换成宽度为b的unsigned的数据类型。:将数据类型为integer,unsigned,std_logic或std_ulogic的操作数p转换成宽度为b的signed的数据类型。例:integer转换成std_logic_vector。