Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4930

MATLAB crashing with SpectreRF Toolbox

$
0
0

Hi, 

I'm trying to grab the data from my Spectre simulations into MATLAB using the SpectreRF Toolbox. After going through a lot of forum posts and the MatlabAN.pdf document in the toolbox folder, I think I've been able to set up all the environment variable properly. However, I'm still unable to actually execute the cds_srr() function successfully in MATLAB. I'll provide some background about the versions that I'm working with:

1. OS: CentOS 6.7 (64bit)

2. MATLAB: R2016b (64bit)

3. Spectre : 15.1.0 (32bit) (I got this info by typing in spectre -help at the terminal)

4. The MatlabAN.pdf document found in the Spectre installation folder says Product Version 6.1 June 2006. Not sure if this is an issue or not.

5. The matlab folder in the Spectre installation folder has a file cds_innersrr.mexglx and the rest are all.m files. It is my understanding that this is the 32bit version.

6. The same matlab folder listed in (5) also has a folder named 64bit. This has a file named cds_innersrr.mexa64 and the remainder are all .m files. I'm assuming this is the 64bit version (as the name suggests).

  • When I set the environment variables to point to the 32bit version of the SpectreRF toolbox (listed in (5) above), and I try to execute cds_srr(), I get the following error:

Undefined function or variable 'cds_innersrr'.

Error in cds_srr (line 16)
sig = cds_innersrr(dirname);

  • So I changed the environment variables to point to the 64bit version of the toolbox (listed in (6) above) and executed cds_srr(). This results in MATLAB crashing and the crash report says this at the end:

This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.

I'm trying to understand if it is at all possible to solve this issue without going through customer support. Is it a version issue? Any help/tips would be really helpful!

Thanks!


Viewing all articles
Browse latest Browse all 4930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>