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: Rudolf Usselmann <rudi@a...>
    Date: 24 Apr 2003 16:05:54 +0700
    Subject: Re: [oc] Adder issues ?
    Top

    On Thu, 2003-04-24 at 15:40, NansonHuang@I... wrote:
    >   Hi, dear elites,
    > 
    >   I had a question about the adder implementation in RTL. Provided that we
    > use 2's
    > complement system as the number representation, 2 variable adder is
    > normally written
    > as c=a+b which c is 12 bits, a and b are 11 bits. We denote the area
    > occupation of the  2 variable adder is X gates. Now if we would like to
    > implement the function such as c=a+ 11'h001(a constant) or the negation of
    > a, -a(i.e ~a+1'b1), do we code that as the above coding style c=a+11'h001
    > in the RTL ? Will the synthesizer optimize it instead of area occupation X
    
    Usually it doesn't really matter how you write it. As long
    as the synthesis tool can recognize one of the variables as
    a constant it will optimize the adder. If the constant works
    out to a '1' (only LSB is set), it will typically instantiate
    an incrementor.
    
    > (it should be smaller that that)? I think synthesizer like Dc will do that
    > job. Do you prefer any implementation methodology to achieve that instead
    > of synthesizer in RTL ?
    > 
    >   BTW, do you recommend any references regarding how remap controller works
    > in an embedded system ? I would like to design it and have no any idea just
    > discrete materials. In opencores, are there any documentation state it ?
    > 
    >  Appreciate for your any comments.
    > 
    >  Regards,
    > 
    >  Nanson Huang
    
    
    Regards,
    rudi
    ------------------------------------------------
    www.asics.ws   - Solutions for your ASIC needs -
    FREE IP Cores  -->   http://www.asics.ws/  <---
    
    
    
    
    
    
    

    ReferenceAuthor
    [oc] Adder issues ?NansonHuang

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