Digilent / vivado-library

MIT License
566 stars 311 forks source link

Incorrect counter function when writing to SlaveCtl. #61

Open elodg opened 2 years ago

elodg commented 2 years ago

https://github.com/Digilent/vivado-library/blob/0722144dc8e617da07f0a2115dd06ffdb1f1be08/ip/dvi2rgb/src/TWI_SlaveCtl.vhd#L234

Counter bitCount is not being reset to 7 when exiting stSAck and entering stWrite (rd_wrn = '0'). Correct by removing condition "and rd_wrn = '1'".