作者acespeed (xXx)
看板Electronics
标题[问题] verilog-a indirect branch assignments
时间Wed May 15 10:54:32 2013
这几天终於大概知道verilog-a在干嘛了
不过我实在是看不懂indirect branch assignments是什麽意思
他的manul写范例是写op,他原文是这样
Consider the model for an ideal OPAMP. In this model, the output is driven to
the voltage that results in the input voltage being zero.
The constitutive equation is V(in) == 0
This can be formulated in fixed point form as
V(out) <+ V(out) + V(in);
This statement defines the output of the OPAMP to be a controlled voltage
source by assigning to V(out) and defines the input to be high impedance by only
probing the input voltage.
The desired behavior results because the description is formulated
in such a way that it reduces to V(in) = 0.
This approach does not result in the right tolerances being
applied to the equation if out and in have different disciplines.
Verilog-A HDL includes a special syntax that is appropriate in this
situation. The above branch contribution can be rewritten using an indirect branch assignment:
V(out): V(in) == 0;
which reads “find V(out) such that V(in) == 0”. It indicates that out
should be driven with a voltage source and the source voltage should be such that the given
equation is satisfied.
Any branches referenced in the equation are only probed and not
driven. In particular, V(in) acts as a voltage probe.
看不懂是什麽意思
可以麻烦大家解释一下吗
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.67.140