bus/dfi: add CKE and RESET_N
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 9 Aug 2014 02:56:08 +0000 (10:56 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 9 Aug 2014 02:56:08 +0000 (10:56 +0800)
migen/bus/dfi.py

index 2a7dbd480ea1502710f06bf1a233be3960848d67..189196f9720bfcfa3bb1cbd91c4e8155f7ead8e5 100644 (file)
@@ -6,17 +6,19 @@ def phase_cmd_description(a, ba):
                ("address",                     a,              DIR_M_TO_S),    
                ("bank",                        ba,             DIR_M_TO_S),
                ("cas_n",                       1,              DIR_M_TO_S),
-               ("cke",                         1,              DIR_M_TO_S),
                ("cs_n",                        1,              DIR_M_TO_S),
                ("ras_n",                       1,              DIR_M_TO_S),
-               ("we_n",                        1,              DIR_M_TO_S)
+               ("we_n",                        1,              DIR_M_TO_S),
+               ("cke",                         1,              DIR_M_TO_S),
+               ("odt",                         1,              DIR_M_TO_S),
+               ("reset_n",                     1,              DIR_M_TO_S)
        ]
 
 def phase_wrdata_description(d):
        return [
                ("wrdata",                      d,              DIR_M_TO_S),
                ("wrdata_en",           1,              DIR_M_TO_S),
-               ("wrdata_mask",         d//8,   DIR_M_TO_S),
+               ("wrdata_mask",         d//8,   DIR_M_TO_S)
        ]
 
 def phase_rddata_description(d):