The detailed flow is explained in the three stages as follows:
Stage 1: Invoking Mantle, Import RTL Design and Imoport Design Constraints
Invoking Mantle |
Step - 1: Create a directory where you want put all your magma synthesis documents. In this example, aes is the working directory.
bash-2.05b$ mkdir aes |
This will create a directory called "aes" . Copy your all RTL Code in to the created directory. Then go to the directory to invoke the magma tool.
bash-2.05b$ cd aes |
Step - 2: Invoke the mantle using the path "/magma/2004_12_29.0014/linux24_x86_64/bin/mantle". Mantle is the command prompt of the Magma Blast Fusion Tool.
bash-2.05b$ /magma/2004_12_29.0014/linux24_x86_64/bin/mantle | |
MEM-4 WARNING: Unusually large stacksize of 17592186044416.0MB reserved by user's shell resource limits. This may inhibit utilization of all available system memory resources. Recommended is 8000k Copyright (C) 1997-2004 Magma Design Automation Inc. mantle version 4.1.57-linux24_x86_64 (compiled Dec 28 2004 23:43:34) LIC-1 Setting default license file to '/magma/2004_12_29.0014/common/license'. LIC-12 The following features have been checked out: BLAST_VIEW BLAST_WRAP BLAST_SPEED BLAST_BUILDER BLAST_PLAN BLAST_RTL BLAST_LOGIC BLAST_SI BLAST_RAIL OSD-100 Running /magma/2004_12_29.0014/linux24_x86_64/bin/mantle on host "vlsi2" with pid 30575 for user "temp" started on Thu Mar 01 01:18:55 PM IST 2007 in directory /home/temp/noors/aes mantle[1]> |
Note: If you have any problem in opening the mantle please contact to CS623 TAs. If you come across any error stating Error UI-39 in invoking the tool ask System Administrator to run "nscd" demon. If you come across any license related problems, then use "export LM_LICENSE_FILE=2700@10.6.5.27" at your command prompt. Still if you have any problem please contact System Administrator.
Directory Structure Generated by Magma |
Files generated by Magma: You can also review the contents of two automatically-generated directories. The logfiles directory contains logs of the sessions you run, and the snap directory contains volcanos and reports of design statistics that reflect the design at the end of each part of the flow.
Logfiles Directory: When you start the tool, a file called mantle.log is created. This file is usually the most useful file in the logfiles directory. It contains a full record of your latest session. With each new session you start, the file is renamed to mantle#.log (# is a number) and the mantle.log file is overwritten with the latest information. In the tool, to find where the file has been saved, use the query logfile command.
Snap Directory: The snap directory is created locally in the directory where you have started the tool. This directory stores snapshot volcanos and status reports that show design statistics during the flow. Use a text editor to review the snapshot reports or use a snapshot volcano to rerun the flow from a specific step. There are several config, query and report commands related to snap, which are identified in the man pages.
Step - 3: To invoke the Graphical User Interface (GUI) use the following command.
mantle[1]> ui start |
The above command will opens the GUI based work space of the Magma Blast Fusion.
Importing the Library Volcano
To use the provided design library, import the library and technology rules together in the form of a Volcano. A Volcano is a Magma database that stores design information.
Step - 4: Import the library using the following command where all the logic cells are stored. (Please verify the library path with course TA). In this example we are using the Magma 130nm library cell for synthesis. Import volcano command reads the data model from a disk.
mantle[0]:> import volcano /magma/cl013lv.volcano |
mantle[0]:>import volcano /magma/cl013lv.volcano MSG-10 While running 'import volcano /magma/cl013lv.volcano': LAVA-333 This volcano erupted Tue Jan 21 12:42:38 2003 EST for user jwalston (Joe Walston) (v14c1) LAVA-24 'import volcano' importing global config settings from volcano, existing settings maybe overwritten LAVA-27 Reading library /cl013lv LAVA-874 All cells were bound as a result of this 'import volcano'. LAVA-902 Melted back from volcano '/magma/cl013lv.volcano' ( 2 seconds elapsed of which 2 on CPU). LAVA-249 Volcano file size: 34.6 MByte (57.1 MB data, Compression = 1.65x) LAVA-251 Data throughput 21.631 MB/s (2.64 s elapsed) |
"Set l " set the variable for library name. The library name that we are using is cl013lv.
mantle[0]:>set l /cl013l | |
mantle[0]:>set l /cl013lv /cl013lv |
No comments:
Post a Comment