sdram/phy/simphy: remove use of iter
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 26 Mar 2015 22:02:23 +0000 (23:02 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 26 Mar 2015 22:02:23 +0000 (23:02 +0100)
misoclib/mem/sdram/phy/simphy.py

index 4ff910d8e8af796b58f9f45d8ff885cd669e982d..31886b4c8e61781ef5e6663c721a01099d8620e2 100644 (file)
@@ -194,6 +194,6 @@ class SDRAMPHYSim(Module):
                        banks_read_data = new_banks_read_data
 
                self.comb += [
-                       Cat(iter([phase.rddata_valid for phase in phases])).eq(banks_read),
-                       Cat(iter([phase.rddata for phase in phases])).eq(banks_read_data)
+                       Cat(*[phase.rddata_valid for phase in phases]).eq(banks_read),
+                       Cat(*[phase.rddata for phase in phases]).eq(banks_read_data)
                ]