hdl.ir: allow explicitly requesting flattening.

This commit is contained in:
whitequark 2019-01-14 17:04:23 +00:00
parent 6f66885c09
commit b534e92dd5
4 changed files with 24 additions and 5 deletions

View file

@ -41,4 +41,7 @@ class Tristate:
i_A=self.triple.o,
o_Y=self.io,
)
return m.lower(platform)
f = m.lower(platform)
f.flatten = True
return f