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
  •  
    Overview :: News :: Downloads :: Tracker :: Discussions (cores)    

    10_100_1000 Mbps tri-mode ethernet MAC: Tracker : Compiler complains about a comma just in front of a rount bracket

    Monitor this item

    You will be notified via email when status of this item is changed or if somebody adds a comment.

    Your email

      Compiler complains about a comma just in front of a rount bracket

    Type BUG
    Status CLOSED
    Top
    1.)
    The core has probably some syntax errors (with Quartus II) e.g.:

    -----xxxx snip xxxx------- file MAC-tx.v
    //MAC_rx_flow ,
    input [15:0] pause_quanta ,
    input pause_quanta_val ,
    );
    //******************************************************************************
    //internal signals
    //******************************************************************************

    Q2V6.0 SP1 reports:

    Error (10170): Verilog HDL syntax error at MAC_tx.v(90)
    near text ")"; expecting an identifier, or "input", or "output", or "inout", or "(*"
    -----xxxx snip xxxx------- file MAC-tx.v

    The comma just before the round bracket is for some Verilog compilers a syntax error (QuartusII ...)

    2.)
    ______________________________________________________________________

    in MAC_rx.v compiler reports:

    Error (10001): Verilog HDL or VHDL error at MAC_rx.v(106): object pause_quanta declared in a list of port declarations cannot be redeclared within the module body

    Error (10001): Verilog HDL or VHDL error at MAC_rx.v(107): object pause_quanta_val declared in a list of port declarations cannot be redeclared within the module body

    ----- snip ------
    output [15:0] pause_quanta ,
    output pause_quanta_val ,
    ----- snip ------
    wire [15:0] pause_quanta ;
    wire pause_quanta_val ;
    ----- snip ------
    These signals exist as "output" and "wire" (redeclared...), QuartusII does not like it!

    Maybe other compilers are more tolerant??
    A fix in that direction would be nice.

    KInd regards Frank

     
    Stats

    1 people are monitoring this item

    Progress
     
    Submited date 24-Aug-2006
    Submited by frank.rodler@g...
     
    Assigned date
    Assigned to
     
    Closed date 17-Aug-2008
    Closed by Jon Gao

    Top

    Comments

    by frank.rodler@a... on 21-Nov-2006
    The fix of 17.11.2006 should cover this problem. Problem report can be closed. Regards Frank.
     
    by johan.wouters@e... on 03-Sep-2006
    The Xilinx WebPack 8.2 produces similar errors.
     

    Add your comment

    Your email:

    Retype key:
    Top

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