@@ -15,7 +15,7 @@ def __init__(self, platform, clk_freq):
15
15
self .clock_domains .cd_sys = ClockDomain ()
16
16
self .clock_domains .cd_sys_ps = ClockDomain ()
17
17
18
- f0 = 32 * 10e6
18
+ f0 = 32 * 1e6
19
19
clk32 = platform .request ("clk32" )
20
20
clk32a = Signal ()
21
21
self .specials += Instance ("IBUFG" , i_I = clk32 , o_O = clk32a )
@@ -35,7 +35,7 @@ def __init__(self, platform, clk_freq):
35
35
i_DADDR = 0 , i_DCLK = 0 , i_DEN = 0 , i_DI = 0 , i_DWE = 0 , i_RST = 0 , i_REL = 0 ,
36
36
p_DIVCLK_DIVIDE = 1 , p_CLKFBOUT_MULT = m * p // n , p_CLKFBOUT_PHASE = 0. ,
37
37
i_CLKIN1 = clk32b , i_CLKIN2 = 0 , i_CLKINSEL = 1 ,
38
- p_CLKIN1_PERIOD = 10e9 / f0 , p_CLKIN2_PERIOD = 0. ,
38
+ p_CLKIN1_PERIOD = 1e9 / f0 , p_CLKIN2_PERIOD = 0. ,
39
39
i_CLKFBIN = pll_fb , o_CLKFBOUT = pll_fb , o_LOCKED = pll_lckd ,
40
40
o_CLKOUT0 = pll [0 ], p_CLKOUT0_DUTY_CYCLE = .5 ,
41
41
o_CLKOUT1 = pll [1 ], p_CLKOUT1_DUTY_CYCLE = .5 ,
@@ -69,7 +69,7 @@ class BaseSoC(SDRAMSoC):
69
69
csr_map .update (SDRAMSoC .csr_map )
70
70
71
71
def __init__ (self , platform , sdram_controller_settings = LASMIconSettings (), ** kwargs ):
72
- clk_freq = 80 * 10e6
72
+ clk_freq = 80 * 1e6
73
73
SDRAMSoC .__init__ (self , platform , clk_freq ,
74
74
cpu_reset_address = 0x60000 ,
75
75
sdram_controller_settings = sdram_controller_settings ,
0 commit comments