Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- The _sw.tcl belongs in the same search path as the _hw.tcl you used to create your Qsys system. So if you just unzip the .zip and have added the I2C to your Qsys, then the _sw.tcl is probably in the right place. It looks like the problem is that for whatever reason, in the files in the .zip, the _hw.tcl and _sw.tcl don't agree on the name of the hardware block. In the _hw.tcl, the name is "i2c_opencores" [like it says on the wiki page]. In the _sw.tcl, the expected name is "opencores_i2c". Try changing the _sw.tcl so that:
set_sw_property hw_class_name i2c_opencores
And then restart the bsp-editor --- Quote End --- You are right. in _sw.tcl, all "i2c_opencores" was mistaken to "opencores_i2c", even the source codes names. After I changed all of them, it works and the drivers are generated in bsp. Thanks so much for help.