S
Sabyasachi
Guest
Hi ,
I am working on a Circuit Optimization problem . My optimization engine runs in Matlab. It requires several iteration to converge. In each iteration it gives some output value ( say some circuit parameters x=[x1 x2 ....... xn]). With that I simulate my circuit in spectre and get the output response . The matlab function analyze the output and accordingly starts the next iteration . I am using system('ocean -restore circuit.ocn') command from matlab to run the circuit simulation. The problem is it takes long time to initiate the ocean . If my optimization takes 200 ieration 200 times I need to wait for initial setup in ocean. But If I do a parametric simulation with 200 input points it takes very less time because here only once initial set up is done. But for my case before hand I do not know the input data points so cannot do a parametric simulation. I was wondering is it possible to run the ocean in some other command prompt and it will do the initial setup only once and will wait for matlab to get started and in the same way matlab will also wait for ocean to stop and then then it can continue. Data transferring from matlab to ocean and ocean to matlab I am doing by writing in files.
Cheers !!!!!!!!!!!!!!!!
Thanks and Regards
Sabyasachi
I am working on a Circuit Optimization problem . My optimization engine runs in Matlab. It requires several iteration to converge. In each iteration it gives some output value ( say some circuit parameters x=[x1 x2 ....... xn]). With that I simulate my circuit in spectre and get the output response . The matlab function analyze the output and accordingly starts the next iteration . I am using system('ocean -restore circuit.ocn') command from matlab to run the circuit simulation. The problem is it takes long time to initiate the ocean . If my optimization takes 200 ieration 200 times I need to wait for initial setup in ocean. But If I do a parametric simulation with 200 input points it takes very less time because here only once initial set up is done. But for my case before hand I do not know the input data points so cannot do a parametric simulation. I was wondering is it possible to run the ocean in some other command prompt and it will do the initial setup only once and will wait for matlab to get started and in the same way matlab will also wait for ocean to stop and then then it can continue. Data transferring from matlab to ocean and ocean to matlab I am doing by writing in files.
Cheers !!!!!!!!!!!!!!!!
Thanks and Regards
Sabyasachi