Table of Contents

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Name

DP_ADSB2 - adder-substractor

Synopsys

#include <fpgen.h>
void DP_ADSB2(
char *InstName, /* Instance name */

char *BusI0,
/* IN First Operand DATA */
char *BusI1,
/* IN Second Operand DATA */ char *SigOp, /* IN Codop CTRL */ char *SigCout, /* OUT Carry out(n) CTRL */ char *SigCovr , /* OUT Previous carry(n-1) CTRL */
char *BusO, EOL);/* OUT
Result output DATA */

Arguments

SigOpCTRL This one bit signal indicates the operation (addition or substraction).

- low
: addition.
- high
: substraction.

Description

DP_ADSB2 creates an adder-substracter that has a wide of Width bits and then instanciates it with the name InstName. The maximal authorized value for Width is the full width of the current data-path, set by the previous call to the function DP_DEFLOFIG. In the layout the leaf cells are placed on the slices numbered from Slice to Slice+Width-1 (the bottom slice is 0).

Example

DP_ADSB2( adsb20", 32,
0,
input0[3:0]",
input1[3:0]",

op
,
c31
,
c30
, output[3:0]", EOL);

See Also

fpgen(3) , adsb2g(3) , fplib(3) , mbk(1)

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.