• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Launching Spectre from Matlab Error

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 7045
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Launching Spectre from Matlab Error

delgsy
delgsy over 2 years ago

Exactly the same problem can be found in this post.

When I execute system(c.simcmd), I got this.

Is there anything that I can try?

I use:
Virtuoso IC6.1.8-64b.500.14
Spectre  19.1.0 64bit
Matlab R2018b (9.5.0.944444)

In the first file, the path is defined. Here is the snippet.
function c = techsweep_config_bsim4_28_spectre

% Models and file paths
c.modelfile = '"/data/cern_ibm/TJ65/TPSCo_PDK_v4.6.0/tps65isc/model/spectre/6M2Y_default/.master_files/MOS_12Lvt.scs" section=total_typ';
c.modelinfo = '65nm CMOS, BSIM4';
c.corner = 'NOM';
c.temp = 300;
c.modeln = 'tnnm133_hs_lvt';
c.modelp = 'tpnm133_hs_lvt';
c.savefilen = 'tnnm133_hs_lvt';
c.savefilep = 'tpnm133_hs_lvt';
%c.simcmd = 'set path=($path /cad/cadence/IC615.06.15.502.lnx/tools/bin); /cad/cadence/MMSIM13.ISR12.11.292.lnx86/tools/bin/spectre techsweep.scs >! techsweep.out';
c.simcmd = 'set PATH=($PATH /data/europractice/cds/cds_2020/IC618/tools/bin); /data/europractice/cds/cds_2020/SPECTRE191 techsweep.scs >! techsweep.out';
c.outfile = 'techsweep.raw';
c.sweep = 'sweepvds_sweepvgs-sweep';
c.sweep_noise = 'sweepvds_noise_sweepvgs_noise-sweep';

The second file is the top file. Here is the snippet. 
clearvars;
close all;

% Load configuration
c = techsweep_config_psp_65_spectre;


% Write simulation parameters
% fid=fopen('techsweep_params.scs', 'w');original
fid=fopen('techsweep.scs', 'w');
fprintf(fid,'parameters length = %d\n', c.LENGTH(1));
fprintf(fid,'parameters sb = %d\n', c.VSB(1));
fclose(fid);

%Run simulator
system(c.simcmd);
[status,result] = system(c.simcmd);
if(status)
    disp('Simulation did not run properly. Check techsweep.out.')
    return;
end   

  • Cancel
  • Marc Heise
    Marc Heise over 2 years ago

    Hi,

    looks like you not calling the  binary for Spectre.   Something like <installaion_path>/tools/bin/spectre.

    Regards,

    Marc

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information