From ae8fd0ec425ef15b3fd34d56af86468892c4d4a3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 5 Mar 2020 03:55:48 +0000 Subject: [PATCH] whitespace --- src/decoder/power_decoder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) - -- 2.30.2