OpenXiangShan / XiangShan

Open-source high-performance RISC-V processor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can projects using Chisel 3 and Chisel 5/6 be integrated together?

reoLantern opened this issue · comments

XiangShan has already transitioned to chisel 6, but I see that the submodule fudian's build.sc still uses chisel 3.6. How can projects with chisel 3 and chisel 6 be compiled together?

You may see here: https://github.com/OpenXiangShan/XiangShan/blob/master/build.sc#L159

It is true that fudian's build.sc is still using chisel 3.6, but the codes of fudian modules are already compatible with chisel 5/6, so we can just treat it as a chisel 6 project by specifying chisel 6 in XiangShan's build.sc. Hope this can help you.