1

Synopsys Verdi 中的“查找范围...”选项似乎无法找到除顶级模块之外的任何内容。我将 Scope Type 设置为 Module 并且尝试了许多不同的变体:

1) the module name with the * wildcard before and/or after: this will find top level modules no problem, but not anything lower.
2) The path to the module separated by .
3) The path to the module separated by /
4) Variations 2 & 3 with the * wildcard.

我一定缺少一些简单的东西,但它是什么?

4

1 回答 1

1

默认情况下,Verdi将使用编译的模块-y视为“库”模块,它们在nTrace GUI 中不可见。

解决方案是使用verdi -ssy命令行选项来获得对库模块的可见性。


考虑这种情况。我有 3 个 Verilog 文件:

  1. 结核病
  2. 库/foo.v
  3. 库/bar.v

如果我使用以下命令启动 Verdi,它将完全编译,但子模块 (foobar) 在 GUI 中不可见。只有顶级模块可见:

verdi tb.v -y lib +libext+.v

要获得可见性,请添加-ssy选项:

verdi tb.v -y lib +libext+.v -ssy

我可以看到层次结构中的所有模块。


结核病:

module tb;
    foo i0 ();
    foo i1 ();
    foo i2 ();
endmodule

module tb2;
endmodule

富.v:

module foo;
   bar b0 ();
   bar b1 ();
endmodule

酒吧.v:

module bar;
endmodule
于 2020-05-22T17:43:39.917 回答