config: use Field defaults over Config defaults

Also rename some keys that had the same class name as their value's class name.
This commit is contained in:
Henry Cook committed 2017-09-13 11:25:42 -07:00
1 parent a7540d35b7
commit b86f4b9bb7
18 files changed
+57 -68

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ package freechips.rocketchip.config
abstract class Field[T] private (val default: Option[T])
{
def this() = this(None)
def this(x: T) = this(Some(x))
def this(default: T) = this(Some(default))
}
abstract class View {