GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RFLATTENLOFIG(3) MBK LOGICAL UTILITY FUNCTIONS RFLATTENLOFIG(3)

rflattenlofig - recursivly flatten a figure

See the file man1/alc_origin.1.

#include "mlu.h"
void rflattenlofig(ptfig, concat, catal)
lofig_list ∗ptfig;
char concat;
char catal;

Pointer to a logical figure
Name generation mode
End level choice

rflattenlofig recursivly flattens all the instances of the figure pointed to by ptfig.
The concat argument can take either the value YES in which case the name of the objects coming from instances are named insname'X'objectname, where 'X' is the caracter set int the MBK_SEPAR(1) environment variable, or the value NO, and then the object name remains inchanged. This is quite dangerous since name unicity is no more warrantied, and may cause the flatten to fail. See MBK_SEPAR(1), mbkenv(3) and concatname(3) for details.
The catal argument may be set to NO, in which case flattening stops at the transistor level, all hierachies and instances have desapeard, only terminal elements remains. If set to YES, flattening stops when it encounters an instance model being present in the catalog file, set by the MBK_CATAL_NAME(1) environment variable. See MBK_CATAL_NAME(1) and incatalog(3) for details.

No errors can directly result from a call to rflattenlofig, but since it uses many other mbk functions, it may be a good error starting point.

#include "mlu.h"
void flatten_my_amd2901()
{
loins_list ∗pt;
	pt = getlofig("my_amd2901", 'A');
	rflattenlofig(pt, YES, YES);
	pt->NAME = "my_flattened_amd2901";
	savelofig(pt);
}

mbk(1), incatalog(3), mbkenv(3), lofig(3), addlofig(3), getlofig(3), dellofig(3), loadlofig(3), savelofig(3), flattenlofig(3), MBK_CATAL_NAME(1).

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.