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: digitalhomesolutions at cox.net<digitalhomesolutions@c...>
    Date: Mon Apr 30 23:18:42 CEST 2007
    Subject: [oc] I2C SR Question
    Top
    Since the following code from the test bench looks for the ack to go low
    when does bit 7 of of the status register get set to high?
    Thanks,
    Steve

    // wait for acknowledge from slave
    while(~ack) @(posedge clk);

    // negate wishbone signals
    #1;
    cyc = 1'b0;
    stb = 1'bx;
    adr = {awidth{1'bx}};
    dout = {dwidth{1'bx}};
    we = 1'hx;
    sel = {dwidth/8{1'bx}};
    d = din;

    Follow upAuthor
    [oc] I2C SR QuestionRichard Herveille

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