cosmetic changes
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sun, 10 Nov 2013 15:12:24 +0000 (16:12 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sun, 10 Nov 2013 15:12:24 +0000 (16:12 +0100)
misoclib/s6ddrphy/__init__.py
software/common.mak

index c66b025b4f1f4782e41781b14fe0b593645d0c91..044c0afc80ed90feda722e8c73db5d863178d4dc 100644 (file)
@@ -56,9 +56,9 @@ class S6DDRPHY(Module):
                ###
 
                # sys_clk           : system clk, used for dfi interface
-               # sdram_half_clk    : half rate sdram clk 
+               # sdram_half_clk    : half rate sdram clk
                # sdram_full_wr_clk : full rate sdram write clk
-               # sdram_full_rd_clk : full rate sdram write clk
+               # sdram_full_rd_clk : full rate sdram read clk
                sd_sys = getattr(self.sync, "sys")
                sd_sdram_half = getattr(self.sync, "sdram_half")
 
@@ -80,8 +80,11 @@ class S6DDRPHY(Module):
                sys_clk_d = Signal()
 
                sd_sdram_half += [
-                       If(sys_clk & ~sys_clk_d, phase_sel.eq(0)
-                       ).Else(phase_sel.eq(phase_sel+1)),
+                       If(sys_clk & ~sys_clk_d,
+                               phase_sel.eq(0)
+                       ).Else(
+                               phase_sel.eq(phase_sel+1)
+                       ),
                        sys_clk_d.eq(sys_clk)
                ]
 
@@ -287,7 +290,6 @@ class S6DDRPHY(Module):
                                o_Q2=d_dfi[0*nphases+0].rddata[i],
                                o_Q3=d_dfi[0*nphases+1].rddata[i+d],
                                o_Q4=d_dfi[0*nphases+1].rddata[i],
-
                        )
 
                        # Data buffer
index e5d8d135b77c2f847a8dc7b95346471fbcb2ea82..7320685e9068718a6a3cddc7856f80c37b322618 100644 (file)
@@ -18,7 +18,7 @@ LD_quiet = @echo " LD " $@ && $(TARGET_PREFIX)ld
 OBJCOPY_quiet = @echo " OBJCOPY " $@ && $(TARGET_PREFIX)objcopy
 RANLIB_quiet = @echo " RANLIB  " $@ && $(TARGET_PREFIX)ranlib
 
-GIT_ID:=$(shell python3 -c "from misoclib.identifier.git import get_id; print(hex(get_id()), end='')")
+GIT_ID := $(shell python3 -c "from misoclib.identifier.git import get_id; print(hex(get_id()), end='')")
 
 ifeq ($(V),1)
        CC = $(CC_normal)