Ahmed Ghazy | 7e67b42 | 2020-10-28 03:42:02 +0200 | [diff] [blame] | 1 | // 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 Ghazy | 7e67b42 | 2020-10-28 03:42:02 +0200 | [diff] [blame] | 7 | |
| 8 | // Type and size of soc_mem |
Manar | a922b7c | 2020-10-28 22:24:06 +0200 | [diff] [blame] | 9 | // `define USE_OPENRAM |
Manar | 2a12630 | 2020-11-09 13:25:13 +0200 | [diff] [blame] | 10 | `define USE_CUSTOM_DFFRAM |
Ahmed Ghazy | a5a2b0a | 2020-11-08 23:34:41 +0200 | [diff] [blame] | 11 | // don't change the following without double checking addr widths |
Ahmed Ghazy | 7e67b42 | 2020-10-28 03:42:02 +0200 | [diff] [blame] | 12 | `define MEM_WORDS 256 |
Manar | b3e8dca | 2020-10-30 16:32:18 +0200 | [diff] [blame] | 13 | |
Manar | a089bfc | 2020-11-11 16:38:32 +0200 | [diff] [blame^] | 14 | // 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 | |
Manar | 8f81142 | 2020-11-09 19:09:04 +0200 | [diff] [blame] | 18 | // not really parameterized but just to easily keep track of the number |
| 19 | // of ram_block across different modules |
| 20 | `define RAM_BLOCKS 2 |