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


Manual Reference Pages  -  GENLIB_ELM (3)

[Include document man1/alc_contents.mac]

   GENLIB_ELM

NAME

GENLIB_ELM - Creates a single element bus name for netlist

CONTENTS

Synopsys
Parameters
Description
Example
See Also

SYNOPSYS






#include <genlib.h>
char *GENLIB_ELM(busname, index);
char *busname;
long index;


[Include document man1/alc_origin.1]

PARAMETERS

busname Common signal name for a bus
index Index of the demanded signal belonging to the bus

DESCRIPTION

ELM Creates a single element bus names valid for the genlib netlist functions that manipulate the signal, and/or connector, concept. They are:
LOINS(3)
LOCON(3)
The index argument gives the index of the name to be created.
This function has a constant equivalent, it means that if the index value is known at compilation time, one should better use, for readability purposes, the "[n]" construct.

EXAMPLE






#include <genlib.h>
main()
{
int b = 0;
int e = 12;
        /* Create a figure to work on  */
        GENLIB_DEF_LOFIG("mycell");
        /* define interface  */
        GENLIB_LOCON(GENLIB_BUS("i", b, e), INPUT, BUS("sig", b, e);
        GENLIB_LOCON("o[2:0]", OUTPUT, "sigout[4:6]");
        /* Place an instance */
        GENLIB_LOINS("model","instance", GENLIB_ELM("sig", e/2), "sigout[6]", EOL);
        /* Save all that on disk */
        GENLIB_SAVE_LOFIG();
}


SEE ALSO

genlib(1), GENLIB_BUS(3).

[Include document man1/alc_bug_report.1]

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


PROCEDURAL GENERATION LANGUAGE GENLIB_ELM.3 (October 1, 1997) ASIM/LIP6

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