Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们知道 YOSYS(YOSYS for win32)可以使用 read_verilog _dump_ast 命令得到一个 AST 结果,但是在命令窗口中查看结果。我们如何从命令窗口获取文本文件的结果?非常感谢!
-l您可以使用命令行选项(例如yosys -l logfile.txt)或使用yosys中的命令重定向 yosys 日志输出tee:
-l
yosys -l logfile.txt
tee
tee -o outputfile.txt read_verilog -dump_ast1 input .v