Skip to content

Commit e807713

Browse files
author
Cody Fagley
committed
Deploy website
Deploy website version based on 017bba78b10f5fc9017b88b570f7e4231c58c3d4
1 parent 2051083 commit e807713

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/xcse/firmware.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ <h3><a class="anchor" aria-hidden="true" id="firmware-drivers"></a><a href="#fir
9696
<p>Each chip can have a collection of firmware drivers written in Xita's functional language. Each firmware driver addresses a unique named Firmware Interface, defined in the loaded <code>.chip</code> file (above).</p>
9797
<p>Once the firmware driver is defined correctly, it can freely access any memory address within the predefined interface range. As an example, see the following Driver file:</p>
9898
<pre><code class="hljs css language-haskell"><span class="hljs-comment">-- Match up with firmware interfaces named "Timer" in `.chip` files</span>
99-
<span class="hljs-type">Firmware</span> <span class="hljs-string">"Timer"</span>
99+
!<span class="hljs-type">DRIVER</span> <span class="hljs-type">Timer</span>
100100

101101
<span class="hljs-comment">-- Legal, because Timer owns the requested address</span>
102102
<span class="hljs-comment">-- getStatus will return the data value in address: `0x3F003000`</span>
103-
<span class="hljs-title">let</span> getStatus = $ <span class="hljs-number">0x3F003000</span>
103+
<span class="hljs-title">let</span> getStatus = $ <span class="hljs-number">0x3F003000</span> ;;
104104

105105
<span class="hljs-comment">-- Illegal and will throw compiler error</span>
106106
<span class="hljs-comment">-- Timer does not own this address for the defined chip</span>

docs/xcse/firmware/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ <h3><a class="anchor" aria-hidden="true" id="firmware-drivers"></a><a href="#fir
9696
<p>Each chip can have a collection of firmware drivers written in Xita's functional language. Each firmware driver addresses a unique named Firmware Interface, defined in the loaded <code>.chip</code> file (above).</p>
9797
<p>Once the firmware driver is defined correctly, it can freely access any memory address within the predefined interface range. As an example, see the following Driver file:</p>
9898
<pre><code class="hljs css language-haskell"><span class="hljs-comment">-- Match up with firmware interfaces named "Timer" in `.chip` files</span>
99-
<span class="hljs-type">Firmware</span> <span class="hljs-string">"Timer"</span>
99+
!<span class="hljs-type">DRIVER</span> <span class="hljs-type">Timer</span>
100100

101101
<span class="hljs-comment">-- Legal, because Timer owns the requested address</span>
102102
<span class="hljs-comment">-- getStatus will return the data value in address: `0x3F003000`</span>
103-
<span class="hljs-title">let</span> getStatus = $ <span class="hljs-number">0x3F003000</span>
103+
<span class="hljs-title">let</span> getStatus = $ <span class="hljs-number">0x3F003000</span> ;;
104104

105105
<span class="hljs-comment">-- Illegal and will throw compiler error</span>
106106
<span class="hljs-comment">-- Timer does not own this address for the defined chip</span>

0 commit comments

Comments
 (0)