Simulink Synphony Getting Started 2012 07 v4
Simulink Synphony Getting Started 2012 07 v4
Simulink Synphony Getting Started 2012 07 v4
© Synopsys 2012 1
Installation Prerequisites and Overview
For Synopsys Synphony Model Compiler (SMC)
© Synopsys 2012 3
2. Simulink Prerequisites
• Install MATLAB/Simulink
2011B 64-bit version
– Required modules :
− MATLAB
− Simulink
− Fixed-Point Toolbox
− Signal Processing Toolbox
− Simulink Fixed-Point
− DSP System Toolbox
© Synopsys 2012 4
3. Install Visual C++ w/64-bit Libraries
• Download and install VC++ 2010 Express (required for 32-bit & 64-bit OS)
– http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
• Download and install MSFT Windows 7 SDK (required only for 64-bit OS)
– http://www.microsoft.com/en-us/download/details.aspx?id=8279
© Synopsys 2012 5
4. Obtain and Install SMC License
© Synopsys 2012 6
5. SMC Installation (page 1)
1. Run the smc executable (from step 1) and
follow the instructions and finish the installation.
© Synopsys 2012 7
5b. SMC Installation (page 2)
…
Setting up mex compilation flow for the system.
5. MATLAB will ask about setting up Please follow the instructions and choose one of the C
compilers supported by Synphony Model Compiler.
a MEX compiler. Answer yes. Compilers supported by Synphony Model Compiler are listed
below; see the release notes for version numbers supported
and for additional information
- Linux: GCC
6. You should see Visual C++ in the - Windows: Microsoft Visual Studio
list of available compilers (see …
step #3). Select this option.
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
7. Confirm the selection. [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2011b\sys\lcc
[2] Microsoft Visual C++ 2010 Express in C:\Program
Files\Microsoft Visual Studio 10.0
[0] None
Compiler: 2
…
...Done!
>>
© Synopsys 2012 8
6a. Verify Installation
The shlsver command will check
and report the Synphony MC version >> shlsver
----------------------------------------------------------
and license status. MATLAB Version 7.11.1.866 (R2010b) Service Pack 1
MATLAB License Number: xxxxxx
Operating System: …
----------------------------------------------------------
Matlab Version and License Info Synphony Model Compiler
Version F-2012.03 PRODUCTION
Simulation License
----------------------------------------------------------
Your license file is valid until 02-jan-2013
Synphony MC Licenses will report License : synphonysl
valid. (or report no license available) ----------------------------------------------------------
Synthesis License
----------------------------------------------------------
If the report lists valid licenses similar Your license file is valid until 02-jan-2013
to the figure, then SMC installation and Vendor : ACTEL
License : synplifydsp_actel
license are working correctly. Your license file is valid until 02-jan-2013
License : synphony
Your license file is valid until 02-jan-2013
Synphony MC version and release License : synphony_cout
Your license file is valid until 02-jan-2013
date License : synphony_coutsl
----------------------------------------------------------
synphony_hls.exe Feb 24 2012 09:12:39
ans =
Name: 'Synphony Model Compiler'
Version: 'F-2012.03'
Release: 'PRODUCTION'
Date: '23-Feb-2012'
>>
© Synopsys 2012 9
6b. SMC Simulink Documentation
• MATLAB command completion
– All SMC commands and variables start
with syn… or shls…
– shls<tab>
• Help command
• Lookfor(„Synphony‟)
• MATLAB Help Tab
– User's Guide, Reference, Datasheets
• Examples
– Other Demos/ Synphony Model
Compiler / Examples
© Synopsys 2012 10
Summary: Synphony Model Compiler
Fast Path from Algorithm to Optimized Hardware
© Synopsys 2012 11