diff options
| author | Andrew Waterman | 2017-02-24 00:04:43 -0800 |
|---|---|---|
| committer | Jack Koenig | 2017-03-08 11:27:04 -0600 |
| commit | 246c2e8336c19d39bfb92dc8f2ee730a2ac4c55b (patch) | |
| tree | 3066a07cd14645c4bbe3ad3f7298aaf6d2a74733 /chiselFrontend/src/main/scala/chisel3 | |
| parent | 3e6ef13ff5cda2e65efbbf5d306cc101582ad0e5 (diff) | |
Correct Fill's exception behavior; avoid log2Up
It always should throw an exception when n < 0, but in the specific
case of x.isWidthKnown && x.getWidth == 1, it failed to do so.
This commit also changes log2Up in log2Ceil, which has no effect,
since the argument is always at least 2.
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3')
0 files changed, 0 insertions, 0 deletions
