summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/Module.scala
diff options
context:
space:
mode:
authorAndrew Waterman2016-04-14 11:52:42 -0700
committerAndrew Waterman2016-04-14 11:52:42 -0700
commita55309514ef9a89e5c830b1f1fe6d9719e986422 (patch)
tree195fe016200ee9f27cbe7d4fa6f9ecf8c3e32bee /src/main/scala/Chisel/Module.scala
parent635f98dd174e62151c82d20d4fca35272a85c146 (diff)
Reject log2Up on negative inputs
Mathematically, we should also reject 0, like log2Ceil does. But accepting 0 and returning 1 is more in the spirit of the special case for widths.
Diffstat (limited to 'src/main/scala/Chisel/Module.scala')
0 files changed, 0 insertions, 0 deletions