add sys_rst to Clock Reset Generator
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Sep 2020 11:49:49 +0000 (12:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 22 Sep 2020 11:49:49 +0000 (12:49 +0100)
src/soc/litex/florent/ls180soc.py

index ef7d44512b653b2141c7c0fb007f5a758d92ec92..660760e6fde5e803fa96da2678f7d7af622f599c 100755 (executable)
@@ -129,7 +129,8 @@ class LibreSoCSim(SoCCore):
             self.bus.add_slave(name='ics', slave=ics_wb, region=ics_region)
 
         # CRG -----------------------------------------------------------------
-        self.submodules.crg = CRG(platform.request("sys_clk"))
+        self.submodules.crg = CRG(platform.request("sys_clk"),
+                                  platform.request("sys_rst"))
 
         #ram_init = []