summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/UIntFactory.scala
diff options
context:
space:
mode:
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 {