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.

What is resource sharing?

Status
Not open for further replies.

anant

Member level 2
Joined
Sep 20, 2004
Messages
49
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
283
Re: Resource Sharing

take a following example:
if (SEL = ‘1’) then
SUM <= A + B;
else
SUM <= C + D;
end if;

In this if resource sharing is not done then you need two adders. If you do resource sharing you can manage with one adder (you can share resource).
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
638
Reputation
1,274
Reaction score
89
Trophy points
1,328
Location
USA
Activity points
33,176
Re: Resource Sharing

Just in case you are using Xilinx tools, here are some words from the XST User Guide:

Resource Sharing
The goal of resource sharing (also known as folding) is to minimize the number of operators and the subsequent logic in the synthesized design. This optimization is based on the principle that two similar arithmetic resources may be implemented as one single arithmetic operator if they are never used at the same time. XST performs both resource sharing and, if required, reduces the number of multiplexers that are created in the process. XST supports resource sharing for adders, subtractors, adders/subtractors and multipliers.

If the optimization goal is SPEED, then the disabling of resource sharing may lead to better results. XST advises you to try to deactivate resource sharing at the Advance HDL Synthesis step in order to improve clock frequency.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top