From a836643807bc0ada1b49dab56054881733b6978e Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Tue, 19 Apr 2022 14:47:19 -0500 Subject: [PATCH] Disable in system memory editor for ROM Now that the ROM is just a bootloader and the kernel is stored on the SD card, we do not need to be constantly changing the ROM. Disabling the memory editor dramatically reduces compilation time which will be useful when implementing FPGA features in the future. --- hw/fpga/rom.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/fpga/rom.v b/hw/fpga/rom.v index 80a7515..c4f311c 100644 --- a/hw/fpga/rom.v +++ b/hw/fpga/rom.v @@ -90,7 +90,7 @@ module rom ( `endif , altsyncram_component.intended_device_family = "MAX 10", - altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=YES,INSTANCE_NAME=ROM0", + altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO", altsyncram_component.lpm_type = "altsyncram", altsyncram_component.numwords_a = 32768, altsyncram_component.operation_mode = "ROM", @@ -120,7 +120,7 @@ endmodule // Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A" // Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0" // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "MAX 10" -// Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "1" +// Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0" // Retrieval info: PRIVATE: JTAG_ID STRING "ROM0" // Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0" // Retrieval info: PRIVATE: MIFfilename STRING "../../sw/bootloader/bootloader.hex" @@ -140,7 +140,7 @@ endmodule // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS" // Retrieval info: CONSTANT: INIT_FILE STRING "../../sw/bootloader/bootloader.hex" // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "MAX 10" -// Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=YES,INSTANCE_NAME=ROM0" +// Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=NO" // Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram" // Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "32768" // Retrieval info: CONSTANT: OPERATION_MODE STRING "ROM"