<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chiselX/src/test/scala/chiselTests/util, branch abstract-module</title>
<subtitle>Chisel with SFC compatibility</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/'/>
<entry>
<title>cleanup</title>
<updated>2023-11-23T11:11:56+00:00</updated>
<author>
<name>Aditya Naik</name>
</author>
<published>2023-11-23T11:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=af415532cf160e63e971ceb301833b8433c18a50'/>
<id>af415532cf160e63e971ceb301833b8433c18a50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TruthTable improvements: structural equality and delete sort (backport #2935) (#2936)</title>
<updated>2023-01-12T00:04:06+00:00</updated>
<author>
<name>mergify[bot]</name>
</author>
<published>2023-01-12T00:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=6a63353f2a6c3311e61b9a7b5b899d8ad904a86d'/>
<id>6a63353f2a6c3311e61b9a7b5b899d8ad904a86d</id>
<content type='text'>
* TruthTable improvements: structural equality and delete sort (#2935)

We had implemented equals, but not hashCode. This commit also changes
the implemental of equals to just use the underlying values instead of
wasting the compute calling .toString.

Delete TruthTable.sort, it is unused.

(cherry picked from commit b5d9c08b2d0994b94df2380425282206fe1f25bc)

* Restore and deprecate TruthTable.sort

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* TruthTable improvements: structural equality and delete sort (#2935)

We had implemented equals, but not hashCode. This commit also changes
the implemental of equals to just use the underlying values instead of
wasting the compute calling .toString.

Delete TruthTable.sort, it is unused.

(cherry picked from commit b5d9c08b2d0994b94df2380425282206fe1f25bc)

* Restore and deprecate TruthTable.sort

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix string interpolation in `util.exprimental.decode.bitset` (#2882) (#2883)</title>
<updated>2022-12-10T10:45:37+00:00</updated>
<author>
<name>mergify[bot]</name>
</author>
<published>2022-12-10T10:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=044b062468c90a1084221e480463515c668e99df'/>
<id>044b062468c90a1084221e480463515c668e99df</id>
<content type='text'>
* Fix BitSet decoder API when errorBit=False

    When errorBit is set to False, the original code will return
    `Unit` which will be `()` in interpolated string.

* Add testcases for both errorBit cases in BitSetSpec

(cherry picked from commit 42416cb6c6a3019fc29b9d98cfea3e3bb4e42684)

Co-authored-by: Ocean Shen &lt;30361859+OceanS2000@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix BitSet decoder API when errorBit=False

    When errorBit is set to False, the original code will return
    `Unit` which will be `()` in interpolated string.

* Add testcases for both errorBit cases in BitSetSpec

(cherry picked from commit 42416cb6c6a3019fc29b9d98cfea3e3bb4e42684)

Co-authored-by: Ocean Shen &lt;30361859+OceanS2000@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Make PriorityMux stack safe (backport #2854) (#2855)</title>
<updated>2022-12-07T00:41:55+00:00</updated>
<author>
<name>mergify[bot]</name>
</author>
<published>2022-12-07T00:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=41d0d4cd075130cb6b4e41a7c7b6183830b5b9bc'/>
<id>41d0d4cd075130cb6b4e41a7c7b6183830b5b9bc</id>
<content type='text'>
* Make PriorityMux stack safe (#2854)

It used to be implemented with recursion, now it's implemented with a
stack safe reverse and foldLeft.

Also there were no tests for PriorityMux so I added one which helps
prove the change is functionally correct.

(cherry picked from commit 269ce472e9aa0c242fc028871a1fd5b045c82f83)

# Conflicts:
#	src/test/scala/chiselTests/util/PipeSpec.scala

* Resolve backport conflicts

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make PriorityMux stack safe (#2854)

It used to be implemented with recursion, now it's implemented with a
stack safe reverse and foldLeft.

Also there were no tests for PriorityMux so I added one which helps
prove the change is functionally correct.

(cherry picked from commit 269ce472e9aa0c242fc028871a1fd5b045c82f83)

# Conflicts:
#	src/test/scala/chiselTests/util/PipeSpec.scala

* Resolve backport conflicts

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor TruthTable.apply and add factory method for Espresso (backport #2612) (#2620)</title>
<updated>2022-07-06T21:42:13+00:00</updated>
<author>
<name>mergify[bot]</name>
</author>
<published>2022-07-06T21:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=4f10bdd703d7559cddae50541cf7c8e0a1c1d4c0'/>
<id>4f10bdd703d7559cddae50541cf7c8e0a1c1d4c0</id>
<content type='text'>
* Refactor TruthTable.apply and add factory method for Espresso (#2612)

Improves performance of creating TruthTables by processing entire BitPats
rather than individual bits. New TruthTable factory method enables
constructing TruthTables with semantics of OR-ing output BitPats together
rather than erroring when multiple terms have the same input BitPat.
This alternative factory method matches semantics for the output format
of Espresso.

Co-authored-by: Megan Wachs &lt;megan@sifive.com&gt;
Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
(cherry picked from commit 231f14e74f112a9f721e774561126b2bd1250039)

# Conflicts:
#	src/main/scala/chisel3/util/BitPat.scala

* Resolve backport conflicts

Co-authored-by: Aditya Naik &lt;91489422+adkian-sifive@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Refactor TruthTable.apply and add factory method for Espresso (#2612)

Improves performance of creating TruthTables by processing entire BitPats
rather than individual bits. New TruthTable factory method enables
constructing TruthTables with semantics of OR-ing output BitPats together
rather than erroring when multiple terms have the same input BitPat.
This alternative factory method matches semantics for the output format
of Espresso.

Co-authored-by: Megan Wachs &lt;megan@sifive.com&gt;
Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
(cherry picked from commit 231f14e74f112a9f721e774561126b2bd1250039)

# Conflicts:
#	src/main/scala/chisel3/util/BitPat.scala

* Resolve backport conflicts

Co-authored-by: Aditya Naik &lt;91489422+adkian-sifive@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Make TruthTable accept unknown input width (#2387) (#2417)</title>
<updated>2022-02-15T22:35:23+00:00</updated>
<author>
<name>mergify[bot]</name>
</author>
<published>2022-02-15T22:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=4b8584b1d2c46c76b1540e265a84eeb247d684e4'/>
<id>4b8584b1d2c46c76b1540e265a84eeb247d684e4</id>
<content type='text'>
Widths are now padded to the maximum width of the inputs.

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
(cherry picked from commit 546b4e13fe90ff09d24b63664c072d46c13c0c38)

Co-authored-by: Jiuyang Liu &lt;liu@jiuyang.me&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Widths are now padded to the maximum width of the inputs.

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
(cherry picked from commit 546b4e13fe90ff09d24b63664c072d46c13c0c38)

Co-authored-by: Jiuyang Liu &lt;liu@jiuyang.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Apply scalafmt</title>
<updated>2022-01-10T23:53:55+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2022-01-10T18:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=3131c0daad41dea78bede4517669e376c41a325a'/>
<id>3131c0daad41dea78bede4517669e376c41a325a</id>
<content type='text'>
Command:
sbt scalafmtAll
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Command:
sbt scalafmtAll
</pre>
</div>
</content>
</entry>
<entry>
<title>BitSet API (#2211)</title>
<updated>2021-12-16T01:47:05+00:00</updated>
<author>
<name>Jiuyang Liu</name>
</author>
<published>2021-12-16T01:47:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=214115a4cdbf0714d3d1716035f5eb0dd98cba45'/>
<id>214115a4cdbf0714d3d1716035f5eb0dd98cba45</id>
<content type='text'>
BitSet is a new experimental parent type for BitPat.
It enables more complex operations on BitPats.

Co-authored-by: Ocean Shen &lt;shenao6626@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BitSet is a new experimental parent type for BitPat.
It enables more complex operations on BitPats.

Co-authored-by: Ocean Shen &lt;shenao6626@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor TruthTable to use Seq (#2217)</title>
<updated>2021-12-15T07:53:52+00:00</updated>
<author>
<name>Jiuyang Liu</name>
</author>
<published>2021-12-15T07:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=36506c527ff0f51636beee4160f0ce1f6ad2f90a'/>
<id>36506c527ff0f51636beee4160f0ce1f6ad2f90a</id>
<content type='text'>
This makes the resulting Verilog from decoding a TruthTable deterministic.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the resulting Verilog from decoding a TruthTable deterministic.</pre>
</div>
</content>
</entry>
<entry>
<title>catch None.get in BitPat.apply(x: UInt): BitPat (#2276)</title>
<updated>2021-12-09T02:25:11+00:00</updated>
<author>
<name>Jiuyang Liu</name>
</author>
<published>2021-12-09T02:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/chiselX/commit/?id=849d4a0b7f6f7ea056c5280b9d319dadf5225022'/>
<id>849d4a0b7f6f7ea056c5280b9d319dadf5225022</id>
<content type='text'>
Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;</pre>
</div>
</content>
</entry>
</feed>
