From: Luke Kenneth Casson Leighton Date: Thu, 3 Dec 2020 16:52:09 +0000 (+0000) Subject: put ls180 litex bus width back to 32 bit temporarily X-Git-Tag: 24jan2021_ls180~75 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c45013d758293bd563646a56e660ec82176c34ee;p=soc.git put ls180 litex bus width back to 32 bit temporarily --- diff --git a/src/soc/litex/florent/ls180soc.py b/src/soc/litex/florent/ls180soc.py index f8c71ebb..19b217b3 100755 --- a/src/soc/litex/florent/ls180soc.py +++ b/src/soc/litex/florent/ls180soc.py @@ -328,7 +328,7 @@ class LibreSoCSim(SoCCore): cpu_type = "microwatt", cpu_cls = LibreSoC if cpu == "libresoc" \ else Microwatt, - bus_data_width = 64, + #bus_data_width = 64, csr_address_width = 14, # limit to 0x8000 cpu_variant = variant, csr_data_width = 8, @@ -348,9 +348,9 @@ class LibreSoCSim(SoCCore): self.platform.name = "ls180" # add 3 more 4k integrated SRAMs - self.add_ram("sram1", self.mem_map["sram1"], 0x1000) - self.add_ram("sram2", self.mem_map["sram2"], 0x1000) - self.add_ram("sram3", self.mem_map["sram3"], 0x1000) + self.add_ram("sram1", self.mem_map["sram1"], 0x200) + self.add_ram("sram2", self.mem_map["sram2"], 0x200) + self.add_ram("sram3", self.mem_map["sram3"], 0x200) # SDR SDRAM ---------------------------------------------- if False: # not self.integrated_main_ram_size: