Cadence IC616 and MMSIM141 in the CentOS5.11 installation of graphic record

Source: Internet
Author: User
Tags virtualbox shared folder oracle vm virtualbox vm virtualbox


Cadence IC616 and MMSIM141 in the CentOS5.11 installation of graphic record
  1. Get ready
      1. Virtual machine Hard Disk expansion


    The system I am using is a CentOS5.11 installed for the VirtualBox virtual machine. Because the disk space allocated when installing the system only contains a partition capacity of 20G, in order to install Cadence Virtuoso and other supporting EDA software, the first thing to do is to expand the system hard disk.



    There are two scenarios for scaling:


      1. Directly increase the virtual machine hard disk capacity;
      2. Create a new virtual machine hard disk and mount it under a Linux system.





    Try Method 1 First, here reference hk2305621 in Chinaunix's article [1].



    VirtualBox has command-line tools that can scale directly to disk. In a Windows system, you need to open cmd and locate VBoxManage.exe under the VirtualBox installation path using the following command:






    D:\Program Files\oracle\virtualbox>vboxmanage.exe List HDDs



    uuid:59f26247-d99b-49e7-a8eb-6bc1a940a70b



    Parent Uuid:base



    State:locked Write



    Type:normal (Base)



    Location:d:\program FILES\ORACLE\VIRTUAL2_20G.VDI



    Storage FORMAT:VDI



    capacity:20480 Mbytes






    You can view the UUID of the virtual machine hard disk.



    Then execute the command:



    D:\programfiles\oracle\virtualbox>vboxmanage.exe MODIFYHD 59f26247-d99b-49e7-a8eb-6bc1a940a70b--resize 40960



    Progress state:vbox_e_not_supported



    VBoxManage.exe:error:Resize hard disk operation for this format was not impleme



    Nted yet!






    The cause of the failure I found it in VirtualBox's user manual [2] , and the VirtualBox virtual machine has two settings for its hard disk properties: a fixed capacity and a better read and write performance, The other is the dynamic allocation of capacity (but limited to maximum capacity) but poor read and write performance. The above VBoxMange.exe command only supports dynamic allocation of the size of the virtual machine hard disk.






    And I used to install the CentOS system, the virtual machine hard drive property is the first fixed capacity. Therefore, Method 1 is not OK.






    Try Method 2 again.



    Although I came up with a 2nd approach after the 1th method failed, in fact, this is a better solution than the 1th method, for two reasons: one is to keep the hard disk partition of the original operating system intact, reducing the risk of destroying the system; The second is to put all the installation software on a new mount point , so clean and tidy is also in line with the habit of Linux.






    Here's how:



    Select the virtual machine, click "Settings", "Save", in the following screen, tap "Add virtual hard disk".






    Incidentally, there are two types of controllers visible: IDE and SATA. Where SATA is the more advanced way. Because my previous virtual hard disk is the use of SATA mode, where the newly added virtual hard disk will continue to use SATA mode.



    The dialog box appears:






    Select Create a new virtual disk.






    Use the default first option, VDI format (which is also the standard virtual hard disk format for VirtualBox virtual machines), and proceed to the next step.






    Because I intend to add 150G of space for the installation of software, if the use of "fixed size", then a large amount of hard disk space to occupy, and if using "dynamic allocation", the virtual hard disk space consumption is increasing with the increase in writing data. Here I choose "Dynamic Allocation".






    Next, select the file location and size of the virtual hard disk:






    Once selected, click "Create" and the new virtual hard disk is created.






    However, the work to expand the CentOS system is only half done. The above steps are just equivalent to physically installing a new hard drive on a machine, and in order for the Linux operating system to recognize and use the newly installed hard drive, it needs to be mounted under a system path. This is the remaining half of the work described below.






    First, you need to get the root environment and permissions. There are two ways to log in directly from the root account, and the other is to use the SU command in your personal account environment. Note at this point that the use of the SU command must:



    Su–root



    This allows for root permissions and environment variables to be obtained at the same time. If you simply enter the SU and root passwords, you will only get root permissions, but the environment variables will remain the same (keep the environment variables for your personal account).



    Input



    Ll/dev/sd?



    You can find two files/dev/sda and/dev/sdb, this/dev/sdb is our newly added virtual hard disk. By the way, if you enter DF at this time, you will not see/dev/sdb this disk, because at this point we have not properly mounted and configured this hard disk.






    The next thing is to create a hard disk partition, which is referenced in the Loongene Sina blog article [3], enter the following command:



    [Email protected] dev]# fdisk./sdb






    The number of cylinders for this disk was set to 19581.



    There is nothing wrong with the, but this is larger than 1024,



    And could in certain setups cause problems with:



    1) software that runs at boot time (e.g., old versions of LILO)



    2) booting and partitioning software from the other OSs



    (e.g., DOS fdisk, OS/2 fdisk)






    Command (M for help):






    This is actually an operating environment that goes into the Fdisk command, and you can enter commands after the prompt. The next steps are:


      1. Command: P, view the current new disk status and find it in unallocated space
      2. Command: N, create a new partition
      3. There are two options: E (Extended Partition) and P (primary partition), select p to assign area code (1 to 4 selected)
      4. Then select the start position of the cylinder (default is assignable first cylinder, direct carriage return)
      5. Select partition size: +100m or direct default carriage return
      6. Now use the P command to see one more./SDB1 partition, which is the newly created partition
      7. Perform the above partitioning operation and exit: W. If you do not want to save the changes, enter Q directly to exit.


    In addition, if you want to delete a partition, enter D, and then follow the appropriate instructions.






    Set up the file system on the hard disk partition below. Currently Linux has a file system type of ext3.



    Create the new partition as the Ext3 file system:



    Mkfs–t EXT3/DEV/SDB1



    To mention, the command to view the disk file system types for each mount path under Linux is df–t.






    Next, create a mount point



    Mkdir/opt2



    Mount a virtual hard disk



    Mount/dev/sdb1/opt2



    In order for the file system to mount automatically when booting, you need to modify the file system's entry file/etc/fstab, add the following line to the end of this file:



    /dev/sdb1/opt2 ext3 defaults 0 0



    In this case, the new file system has been successfully mounted and can be used normally.



    At this point, you can view the newly mounted hard drive with the DF command.



    I have allocated 150G of space to this hard drive, and all Cadence software will be installed here (corresponding to the/OPT2 mount point).





      1. Installation file Download


    [4]cadence installation References Min4max's post on the Eetop forum. First, you need to register an account on the Cadence's website, and you should be better at registering with your school or company email. Next, you can use the registered successful account, Login here can go to the software download page.






    There are two ways to download cadence software: First, download and install the required Cadence Kit in Installscape after Installscape installation, and the other way is to download the software CD images on the Cadence download page. Here I use the second way, because the direct use of Installscape download speed is too slow. However, it is recommended to install Installscape regardless of the method used. Because the CD images installation package is downloaded using the second method, it can also be managed by Installscape installation.






    The following installation procedures are performed under root authority.



    Install Installscape in Path/opt/cadence/installscape. First copy the Installscape installation package iscape04.23-s004lnx86.t to this path, then the CD to this path, execute the instructions:



    Zcat Iscape04.23-s004lnx86.t.z | tar-xvf–



    This creates a installscape installed in the current directory.



    The startup file for Installscape is:



    /opt/cadence/installscape/iscape/bin/iscape.sh



    To execute this file, you can get the main interface of Installscape:






    Before installing, set the default installation path in preferences, which eliminates the hassle of setting the path during installation.






    Download the software CD images on the Cadence Downloads page. Virtuoso corresponding download for IC616:






    The relationship between Base release and hotfix complies with the following instructions:



    If the Cadence software has an update version, simply download the update version without downloading the base version of the installation, as the update version is a full replacement of the enhanced version of the base version. Hotfix version only download the latest version without wasting time to download each previous version of hotfix, because the latest version contains the previous patch. The order of installation is to first install base or update (if available), and then install hotfix on base (or update) (a single installation hotfix is not working). Hotfix install will first remove the base version or update version of each need to replace the sub-program before installing the corresponding new subroutine.






    In the next procedure I downloaded and installed base release and hotfix, but only with base release as an example, the hotfix installation process is the same.



    The Base release download installs a total of 8 compressed packages as shown:






    The tar format differs from the volume compression of RAR, and it is not assumed that the first package is unpacked and that all the decompression is complete and that each tar package must be unpacked separately! But the extracted content is placed in a folder:






    This folder is approximately 5G in size.






    The Mmsim download version is MMSIM141, as shown in:









    In addition, since all my downloads are done under Windows, in order for the Linux virtual function to access the unpacked installation package, you must also take advantage of the VirtualBox shared folder feature.



    In the Virtual Machine Settings window, select Shared folder, click on the icon on the right to "add a new shared folder definition", select the shared folder path in the pop-up window and set the shared folder name. As soon as "Auto Mount" is checked, the next time the virtual machine Linux system starts, the mount point/media/sf_download will be able to access the contents of the shared folder E:\download of Windows.









    Now that the preparation is complete, you can start installing Cadence's software suite below.


  2. Installation
      1. Installscape installation Process


    Since I have downloaded the Software installation package CD images, select "Local directory Media Install" in Installscape and select the correct installation package path, such as:









    [6]the installation process references Darrenxu's post on Eetop.



    Basically, follow the prompts and proceed to the next step. The only step that needs to be noticed in the middle is to prompt you to install AMS Designer, choose 2) Quit.



    In the end, you will be prompted to install OpenAccess to confirm the installation path, using the default path. This installation path needs to be remembered because many other software in cadence needs to specify the OpenAccess path.


      1. Installation of Virtuoso
        1. Patch


    [5]the use of patches was referenced by Min4max in Eetop's post. Patch Download link Contact here.



    4 files are visible after the patch pack is uncompressed:






    The use is to execute the command under Linux./cadence_patch.sh <install_dir>,<install_dir> is the installation path for IC616. As I execute the command is:



    ./cadence_patch.sh/opt2/cadence/ic616



    You can see in the execution of the command window that the program is patching many files to the IC616 installation path, which takes about 20 minutes to complete.


      1. License


    In the Eetop forum, the EDA resources used in the discussion section search posts found two license, respectively, in the article [7] and [8] posted. Two license have been verified to install virtuoso successfully.



    The license installation method is simple, put it in the cadence of the Software installation path (in fact, can be placed anywhere), and then set the correct value for the license environment variable to point to this path.



    But my case is that [7] in the license is always unable to work, even if I refer to a lot of people's installation instructions to license content has been modified. and [8] the license does not need to make any changes, virtuoso start a success.





      1. Installation of Mmsim
      2. Patch


    Mmsim's patch was downloaded from a post from kid1412_net on Eetop [9] . The patch released by the original sticker is for MMSIM131, but the patch is also applicable to MMSIM141. The patch on MMSIM141 also referred to the other two posts on Eetop [10][11], especially Min4max's speech gave me a lot of inspiration and confidence.



    The use of the method is explained in the patch, basically, only need to run the SFK file with root privileges.





      1. License


    Mmsim is already included in the license used in the previous section IC616, so there is no need to set license specifically for Mmsim.


  3. Configuration


    Configuration refers to settings for environment variables. About setting environment variables my main reference is Min4max's article [5], and the full set and description can be downloaded from the article. Post all of my environment variables in this setting as follows:



    Export Cadhome=/opt2/cadence



    Export Lm_license_file=/opt2/cadence/license.dat



    Export Lang=c



    Export cds= $CADHOME/ic616



    Export cdsdir= $CDS



    Export Cdshome= $CDS



    Export cadence_dir= $CDS



    Export cds_inst_dir= $CDS



    Export SPECTRE_DEFAULTS=-E



    Export Cds_netlisting_mode=analog



    Export cds_spectrerf_fbenable=1



    Export Cds_auto_64bit=all



    Export path= $CDSDIR/bin: $CDSDIR/tools/dfii/bin: $CDSDIR/tools/bin: $CDSDIR/tools/plot/bin:${path}



    Export Assurahome= $CADHOME/assura41



    Export Path=${path}: $ASSURAHOME/bin: $ASSURAHOME/tools/bin: $ASSURAHOME/tools/assura/bin



    Export Qrc_home= $CADHOME/ext132



    Export path= $QRC _home/bin: $QRC _home/tools/bin:${path}



    Export Mmsimhome= $CADHOME/mmsim13



    Export path= $MMSIMHOME/bin: $MMSIMHOME/tools/bin:${path}



    Export path= $CADHOME/edi132/bin: $CADHOME/edi132/tools/bin:${path}



    Export path= $CADHOME/confrml131/bin: $CADHOME/confrml131/tools/bin:${path}



    Export path= $CADHOME/incisiv132/bin: $CADHOME/incisiv132/tools/bin:${path}



    Export Oa_home= $CDSDIR/oa_v22.43.040



    Export oa_unsupported_plat= "linux_rhel50_gcc44x"



    Export Cds_load_env=cwdelsehome



    Export Cdk_dir=/opt2/pdks/ncsu-cdk-1.6.0.beta



    Export Mozilla_home=/usr/bin/firefox



    Export calibre_home=/opt2/mentor/calibre2013/ixl_cal_2013.3_39.24



    export [email protected]



    Export path= $CALIBRE _home/bin:${path}



    Export calibre_os_msg_level=2






    If you want this configuration to work for all users in this Linux system, you can add the above environment variables to the/etc/profile file. My approach is to put these variable settings in the. bashrc file in your personal home directory so that these settings are only valid for my individual users.






    It is also important to note that if the machine's hostname is the default Localhost.localdomain,virtuoso boot will be error (Error message is unable to generate Cds.log lock file). The workaround is to modify hostname by adding a line at the end of the file/etc/hosts:



    <IP addr> hostname Alias



    Three columns of the local IP address, hostname and alias, for example, my/etc/hosts added specific content:



    10.0.2.15 Galaxy.localdomain Galaxy



    About the host hostname modification I refer to the Xiaoxiang hidden in the blog Park article [a].


  4. Start.  Enter virtuoso & return in terminal to see the familiar virtuoso interface:





Reference documents



VirtualBox Virtual VDI Disk expansion
Oracle VM VirtualBox User Manual
VirtualBox extending the virtual machine hard disk
Download and install cadence All software from the official Cadence website
Cadence IC616 kits and the formal setting and use of Calibre2013, with Jake Baker's textbook
Cadence IC 6151 in Ubuntu 12.10 installation graphic record
IC6151 cracked version 32/64bit
IC615 testing for fully available patches and license
Mmsim 13.1 Inst4ller + P4TC
Mmsim Linux
mmsim_14.10.138 License Problems!!!
Deep understanding of Linux modification hostname



Cadence IC616 and MMSIM141 in the CentOS5.11 installation of graphic record


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.