add extra -D options to makefile template
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Jul 2018 09:53:35 +0000 (10:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Jul 2018 09:53:35 +0000 (10:53 +0100)
src/bsv/pinmux_generator.py

index 9859fc2f052818c850d568ac077022f5499666b3..fb452b06332c148ad5566d1e3610350e5fcafae8 100644 (file)
@@ -442,6 +442,11 @@ def write_instances(idef, p, ifaces):
 `define PERFMONITORS                            64
 `define DCACHE_WAYS 4
 `define DCACHE_TAG_BITS 20      // tag_bits = 52
+
+// CLINT
+    `define ClintBase       'h02000000
+    `define ClintEnd        'h020BFFFF
+
 `define PLIC
        `define PLICBase                'h0c000000
        `define PLICEnd         'h10000000