summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/UIntFactory.scala
diff options
context:
space:
mode:
authorAlbert Magyar2020-07-21 17:40:16 -0700
committerGitHub2020-07-21 17:40:16 -0700
commit473a13877c60ba9fb13de47542a8397412c2b967 (patch)
tree159cec6aa6ece2e87ceffbdc56a553fe71d0726b /core/src/main/scala/chisel3/UIntFactory.scala
parent4a0e828cfe76e0d3bd6c4a0cc593589fe74ed0ba (diff)
parente5568f55a6a149adfd19ad04b264a69078288f86 (diff)
Merge pull request #1519 from freechipsproject/no-scalastyle
Remove scalastyle configurations
Diffstat (limited to 'core/src/main/scala/chisel3/UIntFactory.scala')
-rw-r--r--core/src/main/scala/chisel3/UIntFactory.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/main/scala/chisel3/UIntFactory.scala b/core/src/main/scala/chisel3/UIntFactory.scala
index 3868962b..864e6cb8 100644
--- a/core/src/main/scala/chisel3/UIntFactory.scala
+++ b/core/src/main/scala/chisel3/UIntFactory.scala
@@ -15,7 +15,6 @@ trait UIntFactory {
def apply(width: Width): UInt = new UInt(width)
/** Create a UInt literal with specified width. */
- // scalastyle:off method.name
protected[chisel3] def Lit(value: BigInt, width: Width): UInt = {
val lit = ULit(value, width)
val result = new UInt(lit.width)
@@ -24,7 +23,6 @@ trait UIntFactory {
}
/** Create a UInt with the specified range, validate that range is effectively > 0
*/
- //scalastyle:off cyclomatic.complexity
def apply(range: IntervalRange): UInt = {
// Check is only done against lower bound because range will already insist that range high >= low
range.lowerBound match {