小编jba*_*ter的帖子

firrtl.Driver已过时-但是我们应该使用什么呢?

我今天更新了火箭芯片,并注意到FIRRTL现在这样说:

------------------------------------------------------------------------------
Warning: firrtl.Driver is deprecated since 1.2!
Please switch to firrtl.stage.FirrtlStage
------------------------------------------------------------------------------
Run Code Online (Sandbox Code Playgroud)

好的,很公平,我想我们必须更新传递给FIRRTL的内容:

FIRRTL ?= java -Xmx3G -Xss8M -XX:MaxPermSize=256M $(FIRRTL_PROFILE_SWITCH)  -cp $(FIRRTL_JAR) firrtl.Driver
Run Code Online (Sandbox Code Playgroud)

但是,天真地切换firrtl.Driverfirrtl.stage.FirrtlStage它不起作用:

Error: Main method not found in class firrtl.stage.FirrtlStage, please define the main method as:
   public static void main(String[] args)
Run Code Online (Sandbox Code Playgroud)

为了避免此过时警告,我们应该怎么做?

chisel rocket-chip

5
推荐指数
1
解决办法
109
查看次数

标签 统计

chisel ×1

rocket-chip ×1