我今天更新了火箭芯片,并注意到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.Driver到firrtl.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)
为了避免此过时警告,我们应该怎么做?