Fix code styling
authorJean THOMAS <git0@pub.jeanthomas.me>
Wed, 15 Jul 2020 10:02:27 +0000 (12:02 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Wed, 15 Jul 2020 10:02:27 +0000 (12:02 +0200)
gram/phy/dfi.py

index dd3bc372fe8b23a2bfb88dd88d4633206fd67613..13ae1cf2240485063df1d6e2674eb59d56ba9146 100644 (file)
@@ -11,23 +11,23 @@ def phase_description(addressbits, bankbits, nranks, databits):
     return [
         # cmd description
         ("address", addressbits, DIR_FANOUT),
-        ("bank",       bankbits, DIR_FANOUT),
-        ("cas_n",             1, DIR_FANOUT),
-        ("cs_n",         nranks, DIR_FANOUT),
-        ("ras_n",             1, DIR_FANOUT),
-        ("we_n",              1, DIR_FANOUT),
-        ("clk_en",          nranks, DIR_FANOUT),
-        ("odt",          nranks, DIR_FANOUT),
-        ("reset_n",           1, DIR_FANOUT),
-        ("act_n",             1, DIR_FANOUT),
+        ("bank", bankbits, DIR_FANOUT),
+        ("cas_n", 1, DIR_FANOUT),
+        ("cs_n", nranks, DIR_FANOUT),
+        ("ras_n", 1, DIR_FANOUT),
+        ("we_n", 1, DIR_FANOUT),
+        ("clk_en", nranks, DIR_FANOUT),
+        ("odt", nranks, DIR_FANOUT),
+        ("reset_n", 1, DIR_FANOUT),
+        ("act_n", 1, DIR_FANOUT),
         # wrdata description
-        ("wrdata",         databits, DIR_FANOUT),
-        ("wrdata_en",             1, DIR_FANOUT),
+        ("wrdata", databits, DIR_FANOUT),
+        ("wrdata_en", 1, DIR_FANOUT),
         ("wrdata_mask", databits//8, DIR_FANOUT),
         # rddata description
-        ("rddata_en",           1, DIR_FANOUT),
-        ("rddata",       databits, DIR_FANIN),
-        ("rddata_valid",        1, DIR_FANIN),
+        ("rddata_en", 1, DIR_FANOUT),
+        ("rddata", databits, DIR_FANIN),
+        ("rddata_valid", 1, DIR_FANIN),
     ]