Unverified Commit 91edc119 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Optimize truth table merge (backport #3993) (#3995)

* Move BitPatSpec from package chiselTests to package chisel3

This allows it to test package private methods.

(cherry picked from commit 09d6fa71)

* Add package private all* methods to BitPat

(cherry picked from commit e9a2c6d5)

* Optimize TruthTable.split and .merge to do nothing in common case

Most TruthTables have a default of all dont care. We can optimize this
common case by doing actual work in TruthTable.split and
TruthTable.merge.

(cherry picked from commit bb32df47

)

---------

Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
parent 405914d0
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