![]() |
![]()
| ![]() |
![]()
NAMEGENLIB_LOSIG - declare an internal logical signal, or a vector of internal logical signals SYNOPSIS#include <genlib.h> void GENLIB_LOSIG(name) char ∗name; See the file man1/alc_origin.1. PARAMETERS
DESCRIPTIONLOSIG creates the internal signal, or the set of internal
signals corresponding to a vector description, represented by name.
See BUS(3) and ELM(3) for more details on vectors.
EXAMPLE#include <genlib.h> main() { /∗ Create a figure to work on ∗/ GENLIB_DEF_LOFIG("cell"); /∗ Define interface ∗ GENLIB_LOCON(... /∗ declare buses ∗/ GENLIB_LOSIG("grum[23:0]"); GENLIB_LOSIG("iconection[0:7]"); /∗ Place an instance ∗/ GENLIB_LOINS("no2_y" ,"no3" ,"grum[12]" ,"a9_s" ,"new_no3_s" ,"vdd" ,"vss" ,0); GENLIB_LOINS("no2_y" ,"no4" ,"a12_s" ,"grum[6]" ,"no4_s" ,"vdd" ,"vss" ,0); GENLIB_LOINS("a2_y" ,"a22" ,"no3_s" ,"grum[15]" ,"a22_s" ,"vdd" ,"vss" ,0); /∗ Save all that on disk ∗/ GENLIB_SAVE_LOFIG(); } SEE ALSOgenlib(1), GENLIB_LOINS(3), GENLIB_LOCON(3), GENLIB_BUS(3), GENLIB_ELM(3). See the file man1/alc_bug_report.1.
|