The drivers for these do exist (see git.xilinx.com). I suppose as a 'control' bus, they might actually be useful inside an FPGA, but why not just use dcr? Part of the value of i2c is minimizing wires (including power wires), but that's hardly a design constraint in an FPGA compared to conserving logic.
I also got fed up with the i2c core at one point and wrote a bitbang version for the gpio. It might be a bit slower, but it's dirt simple. I can send it do you, if you're interested. Steve -----Original Message----- From: [EMAIL PROTECTED] on behalf of David H. Lynch Jr. Sent: Sun 11/25/2007 1:44 AM To: linuxppc-embedded Subject: SPI, I2C I have been asked to do SPI and I2C drivers for Pico cards. I am trying to grasp what the practical use of either could be in an environment where neither SPI nor I2C are going to be able to communicate outside the FPGA. I am guessing that SPI and I2C implementations already exist for Xilinx FPGA's - any chance that drivers might already exist ? I would prefer not to charge a client to reinvent something that exists, or that can not serve a useful purpose. I am not trying to imply that SPI or I2C are not useful, just that they are communications channels, and unless they have outside I2C or SPI hardware to talk to what purpose might they serve ? -- Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 [EMAIL PROTECTED] http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded