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: H. Peter Anvin<hpa@z...>
    Date: Thu Apr 12 02:52:18 CEST 2007
    Subject: [oc] recent i2c questions
    Top
    Matt Ettus wrote:
    > After further perusing the code it appears that this is done by the core
    > itself. It wasn't clear from the docs.

    Well, the HDL for an open drain and for a tristate which is never "1" is
    identical in both Verilog and VHDL. In Verilog, you would write either as:

    assign output = output_active ? 1'b0 : 1'bz;

    Even if you explicitly instantiate an open drain buffer, any FPGA
    synthesizer will simply instantiate it as a tristate buffer with its
    input tied to zero.

    So, there is nothing the core has to do.

    -hpa


    ReferenceAuthor
    [oc] recent i2c questionsMatt Ettus

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