Shashank Posted April 16, 2015 Report Share Posted April 16, 2015 Hello all,I am trying to model a simple PLL in SystemC as well as SystemC-AMS.Currently i am working on Charge Pump part of it. But i am seeing an error during execution. I am able to make all the files. But when executing the .exe file, the error of sca_linear_solver is seen. Have seen posts in this forum on similiar errors. But those were involving inductors etc. which needed to have initial conditions mentioned i suppose. I have tried the initial conditions in my components like off_state in sca_eln::sca_tdf_rswitch or the frequency of the DC source. Attached is the snapshot of the error and source codes.Please help to rectify the error.Thanks,Shashank DUT_CP.txt DUT_CP_tb.txt main.txt Makefile.txt Makefile_defs.txt Quote Link to comment Share on other sites More sharing options...
sumit_tuwien Posted April 16, 2015 Report Share Posted April 16, 2015 Hello, Please replace all the caps defined as for example C1 = new sca_eln::sca_c("C1",1.0); with C1 = new sca_eln::sca_c("C1",1.0, sca_util::SCA_UNDEFINED); and then try again Regards, Sumit Quote Link to comment Share on other sites More sharing options...
karsten Posted April 16, 2015 Report Share Posted April 16, 2015 There are two current sources in series (I1 and I2 via M1 and M2) - this is not possible due potentially they can define different currents. maehne 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.