46 lines
2.2 KiB
Plaintext
46 lines
2.2 KiB
Plaintext
// ----------------------------------------------------------------------------
|
|
// (setq tab-width 4)
|
|
// Place custom AEL code here.
|
|
// For example, any custom AEL shared by all components in this library.
|
|
// ----------------------------------------------------------------------------
|
|
decl MRMODELS_NAME = designKitRecord[0];
|
|
decl MRMODELS_PATH = designKitRecord[1];
|
|
decl MRMODELS_BOOT = designKitRecord[2];
|
|
decl MRMODELS_VER = designKitRecord[3];
|
|
|
|
decl MRMODELS_DIR_CIRCUIT_AEL = strcat(MRMODELS_PATH, "circuit/ael/" );
|
|
decl MRMODELS_DIR_CIRCUIT_BITMAP = strcat(MRMODELS_PATH, "circuit/bitmaps/" );
|
|
decl MRMODELS_DIR_CIRCUIT_ARTWORK = strcat(MRMODELS_PATH, "circuit/artwork/" );
|
|
decl MRMODELS_DIR_CIRCUIT_MODELS = strcat(MRMODELS_PATH, "circuit/models/" );
|
|
decl MRMODELS_DIR_DE_AEL = strcat(MRMODELS_PATH, "de/ael/" );
|
|
decl MRMODELS_DIR_DRC_RULES = strcat(MRMODELS_PATH, "drc/rules/" );
|
|
decl MRMODELS_DIR_VERILOGA = strcat(MRMODELS_PATH, "veriloga/" );
|
|
|
|
fprintf(stderr, "Loading %s design kit\n", MRMODELS_NAME);
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Load
|
|
// ----------------------------------------------------------------------------
|
|
load( strcat( MRMODELS_DIR_DE_AEL, "palette" ));
|
|
|
|
////load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mrmodels_include" ));
|
|
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "sample_fet" ));
|
|
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_resistor" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_capacitor" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_inductor" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_diode" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_opamp" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr_bjt" ));
|
|
|
|
//load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/va/va_diode" ));
|
|
//load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/va/tube/va_triode" ));
|
|
//load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/va/va_opamp" ));
|
|
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/tools/z_res" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/tools/z_nand" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/tools/z_flop" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/tools/z_cmp" ));
|
|
// load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "/tools/z_opa" ));
|