From 7459a849ee1ce9a7393ab8f3c2c9769e31afe72a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 25 Nov 2013 10:25:05 +0100 Subject: [PATCH] IntegratedBIOS: read only --- misoclib/gensoc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misoclib/gensoc/__init__.py b/misoclib/gensoc/__init__.py index d89073da..64695166 100644 --- a/misoclib/gensoc/__init__.py +++ b/misoclib/gensoc/__init__.py @@ -116,7 +116,7 @@ class GenSoC(Module): class IntegratedBIOS: def __init__(self, bios_size=0x8000): - self.submodules.rom = wishbone.SRAM(bios_size) + self.submodules.rom = wishbone.SRAM(bios_size, read_only=True) self.register_rom(self.rom.bus, bios_size) def init_bios_memory(self, data): -- 2.30.2