fix path to renode

This commit is contained in:
bunnie 2021-05-07 23:43:52 +08:00
parent 46fa8fa01e
commit ab67cf46b2
3 changed files with 64 additions and 5625 deletions

View file

@ -106,7 +106,7 @@ then
cargo $USE_NIGHTLY xtask $IMAGE $SOC_SVD
# only copy if changed, othrewise it seems to trigger extra build effort...
rsync -a --no-times --checksum $SOC_SVD svd2utra/examples/soc.svd
rsync -a --no-times --checksum $SOC_SVD emulation/renode.svd
rsync -a --no-times --checksum $SOC_SVD emulation/soc/renode.svd
else
cargo $USE_NIGHTLY xtask $IMAGE $OVERRIDE_SVD
fi

File diff suppressed because it is too large Load diff

View file

@ -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 2021-04-27 00:24:37]]></description>
<description><![CDATA[Litex SoC 2021-05-07 05:09:48]]></description>
<addressUnitBits>8</addressUnitBits>
<width>32</width>
@ -1022,7 +1022,7 @@ register to disable individual events.]]></description>
<register>
<name>GIT_MAJOR</name>
<description><![CDATA[Major git tag version. For example, this firmware was built from git tag
``v0.0.0``, so this value is ``0``.]]></description>
``v0.8.0``, so this value is ``0``.]]></description>
<addressOffset>0x0008</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
@ -1038,9 +1038,9 @@ register to disable individual events.]]></description>
<register>
<name>GIT_MINOR</name>
<description><![CDATA[Minor git tag version. For example, this firmware was built from git tag
``v0.0.0``, so this value is ``0``.]]></description>
``v0.8.0``, so this value is ``8``.]]></description>
<addressOffset>0x000c</addressOffset>
<resetValue>0x00</resetValue>
<resetValue>0x08</resetValue>
<size>32</size>
<fields>
<field>
@ -1054,7 +1054,7 @@ register to disable individual events.]]></description>
<register>
<name>GIT_REVISION</name>
<description><![CDATA[Revision git tag version. For example, this firmware was built from git tag
``v0.0.0``, so this value is ``0``.]]></description>
``v0.8.0``, so this value is ``0``.]]></description>
<addressOffset>0x0010</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
@ -1070,10 +1070,10 @@ register to disable individual events.]]></description>
<register>
<name>GIT_GITREV</name>
<description><![CDATA[First 32-bits of the git revision. This documentation was built from git rev
``4878d3c3``, so this value is 1215878083, which should be enough to check out
``45bbf751``, so this value is 1169946449, which should be enough to check out
the exact git version used to build this firmware.]]></description>
<addressOffset>0x0014</addressOffset>
<resetValue>0x4878d3c3</resetValue>
<resetValue>0x45bbf751</resetValue>
<size>32</size>
<fields>
<field>
@ -1090,7 +1090,7 @@ the exact git version used to build this firmware.]]></description>
is ``1``, then the repository this was built from has one additional commit
beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]></description>
<addressOffset>0x0018</addressOffset>
<resetValue>0x1f</resetValue>
<resetValue>0x0a</resetValue>
<size>32</size>
<fields>
<field>
@ -1697,10 +1697,26 @@ upon the completion of one byte of data transfer.]]></description>
</field>
</fields>
</register>
<register>
<name>CORE_RESET</name>
<addressOffset>0x0018</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>reset</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Write `1` for a synchronous reset of the I2C core. Does not reset the prescale
value. This signal is outside of the OpenCores spec.]]></description>
</field>
</fields>
</register>
<register>
<name>EV_STATUS</name>
<description><![CDATA[Triggered on the falling edge of TIP]]></description>
<addressOffset>0x0018</addressOffset>
<addressOffset>0x001c</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -1723,7 +1739,7 @@ upon the completion of one byte of data transfer.]]></description>
<register>
<name>EV_PENDING</name>
<description><![CDATA[Triggered on the falling edge of TIP]]></description>
<addressOffset>0x001c</addressOffset>
<addressOffset>0x0020</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -1747,7 +1763,7 @@ clear or else it will re-trigger.]]></description>
<register>
<name>EV_ENABLE</name>
<description><![CDATA[Triggered on the falling edge of TIP]]></description>
<addressOffset>0x0020</addressOffset>
<addressOffset>0x0024</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -1770,7 +1786,7 @@ clear or else it will re-trigger.]]></description>
</registers>
<addressBlock>
<offset>0</offset>
<size>0x24</size>
<size>0x28</size>
<usage>registers</usage>
</addressBlock>
<interrupt>
@ -2155,26 +2171,18 @@ register to disable individual events.]]></description>
<size>32</size>
<fields>
<field>
<name>reset</name>
<name>pause</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Write a `1` to this bit to reset the count to 0. This bit has priority over all
other requests.]]></description>
</field>
<field>
<name>pause</name>
<msb>1</msb>
<bitRange>[1:1]</bitRange>
<lsb>1</lsb>
<description><![CDATA[Write a `1` to this field to request a pause to counting, 0 for free-run. Count
pauses on the next tick quanta.]]></description>
</field>
<field>
<name>load</name>
<msb>2</msb>
<bitRange>[2:2]</bitRange>
<lsb>2</lsb>
<msb>1</msb>
<bitRange>[1:1]</bitRange>
<lsb>1</lsb>
<description><![CDATA[If paused, write a `1` to this bit to load a resume value to the timer. If not
paused, this bit is ignored.]]></description>
</field>
@ -2183,7 +2191,7 @@ paused, this bit is ignored.]]></description>
<register>
<name>RESUME_TIME1</name>
<description><![CDATA[Bits 32-63 of `SUSRES_RESUME_TIME`. Elapsed time to load. Loaded upon writing
`1` to the load bit in the control regsiter. This will immediately affect the
`1` to the load bit in the control register. This will immediately affect the
msleep extension.]]></description>
<addressOffset>0x0004</addressOffset>
<resetValue>0x00</resetValue>
@ -2272,11 +2280,34 @@ from the TickTimer]]></description>
<description><![CDATA[Used to transfer the resume state information from the loader to Xous. If set,
indicates we are on the resume half of a suspend/resume.]]></description>
</field>
<field>
<name>was_forced</name>
<msb>1</msb>
<bitRange>[1:1]</bitRange>
<lsb>1</lsb>
<description><![CDATA[Used by the bootloader to indicate to the kernel if the current resume was from
a forced suspend (e.g. a timeout happened and a server may be unclean.]]></description>
</field>
</fields>
</register>
<register>
<name>POWERDOWN</name>
<addressOffset>0x001c</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
<field>
<name>powerdown</name>
<msb>0</msb>
<bitRange>[0:0]</bitRange>
<lsb>0</lsb>
<description><![CDATA[Write a `1` to force an immediate powerdown. Use with care.]]></description>
</field>
</fields>
</register>
<register>
<name>INTERRUPT</name>
<addressOffset>0x001c</addressOffset>
<addressOffset>0x0020</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -2294,7 +2325,7 @@ suspend/resume from an interrupt context.]]></description>
<name>EV_STATUS</name>
<description><![CDATA[This register contains the current raw level of the soft_int event trigger.
Writes to this register have no effect.]]></description>
<addressOffset>0x0020</addressOffset>
<addressOffset>0x0024</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -2311,7 +2342,7 @@ Writes to this register have no effect.]]></description>
<name>EV_PENDING</name>
<description><![CDATA[When a soft_int event occurs, the corresponding bit will be set in this
register. To clear the Event, set the corresponding bit in this register.]]></description>
<addressOffset>0x0024</addressOffset>
<addressOffset>0x0028</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -2329,7 +2360,7 @@ edge.]]></description>
<name>EV_ENABLE</name>
<description><![CDATA[This register enables the corresponding soft_int events. Write a ``0`` to this
register to disable individual events.]]></description>
<addressOffset>0x0028</addressOffset>
<addressOffset>0x002c</addressOffset>
<resetValue>0x00</resetValue>
<size>32</size>
<fields>
@ -2345,7 +2376,7 @@ register to disable individual events.]]></description>
</registers>
<addressBlock>
<offset>0</offset>
<size>0x2c</size>
<size>0x30</size>
<usage>registers</usage>
</addressBlock>
<interrupt>
@ -3086,7 +3117,7 @@ inject too fast.]]></description>
<name>SEED1</name>
<description><![CDATA[Bits 32-63 of `SEED_SEED`. Seed used for the build]]></description>
<addressOffset>0x0000</addressOffset>
<resetValue>0x77083f9a</resetValue>
<resetValue>0x1fda4c0d</resetValue>
<size>32</size>
<fields>
<field>
@ -3101,7 +3132,7 @@ inject too fast.]]></description>
<name>SEED0</name>
<description><![CDATA[Bits 0-31 of `SEED_SEED`.]]></description>
<addressOffset>0x0004</addressOffset>
<resetValue>0x9411178</resetValue>
<resetValue>0x5bd9a073</resetValue>
<size>32</size>
<fields>
<field>