Fix CI tests

This commit is contained in:
Colin Schmidt
2020-02-19 17:23:10 -08:00
parent 7de4c478c3
commit db0efd38fc
10 changed files with 197 additions and 192 deletions

View File

@@ -34,11 +34,12 @@ object ResetN extends Pass {
mod.copy(ports = portsx, body = bodyx)
}
def run(c: Circuit): Circuit =
def run(c: Circuit): Circuit = {
c.copy(modules = c.modules map {
case mod: Module if mod.name == c.main => invertReset(mod)
case other => other
})
}
}
class ResetInverterTransform extends Transform {