Altera_Forum
Honored Contributor
16 years agoSOPC ERROR: Cannot have an associated clock
Hi,
I'm trying to generate a SOPC component from a VHDL file. I want to make an I2C component. The VHDL basis ist the I2C Master/Slave from opencores. I modified it in that way, that I only need an I2C master that is writing data to the bus. Here is my port definition:
ENTITY i2c_core_v02_master_write IS
generic
(
CLK_FREQ : natural := 25000000
);
PORT
(
--INPUTS
csi_clock_clk : IN std_logic; -- The signals obey the naming conventions specified in the Quartus II Handbook Volume 4: SOPC Builder
csi_rst_reset : IN std_logic;
avs_start_begintransfer : IN std_logic;
avs_stop_begintransfer : IN std_logic;
avs_write_write : IN std_logic;
avs_data_writedata : IN std_logic_vector (7 DOWNTO 0);
--OUTPUTS
coe_sda_export : INOUT std_logic;
coe_scl_export : INOUT std_logic;
avs_ready_readyfordata : OUT std_logic;
avs_flags_readdata : OUT std_logic_vector (7 downto 0); -- Field 0 contains the acknowledge information
avs_acknowledge_dataavailable : OUT std_logic
);
END ENTITY i2c_core_v02_master_write;
As you can see, I tried using the naming conventions so that SOPC builder should be able to create the component with the correct interfaces and signal types. Unfortunatly, when I put this file into the New Component dialog of SOPC builder, I get the following Messages: <html>Error: <b>.rst</b>: Cannot have an associated clock <html>Warning: <b>.start</b>: Slave has no read or write interface <html>Warning: <b>.stop</b>: Slave has no read or write interface <html>Warning: <b>.write</b>: Slave has no read or write interface <html>Warning: <b>.write</b>: Has <b>write</b> but no <b>writedata</b> signal <html>Warning: <b>.data</b>: Has write interface but no write control <html>Warning: <b>.ready</b>: Slave has no read or write interface <html>Warning: <b>.ready</b>: Slave has <b>readyfordata</b> signal but cannot accept writes <html>Warning: <b>.acknowledge</b>: Slave has no read or write interface <html>Warning: <b>.acknowledge</b>: Slave has <b>dataavailable</b> signal but cannot read I don't know, what I have done wrong. I don't know either what to do about the error nor the warnings. I don't find any information in the web or in this forum. It seems as if no one but me has ever got such output from SOPC builder. I'm using the altera documentation but it does not tell anything about warnings and errors and what to do about them. Please, somebody tell me what I'm doing wrong here. Maik