def setupResetRegion(self): self.setGlobalState("ResetPC", PcConfig.get_reset_pc()) self.virtualMemoryRequest( "PhysicalRegion", { "RegionType": "ResetRegion", "Size": PcConfig.get_reset_region_size(), "Type": 'I', "Bank": 0 })
def setupResetRegion(self): self.setGlobalState("ResetPC", PcConfig.get_reset_pc()) self.virtualMemoryRequest( "PhysicalRegion", { "RegionType": "ResetRegion", "Size": PcConfig.get_reset_region_size(), "Type": "I", "Bank": 0, }, ) (skip_boot, skip_boot_valid) = self.genThread.getOption("SkipBootCode") if skip_boot_valid and skip_boot == 1: self.setGlobalState("ResetPC", PcConfig.get_base_initial_pc())