NanDigits中国

位置:文档/GOF API列表

set_pin_constant

Set pin to a constant value

Usage:

set_pin_constant($pin, $value, @options); $pin: Input pin name. It can be a bus. $value: Decimal value that the pin should be set @options: -help: Print this information -both: Set the pin to the constant value on both Implementation and Reference. Enabled by default. -imp: Set the pin to the constant only on Implementation -ref: Set the pin to the constant only on Reference

Examples:

\#1. Set test scan test pin to low set_top('DESING_TOP'); set_pin_constant('PIN_SCAN_TEST', 0); set_ignore_output('PIN_SCAN_SO*'); fix_design();

#2. Set one bus port to all ones on Implementation set_top('DESING_TOP'); set_pin_constant('PIN_CONTROL[3:0]', 15, '-imp'); fix_design();

更多文档:文档目录


微信公众号

LinkedIn

Nandigits.com 美国官网 | Nandigits.cn 中国官网
© 2021 Nandigits Design Automation. 版权所有。