用户工具

站点工具


edastudy:tessent:eco_commands

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
edastudy:tessent:eco_commands [2024/11/08 08:02] – [- intercept_connection] user01edastudy:tessent:eco_commands [2025/05/22 14:23] (当前版本) – [get nets] user01
行 65: 行 65:
 {and_4} {and_4}
 </code> </code>
 +
 +====== - eco feed through ======
 +思路:
 +
 +为了ECO修改后模块尽量可重用,即模块内部修改一模一样,可以提前先放一批cell到模块里面,然后再用ECO进行连线。
 +
 +{{ :edastudy:tessent:connect.tar.gz |}}
 +
 +<code tcl>
 +
 +# set_system_mode setup
 +set_system_mode analysis
 +set_system_mode insertion
 +
 +create_instance u_add_buf0 -of_module [get_dft_cell buffer] -below_instance chnl_l
 +create_instance u_add_buf1 -of_module [get_dft_cell buffer] -below_instance chnl_l
 +
 +delete_connections dev0/c -silent
 +delete_connections dev1/c -silent
 +create_connections ctl/c0 chnl_l/u_add_buf0/A -net_name ft_i_0
 +create_connections chnl_l/u_add_buf0/Y dev0/c -net_name ft_o_0
 +create_connections ctl/c1 chnl_l/u_add_buf1/A -net_name ft_i_1
 +create_connections chnl_l/u_add_buf1/Y dev1/c -net_name ft_o_1
 +
 +delete_connections dev2/c -silent
 +delete_connections dev3/c -silent
 +create_connections ctl/c2 chnl_r/u_add_buf0/A -net_name ft_i_2
 +create_connections chnl_r/u_add_buf0/Y dev2/c -net_name ft_o_2
 +create_connections ctl/c3 chnl_r/u_add_buf1/A -net_name ft_i_3
 +create_connections chnl_r/u_add_buf1/Y dev3/c -net_name ft_o_3
 +
 +write_design -output_directory out -modified -replace
 +
 +输出:
 +module chnl_a(ft_i_0, ft_o_0, ft_i_1, ft_o_1);
 +  input ft_i_0, ft_i_1;
 +  wire ft_i_0, ft_i_1;
 +  output ft_o_0, ft_o_1;
 +  wire ft_o_0, ft_o_1;
 +
 +  buf02 u_add_buf0(
 +      .A(ft_i_0), .Y(ft_o_0)
 +  );
 +
 +  buf02 u_add_buf1(
 +      .A(ft_i_1), .Y(ft_o_1)
 +  );
 +endmodule
 +
 +  wire ft_o_0, ft_o_1, c2, c3, ft_o_2, ft_o_3;
 +ctl ctl(
 +    .c0                             (c0                                         ), // output
 +    .c1                             (c1                                         ), // output
 +    .c2                             (c2                                         ), // output
 +    .c3                             (c3                                          // output
 +);
 +
 +dev dev0(.c(ft_o_0));
 +dev dev1(.c(ft_o_1));
 +dev dev2(.c(ft_o_2));
 +dev dev3(.c(ft_o_3));
 +
 +chnl_a chnl_l(.ft_i_0(c0), .ft_o_0(ft_o_0), .ft_i_1(c1), .ft_o_1(ft_o_1));
 +chnl_a chnl_r(.ft_i_0(c2), .ft_o_0(ft_o_2), .ft_i_1(c3), .ft_o_1(ft_o_3));
 +
 +
 +
 +</code>
 +
 +
  
 ====== - get nets ====== ====== - get nets ======
行 75: 行 145:
 get_nets [name_patterns]    获得net名为pattern的net get_nets [name_patterns]    获得net名为pattern的net
 get_nets -of_pins xxxpin   获取net跟pin相对应的net, net名与pin名名字一样 get_nets -of_pins xxxpin   获取net跟pin相对应的net, net名与pin名名字一样
-如果想获取pin 外面连线名,可用get_fanout -stop_on net+ 
 +如果想获取pin 外面连线名
 +  如果是input pin,可用get_fanin -stop_on net 
 +  如果是output pin,可用get_fanout -stop_on net
 </code> </code>
  
edastudy/tessent/eco_commands.1731024171.txt.gz · 最后更改: 2024/11/08 08:02 由 user01

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki