Merge pull request #1713 from shenki/microwatt-socregion

microwatt: Correct SoCRegion typo
This commit is contained in:
enjoy-digital 2023-06-19 19:23:11 +02:00 committed by GitHub
commit 298ec03dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ class Microwatt(CPU):
int_level_in = self.interrupt, int_level_in = self.interrupt,
) )
xicsicp_region = SoCRegion(origin=soc.mem_map.get("xicsicp"), size=4096, cached=False) xicsicp_region = SoCRegion(origin=soc.mem_map.get("xicsicp"), size=4096, cached=False)
xicsics_region = SocRegion(origin=soc.mem_map.get("xicsics"), size=4096, cached=False) xicsics_region = SoCRegion(origin=soc.mem_map.get("xicsics"), size=4096, cached=False)
soc.bus.add_slave(name="xicsicp", slave=self.xics.icp_bus, region=xicsicp_region) soc.bus.add_slave(name="xicsicp", slave=self.xics.icp_bus, region=xicsicp_region)
soc.bus.add_slave(name="xicsics", slave=self.xics.ics_bus, region=xicsics_region) soc.bus.add_slave(name="xicsics", slave=self.xics.ics_bus, region=xicsics_region)