所用if语句、其内的表达式均在CIW中运行验证了,没有语法错误。但是运行仿真的时候老是报这样的错误:
“Error found by spectre during circuit read-in.
ERROR (SFE-874): "input.scs" 56: Unexpected identifier "T". Expected close parenthesis or comma.”
可以用spectre支持的操作符
Conditional selection
(cond) ? x : y
Returns x if cond is true, y if not; where x and y are expressions.
detail infomation pls refer to
Virtuoso Spectre Circuit Simulator and Accelerated Parallel Simulator User Guide