diff options
| author | Jiuyang Liu | 2021-11-30 11:16:02 +0800 |
|---|---|---|
| committer | GitHub | 2021-11-30 03:16:02 +0000 |
| commit | a4d13a5024f7488e1d2b9fdd27d3917157a67268 (patch) | |
| tree | 7e39f9ba6957825c6e4682abdfc93a16f54cc898 /src/main | |
| parent | c43879f8fc34eff92965896923fc8780efc07a03 (diff) | |
[deprecation clean up] remove trait firrtl.util.BackendCompilationUtilities (#2423)
Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/firrtl/util/BackendCompilationUtilities.scala | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/scala/firrtl/util/BackendCompilationUtilities.scala b/src/main/scala/firrtl/util/BackendCompilationUtilities.scala index 7d5fec1d..a687cb28 100644 --- a/src/main/scala/firrtl/util/BackendCompilationUtilities.scala +++ b/src/main/scala/firrtl/util/BackendCompilationUtilities.scala @@ -246,36 +246,3 @@ object BackendCompilationUtilities extends LazyLogging { command.! != 0 } } - -@deprecated("use object BackendCompilationUtilities", "FIRRTL 1.3") -trait BackendCompilationUtilities extends LazyLogging { - lazy val TestDirectory = BackendCompilationUtilities.TestDirectory - def timeStamp: String = BackendCompilationUtilities.timeStamp - def loggingProcessLogger: ProcessLogger = BackendCompilationUtilities.loggingProcessLogger - def copyResourceToFile(name: String, file: File): Unit = BackendCompilationUtilities.copyResourceToFile(name, file) - def createTestDirectory(testName: String): File = BackendCompilationUtilities.createTestDirectory(testName) - def makeHarness(template: String => String, post: String)(f: File): File = - BackendCompilationUtilities.makeHarness(template, post)(f) - def firrtlToVerilog(prefix: String, dir: File): ProcessBuilder = - BackendCompilationUtilities.firrtlToVerilog(prefix, dir) - def verilogToCpp( - dutFile: String, - dir: File, - vSources: Seq[File], - cppHarness: File, - suppressVcd: Boolean = false, - resourceFileName: String = firrtl.transforms.BlackBoxSourceHelper.defaultFileListName - ): ProcessBuilder = { - BackendCompilationUtilities.verilogToCpp(dutFile, dir, vSources, cppHarness, suppressVcd, resourceFileName) - } - def cppToExe(prefix: String, dir: File): ProcessBuilder = BackendCompilationUtilities.cppToExe(prefix, dir) - def executeExpectingFailure( - prefix: String, - dir: File, - assertionMsg: String = "" - ): Boolean = { - BackendCompilationUtilities.executeExpectingFailure(prefix, dir, assertionMsg) - } - def executeExpectingSuccess(prefix: String, dir: File): Boolean = - BackendCompilationUtilities.executeExpectingSuccess(prefix, dir) -} |
