Hello,
I'm trying to implement some z transform filters in Verilog-A (to be simulated with Spectre).
I did a very simple sample and hold (transfer function =1 in z domain):
Quote:`include "constants.vams"
`include "disciplines.vams"
module sh(MINUS, PLUS);
inout MINUS;
electrical MINUS;
inout PLUS;
electrical PLUS;
analog begin
V(MINUS)<+zi_nd(V(PLUS),{1},{1},2u,2n);
end
endmodule
This work perfectly fine in the time domain, but shouldn't I also see the effect of s/h in ac analysis? In fact, what I see in ac is vout=vin
Thanks
Roberto