sifive / soc-freedom-sifive

e300 and u500 devkits
10 stars 8 forks source link

There are some bugs when compiling scala #4

Open LoveZJT opened 5 years ago

LoveZJT commented 5 years ago

According to README.md, I used the following commands to initial the workplace.

wit init workspace -a git@github.com:sifive/soc-freedom-sifive.git
cd workspcae
wake --init .

But when I compile scala by using :

wake -v compileScalaModule u500ScalaModule

there are some bugs.

Variable reference 'memoize' is unbound at api-generator-sifive/program/freedom-metal-program.wake:100:[45-51]
Variable reference 'memoize' is unbound at api-generator-sifive/dut/rocket-chip-dut.wake:110:[54-60]
>>> Aborting without execution <<<

How can I fix it? Thanks.

albertchen-sifive commented 5 years ago

Sorry for the late response. This repo used to only work with version v0.15.x of wake and would output these errors when using master of wake. The current version should work with master. This will probably change though, so I would stick with v0.15.x