Unverified Commit 4f10bdd7 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Refactor TruthTable.apply and add factory method for Espresso (backport #2612) (#2620)



* 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: default avatarMegan Wachs <megan@sifive.com>
Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
(cherry picked from commit 231f14e7

)

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

* Resolve backport conflicts

Co-authored-by: default avatarAditya Naik <91489422+adkian-sifive@users.noreply.github.com>
parent 2b977a74
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment