25 lines
1.3 KiB
Plaintext
25 lines
1.3 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_CIRCUIT_AEL, "mrmodels_include"));
|