Skip to content
Jaijeet Roychowdhury edited this page Feb 15, 2022 · 27 revisions

The Berkeley Model and Algorithm Prototyping Platform (MAPP)

Berkeley MAPP is a MATLAB-based platform for prototyping numerical models and simulation algorithms. MAPP also runs in Octave.

MAPP eases the process of developing new device models and simulation algorithms, especially for those who do not have an extensive background in compact modelling or experience coding algorithms in simulators. Towards this end, MAPP features a MATLAB/Octave-based executable format, ModSpec, that makes it easy to describe new devices and to prototype them in simulation quickly and conveniently. A translator, VAPP, translates device models from Verilog-A to ModSpec for use with MAPP.

Interconnections between devices can be specified using a MATLAB/Octave-based netlist description language similar to that of SPICE. MAPP features online help to help new users get started and to provide more advanced users information about internal structuring and available functions.

An overview of MAPP is available in this paper; examples of its use for developing novel simulation tools are available here and here.

MAPP is meant for quick and convenient prototyping in a MATLAB/Octave environment. As such, it is not optimized for design use in the same way that many commercial or open source simulators, such as SPECTRE, FastSPICE, HSPICE, ADS, Xyce, ngspice, QUCS and Berkeley SPICE, are. MAPP is useful when the primary goal is to develop, debug or refine a new device model or simulation algorithm, or to learn modelling/simulation concepts in a concrete, hands-on manner.

MAPP has been developed at Berkeley in Jaijeet Roychowdhury's group as an open source project released under the GPL on github. (Alternative licensing models are also available, please email jr@berkeley.edu for details.) MAPP development has been funded primarily by the NSF NEEDS project and has been informed by long-standing interactions with Sandia's Xyce group.

How to get MAPP:

  • git clone https://github.com/jaijeet/MAPP.git (recommended); it should automatically check out and put you in the current release branch. Then follow the instructions in 0-README. Note: this is best done in a Unix environment; it uses autoconf, make and other standard Unix tools to set up MAPP. On Windows, use WSL (you'll need to install autotools and make before installing MAPP).
Clone this wiki locally