Problem in timing simulation(Altera)

Hi all,

The following piece of code works in functional simulation


--This process is used to detect the start condition(I2C).

-- SDA is used as the clock for this purpose

--************************************************************************* process(sda,sys_reset,current_i2c_state,scl) begin if(sys_reset='0' or current_i2c_state= I2C_HEADER)then detect_start

Reply to
Loading thread data ...


if sys_reset='0' then

if(scl/= '0' and current_i2c_state /= I2C_HEADER) then

-- Mike Treseler

Reply to
Mike Treseler

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.