From: Florent Kermarrec Date: Fri, 3 Jan 2020 14:29:10 +0000 (+0100) Subject: cpu/microwatt: reorder sources, add comments X-Git-Tag: 24jan2021_ls180~775 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=690de79d8b169fd936a74af80121befec0236561;p=litex.git cpu/microwatt: reorder sources, add comments --- diff --git a/litex/soc/cores/cpu/microwatt/core.py b/litex/soc/cores/cpu/microwatt/core.py index 22ce12d9..584ad445 100644 --- a/litex/soc/cores/cpu/microwatt/core.py +++ b/litex/soc/cores/cpu/microwatt/core.py @@ -100,38 +100,56 @@ class Microwatt(CPU): def add_sources(platform): sdir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "sources") platform.add_sources(sdir, + # Common / Types / Helpers "decode_types.vhdl", "wishbone_types.vhdl", + "utils.vhdl", "common.vhdl", + "helpers.vhdl", + + # Fetch "fetch1.vhdl", "fetch2.vhdl", + + # Instruction/Data Cache + "cache_ram.vhdl", + "plru.vhdl", + "dcache.vhdl", + "icache.vhdl", + + # Decode + "insn_helpers.vhdl", "decode1.vhdl", - "helpers.vhdl", + "gpr_hazard.vhdl", + "cr_hazard.vhdl", + "control.vhdl", "decode2.vhdl", + + # Register/CR File "register_file.vhdl", - "cr_file.vhdl", "crhelpers.vhdl", + "cr_file.vhdl", + + # Execute "ppc_fx_insns.vhdl", - "sim_console.vhdl", "logical.vhdl", + "rotator.vhdl", "countzero.vhdl", - "gpr_hazard.vhdl", - "cr_hazard.vhdl", - "control.vhdl", "execute1.vhdl", + + # Load/Store "loadstore1.vhdl", - "dcache.vhdl", + + # Multiply/Divide "multiply.vhdl", "divider.vhdl", - "rotator.vhdl", + + # Writeback "writeback.vhdl", - "insn_helpers.vhdl", - "core.vhdl", - "icache.vhdl", - "plru.vhdl", - "cache_ram.vhdl", + + # Core "core_debug.vhdl", - "utils.vhdl" + "core.vhdl", ) platform.add_source(os.path.join(sdir, "..", "microwatt_wrapper.vhdl"))