summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/CompileOptions.scala
diff options
context:
space:
mode:
authormergify[bot]2022-06-08 20:09:45 +0000
committerGitHub2022-06-08 20:09:45 +0000
commita689c7c0dd336fe0b9db6171786993b190a700f8 (patch)
treeb914bcb25c7d1809a79aad804386cb10b2b1fa23 /core/src/main/scala/chisel3/CompileOptions.scala
parent9c79051866743ba5b8f922fc309abc1302ba5547 (diff)
Added migration for inferModuleReset (#2571) (#2573)
Co-authored-by: Jack Koenig <koenig@sifive.com> (cherry picked from commit 3c6c044b6bdee850ad9ba375324abaf3813c557d) Co-authored-by: Adam Izraelevitz <adam.izraelevitz@sifive.com>
Diffstat (limited to 'core/src/main/scala/chisel3/CompileOptions.scala')
-rw-r--r--core/src/main/scala/chisel3/CompileOptions.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/scala/chisel3/CompileOptions.scala b/core/src/main/scala/chisel3/CompileOptions.scala
index db773d6e..2764b652 100644
--- a/core/src/main/scala/chisel3/CompileOptions.scala
+++ b/core/src/main/scala/chisel3/CompileOptions.scala
@@ -22,6 +22,9 @@ trait CompileOptions {
val explicitInvalidate: Boolean
// Should the reset type of Module be a Bool or a Reset
val inferModuleReset: Boolean
+
+ /** If marked true, then any Module which consumes `inferModuleReset=false` must also mix in [[RequireSyncReset]] */
+ def migrateInferModuleReset: Boolean = false
}
object CompileOptions {