The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> z transform filter in ac
https://designers-guide.org/forum/YaBB.pl?num=1298380482

Message started by roberto_d on Feb 22nd, 2011, 5:14am

Title: z transform filter in ac
Post by roberto_d on Feb 22nd, 2011, 5:14am

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

Title: Re: z transform filter in ac
Post by August West on Feb 23rd, 2011, 1:01am

Yes, of course. However, if you carefully look at the log file you will probably find a warning that says that the z-filter is not implemented in AC analysis yet. That message has been there since 1994. I'm thinking this one is not a high priority for Cadence.

August

Title: Re: z transform filter in ac
Post by roberto_d on Feb 23rd, 2011, 9:30am

I see... It would have been too nice...
But since 94 they made a BIG step forward, now they don't even show a warning in the log file!
Ok thanks, at least I can stop asking myself what I did wrong.

Title: Re: z transform filter in ac
Post by August West on Feb 24th, 2011, 11:30pm

If you don't see the warning message, then you might want to inquire with Cadence. After all, it has been a 16 years. Perhaps they did get around to fixing it, or at least trying to. After all, why would they take out the warning if they didn't try to fix it?

And, besides, if they did not fix it, they should at least be made aware from time to time that people care.

-August

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.