Usage of casex A casex block treats ‘x’ as “don’t cares” if they are in either the case expression or the case item. Problem occurs when an input to a casex expression is initialized to an unknown state. The simulator will treat unknown state as “don’t care” while the synthesizer will propagate the unknown value through the gate-level model.
•Usage of casez
–Similar to casex, with casez, a problem would occur if an input were initialized to a high impedance state. However, the casez
statement is a short, concise, and tabular method for coding certain useful structures, such as priority encoders, interrupt handlers, and address decoders.
高手能解释下什么意思么?
还有propagate the unknown value through the gate-level model 传递未知数值通过门级 是什么意思?



最新回复
dio65759465 (2008-11-21 09:20:15)
casez中是忽略Z 这两个语句中也可以用?来代表忽略的符号
那句英文你得结合上下文来看
是说用casex会出现未知的状态 仿真器对此的处理是忽略而综合器会在门级模型中传递未知的数值(这样会出问题)
我不知道自己说清楚没 因为感觉有些英文的东西硬用中文表述很需要根底的 我常说不清楚
xiaocanmeng (2008-11-21 10:07:01)
dio65759465 (2008-11-21 11:14:14)
就符号而言x表示的是不定态 Z的是确定的高阻态
xiaocanmeng (2008-11-21 11:34:19)
mjchina1224 (2008-11-21 20:52:56)