当在DC 综合过程中将该变量设置成true , 即使没有设置level-shifter strategy, tool 也会在存在voltage violation的boundary 上inserts level shifters,但是一般设置成false.
{Use the set_level_shifter command to specify the strategy for inserting level-shifter cells between power domains that operate at different voltages. Level shifters are inserted by the tool during execution of the compile_ultra command. The level-shifter cells are inserted only on the power domain boundaries that operate at different voltages. If a voltage violation exists at the domain boundary, the tool inserts level shifters at the domain boundary by default, even when a level-shifter strategy is not defined. This flexibility allows the tool to use the strategy that gets the best possible results. You can optionally restrict the insertion of level shifters to domain boundaries where the set_level_shifter command is used by setting the upf_levshi_on_constraint_only variable to true}
set_app_var upf_levshi_on_constraint_only true
虽然指定了set_level_shifter strategy,但也不会无条件的插入power cell ,Power Compiler uses the power state table and the specified rules, such as threshold, to determine where level shifters are needed,When the tool identifies a potential voltage violation, it tries to resolve the violation by inserting multiple level-shifters or a combination of level-shifter and isolation cells.