Skip to content

Commit

Permalink
Deploying to gh-pages from @ de74d75 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
azidar committed Oct 24, 2023
1 parent bb38ea2 commit 0a92561
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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-8b7b7a23-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-de74d754-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@12261bf,MyModule,List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo)),Vector()), DefModule(repl.MdocSession$MdocApp5$Top@181c5fa1,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@12261bf),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@6ac5c699,List(),List(),List())
Circuit(Top,List(DefModule(repl.MdocSession$MdocApp5$MyModule@21c3264,MyModule,List(Port(MyModule.clock: IO[Clock],Input,UnlocatableSourceInfo), Port(MyModule.reset: IO[Reset],Input,UnlocatableSourceInfo)),Vector()), DefModule(repl.MdocSession$MdocApp5$Top@79562b81,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@21c3264),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@3ff9aa93,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 @2e3317de)</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 @40eefb7b)</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
Loading

0 comments on commit 0a92561

Please sign in to comment.