Skip to content

Commit

Permalink
Deploying to gh-pages from @ 54fbf40 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig committed Oct 17, 2023
1 parent 77884f6 commit bbdfde4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion chisel3/docs/cookbooks/cookbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ <h3 id="how-do-i-strip-directions-from-a-bidirectional-bundle-or-other-data">How
</code></pre></div></div>

<div class="language-scala highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">ChiselStage</span><span class="o">.</span><span class="py">emitSystemVerilog</span><span class="o">(</span><span class="k">new</span> <span class="nc">BadRegConnect</span><span class="o">)</span>
<span class="c1">// circt.stage.phases.Exceptions$FirtoolNonZeroExitCode: firtool returned a non-zero exit code. Note that this version of Chisel (0.0.0+1-44748161-SNAPSHOT) was published against firtool version 1.57.1.</span>
<span class="c1">// circt.stage.phases.Exceptions$FirtoolNonZeroExitCode: firtool returned a non-zero exit code. Note that this version of Chisel (0.0.0+1-54fbf402-SNAPSHOT) was published against firtool version 1.57.1.</span>
<span class="c1">// ------------------------------------------------------------------------------</span>
<span class="c1">// ExitCode:</span>
<span class="c1">// 1</span>
Expand Down
2 changes: 1 addition & 1 deletion chisel3/docs/cookbooks/hierarchy.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h2 id="how-do-i-make-my-parameters-accessible-from-an-instance">How do I make m
<span class="o">}</span>
</code></pre></div></div>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Width is 10
Circuit(Top,List(DefModule(repl.MdocSession$MdocApp5$MyModule@3e6f4517,MyModule,List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo)),Vector()), DefModule(repl.MdocSession$MdocApp5$Top@5bde4b21,Top,List(Port(Top.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(Top.reset: IO[Bool],Input,UnlocatableSourceInfo)),Vector(DefInstance(SourceLine(hierarchy.md,112,22),ModuleClone(repl.MdocSession$MdocApp5$MyModule@3e6f4517),List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo))), Connect(SourceLine(hierarchy.md,112,22),Node(MyModule.inst.clock: IO[Clock]),Node(Top.clock: IO[Clock])), Connect(SourceLine(hierarchy.md,112,22),Node(MyModule.inst.reset: IO[Reset]),Node(Top.reset: IO[Bool]))))),List(),firrtl.renamemap.package$MutableRenameMap@4e149980,List(),List(),List())
Circuit(Top,List(DefModule(repl.MdocSession$MdocApp5$MyModule@7fe2f21b,MyModule,List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo)),Vector()), DefModule(repl.MdocSession$MdocApp5$Top@7e6cbccd,Top,List(Port(Top.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(Top.reset: IO[Bool],Input,UnlocatableSourceInfo)),Vector(DefInstance(SourceLine(hierarchy.md,112,22),ModuleClone(repl.MdocSession$MdocApp5$MyModule@7fe2f21b),List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo))), Connect(SourceLine(hierarchy.md,112,22),Node(MyModule.inst.clock: IO[Clock]),Node(Top.clock: IO[Clock])), Connect(SourceLine(hierarchy.md,112,22),Node(MyModule.inst.reset: IO[Reset]),Node(Top.reset: IO[Bool]))))),List(),firrtl.renamemap.package$MutableRenameMap@7500a6cf,List(),List(),List())
</code></pre></div></div>

<h2 id="how-do-i-look-up-parameters-from-a-definition-if-i-dont-want-to-instantiate-it">How do I look up parameters from a Definition, if I don’t want to instantiate it?</h2>
Expand Down
2 changes: 1 addition & 1 deletion chisel3/docs/explanations/chisel-type-vs-scala-type.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h2 id="asinstanceof-vs-astypeof-vs-chiseltypeof"><code class="language-plaintex
<p>But if we are wrong, we can get a Scala runtime exception:</p>
<div class="language-scala highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">class</span> <span class="nc">NotMyBundle</span> <span class="k">extends</span> <span class="nc">Bundle</span> <span class="o">{</span><span class="k">val</span> <span class="nv">baz</span> <span class="k">=</span> <span class="nc">Bool</span><span class="o">()}</span>
<span class="nf">elaborate</span><span class="o">(</span><span class="k">new</span> <span class="nc">ScalaCastingModule</span><span class="o">(()</span> <span class="k">=&gt;</span> <span class="k">new</span> <span class="nc">NotMyBundle</span><span class="o">()))</span>
<span class="c1">// java.lang.ClassCastException: class repl.MdocSession$MdocApp$$anonfun$79$NotMyBundle$1 cannot be cast to class repl.MdocSession$MdocApp$MyBundle (repl.MdocSession$MdocApp$$anonfun$79$NotMyBundle$1 and repl.MdocSession$MdocApp$MyBundle are in unnamed module of loader scala.reflect.internal.util.AbstractFileClassLoader @79701597)</span>
<span class="c1">// java.lang.ClassCastException: class repl.MdocSession$MdocApp$$anonfun$79$NotMyBundle$1 cannot be cast to class repl.MdocSession$MdocApp$MyBundle (repl.MdocSession$MdocApp$$anonfun$79$NotMyBundle$1 and repl.MdocSession$MdocApp$MyBundle are in unnamed module of loader scala.reflect.internal.util.AbstractFileClassLoader @604d28b0)</span>
<span class="c1">// at ... ()</span>
<span class="c1">// at repl.MdocSession$MdocApp$ScalaCastingModule$$anonfun$76$$anonfun$apply$71$$anonfun$apply$72$$anonfun$apply$73.apply(chisel-type-vs-scala-type.md:293)</span>
<span class="c1">// at repl.MdocSession$MdocApp$ScalaCastingModule$$anonfun$76$$anonfun$apply$71$$anonfun$apply$72$$anonfun$apply$73.apply(chisel-type-vs-scala-type.md:293)</span>
Expand Down
2 changes: 1 addition & 1 deletion chisel3/docs/explanations/connectable.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h2 id="terminology">Terminology</h2>
<li>see section <a href="#alignment-flipped-vs-aligned">below</a> for a detailed definition</li>
</ul>
</li>
<li>“structural type check” - Chisel type <code class="language-plaintext highlighter-rouge">A</code> is structurally equivalent to Chisel type <code class="language-plaintext highlighter-rouge">B</code> if <code class="language-plaintext highlighter-rouge">A</code> and <code class="language-plaintext highlighter-rouge">B</code> have matching bundle field names and types (<code class="language-plaintext highlighter-rouge">Record</code> vs <code class="language-plaintext highlighter-rouge">Vector</code> vs <code class="language-plaintext highlighter-rouge">Element</code>), vector sizes, <code class="language-plaintext highlighter-rouge">Element</code> types (UInt/SInt/Bool/Clock etc))
<li>“structural type check” - Chisel type <code class="language-plaintext highlighter-rouge">A</code> is structurally equivalent to Chisel type <code class="language-plaintext highlighter-rouge">B</code> if <code class="language-plaintext highlighter-rouge">A</code> and <code class="language-plaintext highlighter-rouge">B</code> have matching bundle field names and types (<code class="language-plaintext highlighter-rouge">Record</code> vs <code class="language-plaintext highlighter-rouge">Vector</code> vs <code class="language-plaintext highlighter-rouge">Element</code>), probe modifiers (probe vs nonprobe), vector sizes, <code class="language-plaintext highlighter-rouge">Element</code> types (UInt/SInt/Bool/Clock)
<ul>
<li>ignores relative alignment (flippedness)</li>
</ul>
Expand Down
Loading

0 comments on commit bbdfde4

Please sign in to comment.