我正在使用(可能不正确!)命令
yosys -f verilog -p "prep; show stretch count.dot" count.v
以下简单示例
module count(input clk,output [7:0] LEDS);
reg [26:0] count;
assign LEDS = count[26:19];
always @(posedge clk) begin
count <= count + 1;
end
endmodule
它没有工作,因为我希望不输出我不想要的文件名...
3. Generating Graphviz representation of design.
Writing dot description to `/home/chris/.yosys_show.dot'.
ERROR: Nothing there to show.
这是正确的方法吗?
答案 0 :(得分:1)
您显然正在寻找的命令行是:
yosys -p "prep; show -stretch -prefix count -format dot" count.v