From: Luke Kenneth Casson Leighton Date: Thu, 5 Mar 2020 03:55:48 +0000 (+0000) Subject: whitespace X-Git-Tag: div_pipeline~1778 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae8fd0ec425ef15b3fd34d56af86468892c4d4a3;p=soc.git whitespace --- diff --git a/src/decoder/power_decoder.py b/src/decoder/power_decoder.py index 0c65872a..ea8e5021 100644 --- a/src/decoder/power_decoder.py +++ b/src/decoder/power_decoder.py @@ -161,6 +161,7 @@ class PowerDecoder(Elaboratable): def ports(self): return [self.opcode_in] + self.op.ports() + def create_pdecode(): # minor 19 has extra patterns @@ -194,9 +195,9 @@ def create_pdecode(): return PowerDecoder(32, dec) + if __name__ == '__main__': pdecode = create_pdecode() vl = rtlil.convert(pdecode, ports=pdecode.ports()) with open("decoder.il", "w") as f: f.write(vl) -