blob: 7233b8a2b5506d25c7e2f08c42e7365210bd34d9 [file] [log] [blame]
Ahmed Ghazy7e67b422020-10-28 03:42:02 +02001// Global parameters
2
3`define MPRJ_IO_PADS 38
4`define MPRJ_PWR_PADS 4 /* vdda1, vccd1, vdda2, vccd2 */
5
6// Size of soc_mem_synth
Ahmed Ghazy7e67b422020-10-28 03:42:02 +02007
8// Type and size of soc_mem
Manara922b7c2020-10-28 22:24:06 +02009// `define USE_OPENRAM
Manar2a126302020-11-09 13:25:13 +020010`define USE_CUSTOM_DFFRAM
Ahmed Ghazya5a2b0a2020-11-08 23:34:41 +020011// don't change the following without double checking addr widths
Ahmed Ghazy7e67b422020-10-28 03:42:02 +020012`define MEM_WORDS 256
Manarb3e8dca2020-10-30 16:32:18 +020013
Manara089bfc2020-11-11 16:38:32 +020014// Number of columns in the custom memory; takes one of three values:
15// 1 column : 1 KB, 2 column: 2 KB, 4 column: 4KB
16`define COLS 1
17
Manar8f811422020-11-09 19:09:04 +020018// not really parameterized but just to easily keep track of the number
19// of ram_block across different modules
20`define RAM_BLOCKS 2