Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

i2c with DE2-115

Hello All,

I found this link http://www.alterawiki.com/wiki/i2c_(opencores) where there is an i2c core available (I have Quartus 12.1). But I failed to see any documentation on how to build a qsys component from this so that I can use it in Nios 2. Can some one please point me to the steps I need to take to achieve this?

Thanks so much for your time!

Best regards,

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Custom component that you can use in Qsys is already created for I2C Controller.You just need to give the path for i2c_opencores_hw.tcl in Qsys.Follow the steps given below.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks zoomkrupesh,

    Please let me know where is this "Follow the steps given below."..

    Thanks!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry I forgot to add the stpes.

    Steps are given below.

    (1) Put I2c_opencores_12.0 in your Quartus installation directory->ip directory.

    (2) Open Qsys

    (3) You will see I2C Master(opencores.org) component.You can find it in Interface Protocols->Serial->I2C Master.

    Regards,

    Krupesh