August 16, 2004
MATLAB & Simulink
Please note that contributed articles, blog entries, and comments posted on EDACafe.com are the views and opinion of the author and do not necessarily represent the views and opinions of the management and staff of Internet Business Systems and its subsidiary web-sites.
While doing research on articles for ESL I came across several references to MATLAB and Simulink from The MathWorks. These products were identified as tool for algorithmic development and simulations in the early stages of system design. I thought I would investigate further.
The MathWorks was founded in 1984 and employs more than 1,000 people worldwide, with headquarters in Natick, Mass. The MathWorks produces technical computing and model-based design software for engineers, scientists, mathematicians, and researchers across a board range of industries. In 2003 The MathWorks had revenue of around $240 million. The firm claims more than 1,000,000 customers in over 100 countries, on all seven continents. The MathWorks products are in use at 3,500 universities.
The two core packages are MATLAB, used for performing mathematical calculations, analyzing and visualizing data, and writing new software programs and Simulink, used for modeling and simulating complex dynamic systems. The company also develops and markets an extensive family of add-on products to meet the more specific needs of vertical-markets.
MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical computation. MATLAB is used in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions, available separately) extend the MATLAB environment to solve particular classes of problems in these application areas.
The MATLAB language provides all the features of a traditional programming language as well as supporting vector and matrix operations while eliminating the need for memory management and variable declaration. It also enables visualization of engineering data via 2D and 3D plots and volume visualization. Functions are provided for integrating C and C++ code, Fortran code, COM objects, and Java code with application codes. It can read data from popular file formats, such as Microsoft Excel; ASCII text or binary files; image, sound, and video files; and scientific files. It can also acquire data from hardware devices.
MATLAB tool boxes include Statistics and Data Analysis, Control System Design and Analysis, Signal Processing and Communications, Image Processing Test & Measurement, Financial Modeling & Analysis.
Simulink is a platform for multidomain simulation and model-based design of dynamic systems. It provides an interactive graphical environment and a customizable set of block libraries that let you accurately design, simulate, implement, and test control, signal processing, communications, and other time-varying systems. With Simulink one can build complete end-to-end simulations, integrating components such as analog/mixed signal, DSP, digital communications, and control logic. Through simulation, one can ensure the system performs to specifications, explore design trade-offs, and tune parameters to optimize performance. Add-on products extend the Simulink environment with tools for
specific modeling and design tasks and for code generation, algorithm implementation, test, and verification.
Simulink enables one to build a detailed block diagram of a system models by dragging and dropping blocks from the library browser onto the graphical editor and connecting them with lines that establish mathematical relationships between the blocks. One can define and control the attributes of signals and parameters associated with the model. Signals are time-varying quantities represented by the lines connecting blocks. Parameters are coefficients that help define the dynamics and behavior of the system. Solvers are provided to support the simulation of a broad range of systems, including continuous-time (analog), discrete-time (digital), hybrid (mixed-signal), and multirate systems of
any size. The model is simulated and refined until it performs as expected. The refined system model then becomes the executable specification that's shared among design teams for system testing, verification, and implementation.
Real-Time Workshop generates and executes stand-alone C code for developing and testing algorithms modeled in Simulink. The resulting code can be used for many real-time and non-real-time applications, including simulation acceleration, rapid prototyping, and hardware-in-the-loop testing. You can interactively tune and monitor the generated code using Simulink blocks and built-in analysis capabilities, or run and interact with the code outside the MATLAB and Simulink environment.
On June 2nd MathWorks announced the availability on Windows, UNIX/Linux, and Macintosh systems of the latest versions of its core products, namely MATLAB 7 and Simulink 6. MATLAB pricing starts at $1,900, while Simulink Pricing starts at $2,800.
In October 2003 MathWorks and Mentor Graphics announced the release of Link for ModelSim, a cosimulation interface that integrates MATLAB and Simulink into the hardware design flow for FPGA and ASIC development. It provides a fast bidirectional link between MATLAB and Simulink and Mentor Graphics' HDL simulator, ModelSim. It enables direct cosimulation and lets you efficiently verify and cosimulate ModelSim RTL-level models from within MATLAB and Simulink. Link for ModelSim supports the developing software test benches in MATLAB or Simulink for HDL entities, including HDL models in larger-scale system models developed and simulated in Simulink , generating test vectors to test,
debug, and verify HDL code against its original MATLAB or Simulink specification and providing behavioral modeling capabilities for HDL simulation in MATLAB and Simulink and verifying, analyzing, and visualizing HDL implementations in MATLAB and Simulink.
The MathWorks Connections Program directory is a broad collection of commercially-available products and services based on the MATLAB technical computing environment. Relevant listings in the directory are offerings from Altera, Xilinx, Accel, Synplicity and startup Catalytic.
The Xilinx System Generator for DSP is a plug-in to Simulink that enables designers to develop high-performance DSP systems for Xilinx FPGAs. Designers can design and simulate a system using MATLAB, Simulink, and Xilinx library of bit/cycle-true models. The tool will then automatically generate synthesizable Hardware Description Language (HDL) code mapped to Xilinx pre-optimized algorithms. This HDL design can then be synthesized for implementation in Virtex-II Pro Platform FPGAs and Spartan-IIE FPGAs. As a result, designers can define an abstract representation of a system-level design and easily transform this single source code into a gate-level representation. Additionally, it
provides automatic generation of a HDL testbench, which enables design verification upon implementation.
The Xilinx System Generator for DSP bridges the gap between the high-level abstract version of a design and its actual implementation in a Xilinx FPGA. New capabilities include HDL Co-Simulation, Hardware in the loop (HIL), and the ability to estimate FPGA resources from within Simulink.
the resources available within the targeted FPGA device.
Altera APEX II, APEX E, FLEX 10K, FLEX 6000, and Mercury device families.
You can find the full EDACafe event calendar here.
To read more news, click here.
-- Jack Horgan, EDACafe.com Contributing Editor.
Be the first to review this article