GENLIB_LOINSE
add a logical instance to the current figure, with explicit connections
- Provided by: alliance (Version: 5.1.1-1.1)
- Report a bug
add a logical instance to the current figure, with explicit connections
#include <genlib.h> void GENLIB_LOINSE(model, instance, couple1, couple2, ..., couplen, EOL); char ∗model, ∗instance; char ∗couple1, ∗couple2, ..., ∗couplen;
See the file man1/alc_origin.1.
LOINSE add a logical instance in the actual working figure.
LOINSE uses environment variables to choose the file format and the
path to the file.
MBK_IN_LO set up the input file format, the valid ones beeing :
conector => signal or conector[a:b] => signal[n:m] where a - b equals, in absolute value, n - m.
"GENLIB_LOINSE impossible : missing
GENLIB_DEF_LOFIG"
#include <genlib.h>
main()
{
/∗ Create a figure to work on ∗/
GENLIB_DEF_LOFIG("mycell");
/∗ define interface ∗/
GENLIB_LOCON("i", INPUT, "sig1");
GENLIB_LOCON("o", OUTPUT, "sig2");
/∗ Place an instance ∗/
GENLIB_LOINSE("model","instance", "con1 => sig1", "con2 => sig2", 0L);
GENLIB_LOINSE("stuff","shirt", "i[31:0] => out[32:63]", "j[2] => sig2", 0L);
/∗ Save all that on disk ∗/
GENLIB_SAVE_LOFIG();
}
genlib(1), GENLIB_DEF_LOFIG(3), GENLIB_LOINS(3), MBK_IN_LO(1), MBK_CATA_LIB(1), MBK_WORK_LIB(1).
See the file man1/alc_bug_report.1.