diff options
Diffstat (limited to 'models/soc_with_peripherals.v')
-rw-r--r-- | models/soc_with_peripherals.v | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/models/soc_with_peripherals.v b/models/soc_with_peripherals.v index 975c002..40ee341 100644 --- a/models/soc_with_peripherals.v +++ b/models/soc_with_peripherals.v @@ -9,8 +9,10 @@ module soc_with_peripherals #( - parameter FONT_FILE = "../design/font.mem", - parameter EMBEDDED_ROM_FILE = "../design/rom.mem", + parameter DESIGN_DIR = "../../design/", + parameter FONT_FILE = {DESIGN_DIR, "font.mem"}, + parameter EMBEDDED_ROM_WORDS_COUNT = "error, rom words count not given", + parameter EMBEDDED_ROM_FILE = {DESIGN_DIR, "rom.mem"}, parameter SPI_ROM_WORDS_COUNT = 0, parameter SPI_ROM_FILE = "/dev/zero" ) @@ -79,6 +81,7 @@ module soc_with_peripherals soc #( .FONT_FILE(FONT_FILE), + .ROM_WORDS_COUNT(EMBEDDED_ROM_WORDS_COUNT), .ROM_FILE(EMBEDDED_ROM_FILE) ) soc ( |