From 73c76c612680fabde5b775f5488a9aa7a2eb3147 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 25 May 2022 09:17:36 +0200 Subject: [PATCH] tools/litex_sim: Add pre-definied commented config flags. --- litex/tools/litex_sim.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_sim.py b/litex/tools/litex_sim.py index 05a1e95a1..7960870a8 100755 --- a/litex/tools/litex_sim.py +++ b/litex/tools/litex_sim.py @@ -161,13 +161,20 @@ class SimSoC(SoCCore): platform = Platform() sys_clk_freq = int(1e6) + # CRG -------------------------------------------------------------------------------------- + self.submodules.crg = CRG(platform.request("sys_clk")) + # SoCCore ---------------------------------------------------------------------------------- SoCCore.__init__(self, platform, clk_freq=sys_clk_freq, ident = "LiteX Simulation", **kwargs) - # CRG -------------------------------------------------------------------------------------- - self.submodules.crg = CRG(platform.request("sys_clk")) + # BIOS Config ------------------------------------------------------------------------------ + # FIXME: Expose? + #self.add_config("BIOS_NO_PROMPT") + #self.add_config("BIOS_NO_DELAYS") + #self.add_config("BIOS_NO_BUILD_TIME") + #self.add_config("BIOS_NO_CRC") # SDRAM ------------------------------------------------------------------------------------ if not self.integrated_main_ram_size and with_sdram: