diff options
| author | Jack Koenig | 2020-03-24 16:28:30 -0700 |
|---|---|---|
| committer | GitHub | 2020-03-24 23:28:30 +0000 |
| commit | 6263fcc56b630b7181eb30680cadcdbb2bdf91dc (patch) | |
| tree | bfa49d80b93aaabf14510eed86808209b773183f /src/main/scala/chisel3/compatibility.scala | |
| parent | 3f6b1ce708063097042ecee5d004c66182c25470 (diff) | |
Propagate user compile options for Chisel.Module (#1387)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/scala/chisel3/compatibility.scala')
| -rw-r--r-- | src/main/scala/chisel3/compatibility.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/compatibility.scala b/src/main/scala/chisel3/compatibility.scala index 02dfa329..9584fad6 100644 --- a/src/main/scala/chisel3/compatibility.scala +++ b/src/main/scala/chisel3/compatibility.scala @@ -300,7 +300,7 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t import chisel3.CompileOptions abstract class CompatibilityModule(implicit moduleCompileOptions: CompileOptions) - extends chisel3.internal.LegacyModule { + extends chisel3.internal.LegacyModule()(moduleCompileOptions) { // This class auto-wraps the Module IO with IO(...), allowing legacy code (where IO(...) wasn't // required) to build. // Also provides the clock / reset constructors, which were used before withClock happened. |
