Skip to content

Commit

Permalink
add missing register ranges: iox, aoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Jan 28, 2024
1 parent e4b0362 commit 017e7b1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utralib/cramium/core.svd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" >
<vendor>litex</vendor>
<name>SOC</name>
<description><![CDATA[Litex SoC 2024-01-22 22:36:03]]></description>
<description><![CDATA[Litex SoC 2024-01-22 23:22:07]]></description>

<addressUnitBits>8</addressUnitBits>
<width>32</width>
Expand Down
12 changes: 11 additions & 1 deletion utralib/cramium/daric.svd
Original file line number Diff line number Diff line change
Expand Up @@ -15427,7 +15427,7 @@ soc/candidate/mbox_v0.1.sv]]></description>
<memoryRegion>
<name>IFSUB</name>
<baseAddress>0x50120000</baseAddress>
<size>0x00010000</size>
<size>0x00003000</size>
</memoryRegion>
<memoryRegion>
<name>CORESUB</name>
Expand Down Expand Up @@ -15599,6 +15599,16 @@ soc/candidate/mbox_v0.1.sv]]></description>
<baseAddress>0x40013000</baseAddress>
<size>0x00001000</size>
</memoryRegion>
<memoryRegion>
<name>IOX</name>
<baseAddress>0x5012F000</baseAddress>
<size>0x00001000</size>
</memoryRegion>
<memoryRegion>
<name>AOC</name>
<baseAddress>0x40060000</baseAddress>
<size>0x00001000</size>
</memoryRegion>
</memoryRegions>
<constants>
</constants>
Expand Down
6 changes: 5 additions & 1 deletion utralib/src/generated/cramium_soc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ pub const HW_SCE_MEM_LEN: usize = 32768;
pub const HW_SYSCTRL_MEM: usize = 0x40040000;
pub const HW_SYSCTRL_MEM_LEN: usize = 65536;
pub const HW_IFSUB_MEM: usize = 0x50120000;
pub const HW_IFSUB_MEM_LEN: usize = 65536;
pub const HW_IFSUB_MEM_LEN: usize = 12288;
pub const HW_CORESUB_MEM: usize = 0x40010000;
pub const HW_CORESUB_MEM_LEN: usize = 65536;
pub const HW_SECSUB_MEM: usize = 0x40050000;
Expand Down Expand Up @@ -316,6 +316,10 @@ pub const HW_MDMA_MEM: usize = 0x40012000;
pub const HW_MDMA_MEM_LEN: usize = 4096;
pub const HW_MBOX_APB_MEM: usize = 0x40013000;
pub const HW_MBOX_APB_MEM_LEN: usize = 4096;
pub const HW_IOX_MEM: usize = 0x5012f000;
pub const HW_IOX_MEM_LEN: usize = 4096;
pub const HW_AOC_MEM: usize = 0x40060000;
pub const HW_AOC_MEM_LEN: usize = 4096;

// Physical base addresses of registers
pub const HW_D11CTIME_BASE : usize = 0xe0000000;
Expand Down

0 comments on commit 017e7b1

Please sign in to comment.