执行SDF标注
在下面的例子中,在设计的最顶层进行带比例的SDF标注
module top;
. . . . . . . .
initial $sdf_annotate ("my. sdf", , , , , 1.6:1.4:1.2);
. . . . . . . .
endmodule
在下面的例子中,对不同的实例分开标注
module top;
. . . . . . . .
cpu u1 ( . . .
fpu u2 ( . . .
dma u3 ( . . .
. . . . . . . .
initial begin
$sdf_annotate ("sdffiles/cpu.sdf", u1, ,"logfiles/cpu_sdf.log");
$sdf_annotate ("sdffiles/fpu.sdf", u2, ,"logfiles/fpu_sdf.log");
$sdf_annotate ("sdffiles/dma.sdf", u3, ,"logfiles/dma_sdf.log");
end
. . . . . . . .
endmodule
1