![]() |
![]()
| ![]() |
![]()
NAMEGENLIB_LOSIGMERGE - merge two logical signals SYNOPSIS#include <genlib.h> void GENLIB_LOSIGMERGE(signal1, signal2) char ∗signal1, ∗signal2; See the file man1/alc_origin.1. PARAMETERSDESCRIPTIONLOSIGMERGE merges the two signals, signal1 and signal2. This function can be used anywhere in the genlib program, but its resultings actions must be known by the user.
Since most of the file formats do not allow multiple name for a single signal, the choice is made to keep for disk usage the name that appears in the cell interface, if any. Otherwise, the choice is randomly made by LOSIGMERGE.
EXAMPLE#include <genlib.h> main() { /∗ Create a figure to work on ∗/ GENLIB_DEF_LOFIG("cell"); /∗ Define interface ∗ GENLIB_LOCON(... /∗ Place an instance ∗/ GENLIB_LOINS("no2_y" ,"no3" ,"a8_s" ,"a9_s" ,"new_no3_s" ,"vdd" ,"vss" ,0); GENLIB_LOINS("no2_y" ,"no4" ,"a12_s" ,"a15_s" ,"no4_s" ,"vdd" ,"vss" ,0); GENLIB_LOINS("a2_y" ,"a22" ,"no3_s" ,"no4_s" ,"a22_s" ,"vdd" ,"vss" ,0); GENLIB_LOSIGMERGE("new_no3_s", "no3_s"); /∗ Save all that on disk ∗/ GENLIB_SAVE_LOFIG(); } SEE ALSOgenlib(1), GENLIB_LOINS(3), GENLIB_LOCON(3), GENLIB_FLATTEN_LOFIG(3), GENLIB_SAVE_PHFIG(3). See the file man1/alc_bug_report.1.
|