sheldon wrote on Sep 27th, 2010, 1:26am:Sand Dolphin,
It appears that your module always outputs a 5V
If the V(Din) [rising edge]> 0.7 --> V( A5vout) = 5
If the V(Din) [falling edge] < 0.7 --> V( A5vout) = 5
since V(Din) > 0.1
....
Sheldon
thx Sheldon,
i wana make correction only one point.
Din is Digital signal.
And we define L2E on other system 1.5v(D1),0v(D0) on tran 0ns.
thus, when Din goes to high, V(Din) reached 1.5v and
Din goes to low, V(Din) reached 0v A.S.A.P.
this function model works fine now.
so how 2 add function Hiz-State by Analog solver(Verilog-AMS) ?
how about bellow way ? I can make enable logic signal for driving or not.
as ENABLE is set.
analog begin
@(cross(V(Din)-0.7,0));
if((V(Din)>0.1) &
ENABLE ) temp = 1;
else if(
ENABLE ) temp=0;
V(A5vout) <+ 5*transition(temp,0,1n,1n);
end
![Sad Sad](https://designers-guide.org/forum/Templates/Forum/default/sad.gif)
i know , i should try myself at first.
but i can't. cos i'm not so familiar w/t Analog tool Environment.
now , i'm making test bench on Analog tool Environment.
plz give me kindly help and advice.