Merge pull request #800 from ss2783/patch-1
GeneratorUtils: support to elaborate a RawModule
This commit is contained in:
commit
1f137cb9ff
@ -3,6 +3,7 @@
|
||||
package util
|
||||
|
||||
import Chisel._
|
||||
import chisel3.experimental.{RawModule}
|
||||
import config._
|
||||
import diplomacy.LazyModule
|
||||
import java.io.{File, FileWriter}
|
||||
@ -45,7 +46,7 @@ trait HasGeneratorUtilities {
|
||||
Class.forName(names.fullTopModuleClass)
|
||||
.getConstructor(classOf[Parameters])
|
||||
.newInstance(params)
|
||||
.asInstanceOf[Module]
|
||||
.asInstanceOf[RawModule]
|
||||
|
||||
Driver.elaborate(gen)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user