New AtdfService - provides conversion of Microchip ATDF files to Bloom's new TDF format

This commit is contained in:
Nav
2024-02-22 20:54:48 +00:00
parent ccf631fcc7
commit 35873cf031
4 changed files with 1015 additions and 0 deletions

View File

@@ -21,6 +21,17 @@ class AddressSpace
$this->endianness = $endianness;
}
public function getMemorySegment(string $key): ?MemorySegment
{
foreach ($this->memorySegments as $segment) {
if ($segment->key === $key) {
return $segment;
}
}
return null;
}
public function totalSegmentSize(): int
{
return array_sum(