i2c master vhdl
I am having another problem - hopefully someone can help. I am feeding a 400kHz clock into my CPLD, which is running the simple_i2c + tst_ds1621 code from opencores. When I turn on the circuit, my scl line starts running, but only at about 4kHz. I know this is related to the CLK_CNT variable, but I don't understand how/what it is doing. I can post code if you need, but it seems like everyone has seen the opencores i2c.
Added after 15 minutes:
i think i found it....it looks like it is the prescale register, similar to the one in the master file