microwatt: Update to latest

Add the new source files and bump the revision used.

Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Joel Stanley 2022-10-26 16:34:18 +10:30
parent f95cf6ab2d
commit d45d3532fe
2 changed files with 5 additions and 2 deletions

View File

@ -172,12 +172,13 @@ class Microwatt(CPU):
# Instruction/Data Cache.
"cache_ram.vhdl",
"plru.vhdl",
"plrufn.vhdl",
"dcache.vhdl",
"icache.vhdl",
# Decode.
"insn_helpers.vhdl",
"predecode.vhdl",
"decode1.vhdl",
"control.vhdl",
"decode2.vhdl",
@ -219,8 +220,10 @@ class Microwatt(CPU):
from litex.build.xilinx import XilinxPlatform
if isinstance(platform, XilinxPlatform) and not use_ghdl_yosys_plugin:
sources.append("xilinx-mult.vhdl")
sources.append("xilinx-mult-32s.vhdl")
else:
sources.append("multiply.vhdl")
sources.append("multiply-32s.vhdl")
sdir = get_data_mod("cpu", "microwatt").data_location
cdir = os.path.dirname(__file__)
self.cpu_vhd2v_converter.add_sources(sdir, *sources)

View File

@ -112,7 +112,7 @@ git_repos = {
"pythondata-cpu-marocchino": GitRepo(url="https://github.com/litex-hub/"),
# OpenPower CPU(s).
"pythondata-cpu-microwatt": GitRepo(url="https://github.com/litex-hub/", sha1=0xb940b55acff),
"pythondata-cpu-microwatt": GitRepo(url="https://github.com/litex-hub/", sha1=0xb4986b23af6),
# RISC-V CPU(s).
"pythondata-cpu-blackparrot": GitRepo(url="https://github.com/litex-hub/"),