Problem in timing simulation(Altera)

Aug 22, 2005 1 Replies

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


process(sda,sys_reset)

if sys_reset='0' then

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

-- Mike Treseler

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required