LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cores > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: m.afgani at gmail.com<m.afgani@g...>
    Date: Fri Apr 20 00:16:58 CEST 2007
    Subject: [oc] I2C core VHDL testbench
    Top
    Hello,

    I've finally succeeded in creating a simple WISHBONE master and
    testbench in VHDL that seems to work with the VHDL I2C core (ISE Sim
    9.1.03i). One major issue appears to be the fact the core cannot deal
    with SCL/SDA lines that toggle between 'H' and '0' -- requiring the
    use of the /to_X01()/ function for /scl_i/ and /sda_i/ in the
    testbench. Also, I chose to use a VHDL model for a 24Cxx I2C EEPROM
    rather than the verilog slave model in CVS. An archive with the
    contributed files can be found here:

    http://m.afgani.googlepages.com/wb_i2c_tb.zip

    I started working on this project a few weeks ago with no prior
    knowledge of any HDL. Therefore, the code is certain to be lacking in
    many respects. I would really appreciate it if some of the more
    experienced users would have a look and provide some feedback.

    Many thanks to Richard for the core.

    Regards,
    Mostafa

    Follow upAuthor
    [oc] I2C core VHDL testbenchRichard Herveille

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.