0

因此,在运行 linting 时,您可以编写自己的排除文件。在此文件中,您可以指定模块名称,它将排除模块及其使用的所有模块。所以假设我有 *top_old* 和 *top_new*。他们使用一些相同的模块,但我想排除 *top_old* 相互文件也将被排除,这不是我想要的。

我只想排除文件 top_old 而不是它使用的所有文件。

因此,当您创建您使用的排除文件时:

designunit = top_old; 

(这是模块名称)

我想知道是否有办法:

file = top_old.v; 

并让它只排除文件而不是别的

4

1 回答 1

0

好的,最好的方法如下:

无论您在哪里bb_list{...}包含一个部分gb_list{...}

所以文件看起来像这样

bb_list{

   designunit = dut;

}

gb_list{

   designunit = dut2;

}

dut2 将从 linting 中排除,但它实例化的所有模块仍将被 linting。

于 2013-03-22T08:34:20.593 回答