[rom_ctrl] Cut the instantiated ROM width back down to 39 bits We don't really have any need to keep it at 40 because our macro wrapper can do the rounding up if needed for the technology library. It also avoids an awkward situation where we were "encrypting" a zero bit in counter mode. This didn't really matter for the ROM application (where confidentiality isn't a requirement), but it's a bit awkward and easy to avoid. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9a3f9b0..1f4f8a4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml
@@ -408,7 +408,7 @@ ./hw/top_earlgrey/util/top_earlgrey_reduce.py - BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.40.vmem" + BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.39.vmem" test -f "$BOOTROM_VMEM" OTP_VMEM="$BIN_DIR/sw/device/otp_img/otp_img_fpga_nexysvideo.vmem" test -f "$OTP_VMEM" @@ -467,7 +467,7 @@ ./hw/top_earlgrey/util/top_earlgrey_reduce.py - BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.40.vmem" + BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.39.vmem" test -f "$BOOTROM_VMEM" OTP_VMEM="$BIN_DIR/sw/device/otp_img/otp_img_fpga_nexysvideo.vmem" test -f "$OTP_VMEM" @@ -528,7 +528,7 @@ mkdir -p "$OBJ_DIR/hw" mkdir -p "$BIN_DIR/hw/top_englishbreakfast" - BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.40.vmem" + BOOTROM_VMEM="$BIN_DIR/sw/device/boot_rom/boot_rom_fpga_nexysvideo.scr.39.vmem" test -f "$BOOTROM_VMEM" fusesoc --cores-root=. \