LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    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: Richard Herveille<richard@h...>
    Date: Thu Oct 26 10:12:30 CEST 2006
    Subject: [oc] which the RTL code of I2C core is corrected
    Top

    Richard Herveille wrote:

    > Anyways it's always a good idea to thoroughly check whatever IP you
    receive.

    Can't I just put your email and phone number in the code??? ;)


    [rih] :D, sure at $100 per hour for support :p


    Speaking of testing, I've run into a problem simulating the VHDL core in
    my testbench and am wondering why the supplied testbench doesn't have
    the same problem (I haven't run it myself as yet)!?!

    [rih] This is a general problem with VHDL (actually with std_logic).
    You could try to change the line from
    if (sSCL = '1' and dSCL = '0') then
    to
    if ((sSCL = '1' or sSCL = 'H') and dSCL = '0') then

    Or use a conversion script like the one you described.
    The code is clean, this is a simulation problem.

    Richard



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