Altera_Forum
Honored Contributor
15 years agoError: Inconsistent I/O type for element "GPIO_0"
Hello
I have the following error when I compile my code: Error: Inconsistent I/O type for element "GPIO_0" Could you say me wath is the problem? I use a Custom IP in SopC for connect a CMOS-Sensor to the GPIO_0. First I would only test my camera, I put the signal in the FPGA and after I get it again to GPIO_1. I have a DE2-Board with EP2C35F672C6N. Here my code (toplevel): -- VHDL Entity CMOS_Sensor_IP_lib.CMOS_Sensor.symbol -- -- Created: -- by - Antonio Carlucci.UNKNOWN (ANTONIOCARLUCCI) -- at - 21:11:31 13.10.2010 -- -- Generated by Mentor Graphics' HDL Designer(TM) 2008.1b (Build 7) -- LIBRARY ieee; USE ieee.std_logic_1164.all; USE ieee.std_logic_arith.all; ENTITY CMOS_Sensor IS PORT( avs_read : IN STD_LOGIC; avs_write : IN STD_LOGIC; avs_writedata : IN STD_LOGIC_VECTOR (31 DOWNTO 0); coe_DATA_IN : IN STD_LOGIC_VECTOR (9 DOWNTO 0); coe_FV_IN : IN STD_LOGIC; coe_LV_IN : IN STD_LOGIC; coe_PIX_CLK_IN : IN STD_LOGIC; csi_clk : IN STD_LOGIC; csi_reset_n : IN STD_LOGIC; avs_readdata : OUT STD_LOGIC_VECTOR (31 DOWNTO 0); coe_DATA_OUT : OUT STD_LOGIC_VECTOR (9 DOWNTO 0); coe_FV_OUT : OUT STD_LOGIC; coe_LV_OUT : OUT STD_LOGIC; coe_PIX_CLK_OUT : OUT STD_LOGIC; coe_SCLK_OUT : OUT STD_LOGIC; coe_SDAT_OUT : OUT STD_LOGIC; coe_nSENS_RST_OUT : OUT STD_LOGIC ); -- Declarations END CMOS_Sensor ; -- -- VHDL Architecture CMOS_Sensor_IP_lib.CMOS_Sensor.struct -- -- Created: -- by - Antonio Carlucci.UNKNOWN (ANTONIOCARLUCCI) -- at - 21:11:31 13.10.2010 -- -- Generated by Mentor Graphics' HDL Designer(TM) 2008.1b (Build 7) -- LIBRARY ieee; USE ieee.std_logic_1164.all; USE ieee.std_logic_arith.all; LIBRARY CMOS_Sensor_IP_lib; ARCHITECTURE struct OF CMOS_Sensor IS -- Architecture declarations -- Internal signal declarations -- Component Declarations COMPONENT IP_Component PORT ( avs_read : IN STD_LOGIC ; avs_write : IN STD_LOGIC ; avs_writedata : IN STD_LOGIC_VECTOR (31 DOWNTO 0); coe_DATA_IN : IN STD_LOGIC_VECTOR (9 DOWNTO 0); coe_FV_IN : IN STD_LOGIC ; coe_LV_IN : IN STD_LOGIC ; coe_PIX_CLK_IN : IN STD_LOGIC ; csi_clk : IN STD_LOGIC ; csi_reset_n : IN STD_LOGIC ; avs_readdata : OUT STD_LOGIC_VECTOR (31 DOWNTO 0); coe_DATA_OUT : OUT STD_LOGIC_VECTOR (9 DOWNTO 0); coe_FV_OUT : OUT STD_LOGIC ; coe_LV_OUT : OUT STD_LOGIC ; coe_PIX_CLK_OUT : OUT STD_LOGIC ; coe_SCLK_OUT : OUT STD_LOGIC ; coe_SDAT_OUT : OUT STD_LOGIC ; coe_nSENS_RST_OUT : OUT STD_LOGIC ); END COMPONENT; -- Optional embedded configurations -- pragma synthesis_off FOR ALL : IP_Component USE ENTITY CMOS_Sensor_IP_lib.IP_Component; -- pragma synthesis_on BEGIN -- Instance port mappings. U_0 : IP_Component PORT MAP ( avs_read => avs_read, avs_write => avs_write, avs_writedata => avs_writedata, coe_DATA_IN => coe_DATA_IN, coe_FV_IN => coe_FV_IN, coe_LV_IN => coe_LV_IN, coe_PIX_CLK_IN => coe_PIX_CLK_IN, csi_clk => csi_clk, csi_reset_n => csi_reset_n, avs_readdata => avs_readdata, coe_DATA_OUT => coe_DATA_OUT, coe_FV_OUT => coe_FV_OUT, coe_LV_OUT => coe_LV_OUT, coe_PIX_CLK_OUT => coe_PIX_CLK_OUT, coe_SCLK_OUT => coe_SCLK_OUT, coe_SDAT_OUT => coe_SDAT_OUT, coe_nSENS_RST_OUT => coe_nSENS_RST_OUT ); END struct; Thanks you for your effort.