Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Custom synthesis library for basic arithmetic operations

Status
Not open for further replies.

Ebrahim Songhori

Newbie level 3
Joined
Jun 14, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
33
Hi,

I am using Synopsys DC for synthesizing Verilog code to gate level netlist . I have designed a customized adder and I want it to be used where there is addition in my functional Verilog code, e.g.,
Code:
wire [N-1:0] a,b,c;
assign a = b + c;
Right now, it seems DC uses DW library by default. How to make synthesis library out of my adder and how to change the default to the new library?

Thanks,
Ebrahim
 

Hi
Design Compiler has a cost function which depends on the area,performance, frequency..to achieve the optimal way. The custom adder which you have designed is not "better" than DW library implementation. Either you have to change the cost function of the dc_compiler(which is not recommended) or make a full adder better than DW implementation.
Thanks
Art Malike
 
Thank you.

So, as I understand, if our customized adder results in better synthesis DC automatically choose our adder.

Just one more question: How can we change the objective function to only include area?

I want to generate a netlist for a non-hardware application. I am actually interested in minimizing area for a given Boolean function.

Thanks again,
Ebrahim
 

You can always instantiate the "cell" in the RTL directly so the tool doesn't do any optimization. The design compiler will always try to make the design smaller within the timing constraints. The tool prefers to choose the cells it "understands", this way it can optimize the design properly if you want to change from one foundry to another or new technology. Letting the tool do its job has been the biggest winning factor because it is technology/constraint independent. That's why you will find less and less people making multi-bit adders ...and complex digital design is more for academics. The trend is to write "functionally correct Verilog" ---> "synthesize"--"P&R and Timing" with a generic library.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top