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: mcrist at opencores.org<mcrist@o...>
    Date: Fri Oct 7 20:43:39 CEST 2005
    Subject: [oc] Wishbone Builder support for more than 9 masters / slaves
    Top
    I recently downloaded the wishbone builder perl script, and was unable
    to generate more than 9 masters or slaves (among other problems). I
    believe this is due to the use of string comparisons (le, ne, ge,
    etc...) to compare integers. For example:
    for ($i=1; $i le $masters; $i++) {

    should be
    for ($i=1; $i <= $masters; $i++) {

    since both $masters and $i are used as integers. I have created a
    patch that fixes this problem for all string comparisons {le, ne, ge,
    lt, gt, eq}. The patch is quite large, and can be found at
    http://mknod.org/~mcrist/integer_compare.patch.gz

    Mike


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