Forum Discussion

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

generating i2c controller in sopc

hi everybody,

I have another one problem in generating a system in sopc . here is my procedure.

With the class.ptf file in the address below: http://users.ece.gatech.edu/~hamblen/de2/d...logic_open_i2c/ I create a new component . there is a error in generating the system. there it is:

# ##############

Perlcopy: cannot open source file C:/User/shalom/vhdl/i2c_master/hdl/i2c_master_bit_ctrl.v: No such file or directory at c:/altera/70/quartus/sopc_builder/bin/filename_utils.pm line 182.

Error: Generator program

for module 'i2c_master_0' did NOT run successfully.

generator cmd was 'c:/altera/70/quartus//bin/perl/bin/perl

# ##############

thanks by advance of the help

6 Replies

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

    If you don't need heavy traffic on the i2c, it would be easier to use bidirectional pio or gpio to control the i2c bus and do it with bit-banging software. Almost every PC uses bit-banging i2c.

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

    hello,

    what is the differents training, because when I create the Component I2C from open core i have some errors and I don't know how to resolve it?

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

    --- Quote Start ---

    now i use the i2c ip core downloaded from opencores.org, by VHDL.

    build it in SOPC, following some trainings.

    --- Quote End ---

    HI,

    i am very new to all this and right now working on a project with main task of integrating I2C bus in cyclone ii. The ip core to be used is same as from opencores.org. Can you tell me how you built it in SOPC?

    thanks

    D