The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 23rd, 2024, 4:56pm
Pages: 1
Send Topic Print
$table_model($abstime, ...) is very slow in Cadence Spectre (Read 1574 times)
cheap_salary
Senior Member
****
Offline



Posts: 162

$table_model($abstime, ...) is very slow in Cadence Spectre
Oct 30th, 2015, 8:28am
 
I created custom RF signal generator from I_PWL_File and Q_PWL_File using Verilog-A $table_model() like following.
Code:
analog begin
   @(initial_step) begin
     omega = `M_TWO_PI * frf;
     theta0 = `M_PI * init_phase / 180.0;
   end //initial_step

   Isig = $table_model($abstime, I_PWL_File);
   Qsig = $table_model($abstime, Q_PWL_File);

   theta = omega * $abstime + theta0;
   V(plus, minus) <+ scale * ( Isig*cos(theta) - Qsig*sin(theta) );
end //analog 



However this signal generator is very slow when it is used in Cadence Spectre compared to using two "analoglib/vpwlf".

Is it limitation of $table_model() ?
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.