File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
src/main/scala-2/chisel3/simulator Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,6 @@ object LayerControl {
1313 /** The type of all layer control variations */
1414 sealed trait Type {
1515
16- /** Return true if a file should be included in the build. This will always
17- * return true for any non-layer file.
18- * @param file the file to check
19- */
20- final def filter (file : File ): Boolean = file.getName match {
21- case nonLayer if ! nonLayer.startsWith(" layers-" ) => true
22- case layer => shouldEnable(layer)
23- }
24-
25- /** Return true if a layer should be included in the build.
26- * @param layerFilename the filename of a layer
27- */
28- protected def shouldEnable (layerFilename : String ): Boolean
29-
3016 /** Return the layers that should be enabled in a circuit. The layers must exist in the design.
3117 *
3218 * @param design an Annotation that contains an elaborated design used to check that the requested layers exist
@@ -82,7 +68,6 @@ object LayerControl {
8268
8369 /** Enable all layers */
8470 final case object EnableAll extends Type {
85- override protected def shouldEnable (layerFilename : String ) = true
8671
8772 override protected def getLayerSubset (module : ElaboratedModule [_]): Seq [Layer ] = module.layers
8873 }
@@ -103,7 +88,6 @@ object LayerControl {
10388 re.matches(_)
10489 }
10590 }
106- override protected def shouldEnable (filename : String ) = _shouldEnable(filename)
10791
10892 override protected def getLayerSubset (module : ElaboratedModule [_]): Seq [Layer ] = {
10993 val definedLayers = module.layers
You can’t perform that action at this time.
0 commit comments