Abstract
The VM is not a new concept. Through the VM, we can write other OS in one OS. If we merge Quartus II into the VM, this will solve some problems that may occur during the use of US us II for a long time.
Introduction
Use environment: Windows XP SP3 + virtualbox 4.1.2 + Quartus II 11.0 + DE2-70
In the process of using Quartus II, have you ever encountered the following problems as I did:
1. only one Quartus II license is provided in the company or the real office, or only one license for a certain IP address of Altera is provided, therefore, the license has already killed the MAC address of a certain network card, but it is expected that it can be used on multiple computers at the same time.
2. the company or the real-time room has installed Multiple EDA tools, but each of them uses the license issued by different MAC addresses. it is inconvenient to use it on different computers every time, we hope that all EDA tools can be used on the same computer.
3. my project was developed using a Quartus II version because the project was obtained from other colleagues or classmates during the work handover, because the Quartus II version is different, you cannot open the us II version, or the us II version is the same. For unknown reasons, you cannot combine the us II version or the merging result is different from the original version.
4. There are multiple projects in the mobile terminal, each of which is developed in different versions of Quartus II. It is difficult to Install Multiple Quartus II versions on the same computer.
5. the middleware routine is used in the us II version of zookeeper, but in my computer it is the latest us II version of the server guard, therefore, if you cannot start the notebook, or the merging result is different from the preparation period, you must install the Quartus II version of the zookeeper specified by the routine.
6. I want to install Quartus II on multiple computers in the classroom. However, due to the poor environment of each computer, some computers may not be able to use us II, in addition, it takes a long time for each power station to install Quartus II, and it is also troublesome to set a license for one computer.
7. some inexplicable Java exception may occur during the process of niosii or FPGA builder ....
If you have the above difficulties, introduce a new us ii security concern here:Change Quartus II to VMTo solve the problems mentioned above:
1. the license has killed the MAC address of a certain online card, but the VM allows us to change the MAC address of the Online card, therefore, Quartus II can be used in multiple computers at the same time.
2. the VM supports multiple zookeeper network cards. Each network card can modify the MAC address on its own. Therefore, you can install the EDA tools with different MAC address license on the same computer.
3. when a project is handed over, it is not only to hand over all the cases under the entire project, but to package the entire project and the Quartus II environment together with the VM, this guarantees that the environment of the peer is exactly the same as that of mine.
4. Installing different Quartus II versions under different VMS on the same computer is not a problem.
5. if you want to install Quartus II on multiple computers at the same time, you only need to package the installed Quartus ii vm, then, you can just copy the certificate to another computer and try again. You don't need to set the license on another computer.
6. java exception is usually very confusing. It is likely that in the computer, other components are installed with Quartus II. In the VM, only quatus II is installed, we will no longer install other users, so there will be no problems with experiences.
The Quartus II connector can be used in the VM, but there are some first-choice items:
1. the VM will be slower than the standby one, so a higher hardware environment is required to run. Whether it is a CPU or a memory, it is recommended to use Windows 7 with 64-bit RMB, in this way, we can completely capture the multi-Security Memory and then use it for the VM. Unlike the 32-bit Windows XP, we can only capture 3G memory, which is very popular when using the VM.
2. The configuration ratio of the VM is more complex than that of the direct security Quartus II.
The first question can only be solved with money. This article mainly describes the settings and precautions for installing Quartus II in the VM. The vm I use is the virtualbox [1] of Oracle. This is a completely free Vm, with no copyright and many features.
This article will discuss the following topics:
1. How to install virtualbox?
2. How to install Windows XP SP3 in virtualbox?
3. How to install Quartus II in virtualbox?
4. How to set the license of virtualus II in virtualbox?
5. How to install USB blaster in virtualbox?
6. How to export the installed us II in virtualbox?
7. How do I add the installed us II in virtualbox?
1. How to install virtualbox?
Step 1:Lower region virtualbox
Please go to http://www.virtualbox.org/wiki/downloads virtualbox pack virtualbox extension pack
Step 2: encrypt the virtualbox Security token
Step 3: Custom setup
Although virtualbox supports USB, USB 1.0 is supported for USB 2.0, and USB-blster uses USB, this must be resolved by using the virtualbox extension pack.
Step 4: Install the hardware software program
In the next step, virtualbox will install several dynamic software drivers, so you can press "dynamic security protection" with confidence.
Step 5: complete security protection
Step 6: Install virtualbox extension pack
Step 7: authorize virtualbox
Step 8: virtualbox Security successful
2. How to install Windows XP SP3 in virtualbox?
Step 1: Add a robot
Step 2: welcome the new host
Step 3: Set the Host Name and operating system type
In this document, Guest OS uses Windows XP SP3 as an example. If you are using another operating system, select it.
Step 4: Set the memory
You must be very careful when setting your host OS. You must check how many memories you have on your host OS. Otherwise, the guest OS is easy to be on the machine, my host OS is Windows XP SP3 (32 bit) and has a 4G memory. Windows XP can be around 3 GB, therefore, setting the guest OS to 1 GB is a conservative setting. After the security check is successful, you can gradually adjust how many memories the guest OS should have, in addition, the higher the guest OS memory, the faster the Quartus II can perform synthesis and P & R.
Step 5: set your own hard drive
Step 6: Set the volume type
VDI is a custom vitualbox format. vmdk is an open format, which is also used by VMware. vhd is a Microsoft-defined format, and parallels is not clear, basically, you can select either of the following formats. Because only the vmdk format is supported during VM login, vmdk is also selected here.
Step 7: Set the configuration method of the ephemeral Disk Quota
The "fixed size" is faster to use, but it takes a long time to create the initial configuration. However, the initial configuration does not need to be created for the first time. Therefore, it does not take up any space until it is actually used, it will take a little longer to start using later. The "dynamic configuration" option is selected here to save some time.
Step 8: Set the location and size of your desired volume
Completed by Quartus II 11.0 Tib, including quatus II 11 + all device + niosii SBT + Modelsim Altera 14.2 GB, plus the dump file to be generated by simulation in the future, the required hard drive space is acceptable. Please estimate the required space by yourself. Set the capacity of the ephemeral disks to 50 GB.
Step 9: confirm to create a new robot
Step 10: confirm to create a new ephemeral Disk
Step 11: set other hosts
Step 12: system settings
Retain the original settings.
Step 13: Set a memory record
As a result, virtualbox guest additions (which will be changed later) can be modified without the need to change the resolution. It is recommended that the memory should be 128 MB, dynamic scaling changes in combination with various resolutions.
Step 14: Set the Windows xp cd iso connector
Because there is an empty host, but there is no guest OS, you need to install Windows XP on your own, so set the CD to the ISO release of the Windows XP Security CD.
Step 15: manually renew the host
Step 16: zookeeper control information
After the guest OS was triggered, the host OS and Guest OS were connected at the same time. What about whether the guest host OS or guest OS was accessed? Virtualbox users set guest to guest Guest OS. If you want to encrypt guest to guest host OS (such as ALT + prtsc), press right CTRL first, when the virtualbox operation is canceled, the host OS receives Alt + prtsc.
Step 17: mouse control information
When the guest OS is moved, as long as the mouse is placed in the guest OS, virtualbox will automatically send the mouse messages to the guest OS, which means "Integration of mouse indicators 』, if some applications frequently integrate mouse pointer on Guest OS, you can disable this feature on your own.
Step 18: Start Windows XP
At this point, the Windows XP installation process is omitted.
Step 19: Installing guest Additions
Guest additions provides some out-of-the-box functions, such as the ability to dynamically adjust the overall Guest OS resolution, so that the Host OS and the guest OS share the cut album... .
Step 20: Welcome to the security group guest Additions
Step 21: Set the security route for guest Additions
Accept the reset value.
Step 22: Set the guest additions component
Accept the reset value.
Step 23: Guest additions security has been completed
3. How to install Quartus II in virtualbox?
Step 1: Set the CD to the ISO specification of Quartus II 11.0
First, go to ftp://ftp.altera.com/outgoing/releaseunder 11.0_acds_windows.iso.
Step 2: us II Security plane
Step 3: Introduction
Step 4: License Agreement
Step 5: Set the Security Router
Step 6: select the Security Tool
Basically, Quartus II must be selected. The question of whether you want to use the niosii and the system-based system, however, the integration of Modelsim and nioii can save a lot of integration issues, and the suggestions are still on installing ModelSim.
Step 7: Summary
Step 8: Installing
Step 9: whether to trigger talkback
Can we allow Altera to send some resources to the Altera company through the web? I do not recommend that you check the options, because it is really difficult to determine what information the Altera will send back.
Step 10: successfully installed
4. How to set the license of virtualus II in virtualbox?
Step 1: Set the license
If you have not set the license, the above interface will appear when you renew Quartus II for the first time, requiring you to set the license.
Step 2: reset the host
Step 3: remove the ISO connector of Quartus II 11.0
Step 4: Set the network card
Here isThe first focus of this Article,Change the MAC address of the zookeeper network card to a MAC address with license, so that you can access us II in the computer.
In addition, you must tick the "Login network card", which means that the computer will install the login network card.
In addition, it is recommended that you select "Attach" to "select" not attach ", and do not select" network connected 』.
Maybe you will ask, "Isn't this a good web connection ?』
Yes,I just want to make the web connection useless.!!!
The main reasons are as follows:
1. Because in the hosts, the security network card is used not for the network, but for the license of Quartus II.
2. because no one dares to prove that EDA tools does not have an installation Trojan program, what information will be secretly sent back to the original production of EDA tools through the Web, if you use a valid license, and if you use a cracked version, the cracked version information will be sent back to the original license of EDA tools.
3. because any windows update can be rejected due to network failure, some windows updates may cause problems with EDA tools, therefore, it is very important to maintain an environment where EDA tools can be customized without constantly updating the OS.
In addition, the guest OS network cannot be accessed, but the host OS network is still accessible. Therefore, if you need a network-related operation, return to the Host OS, guest OS will be a simple Quartus II environment.
The second point in this article is that virtualbox allows you to set up a maximum of four dedicated network cards, that is, four different MAC addresses, therefore, we can have four EDA tools with different MAC address license installed on the same host at the same time.
Step 5: Set shared data sources
Set the targets that can be shared by the Host OS and the guest OS to facilitate mutual failover between the host OS and the guest OS. In addition, if your host OS has never been installed with Quartus II, in the future, we must also rely on this shared object to install the Computer Host OS's Altera USB blster notebook.
Step 6: Set the license
Re-launch the license machine and Quartus II, and find the license setting window again. Select "if you have a valid license file, specify the location of your license file 』
Step 7: Specify the license file
If the license is successful, the license function is displayed.
Step 8: us II
Us II is successfully merged.
Step 9
The operation is successful.
Step 10: extract row Modelsim-Altera
You need to set the license for Modelsim-Altera. You can use the mgls_license_file or lm_license_file system to change the license.
Step 11: Set the mgls_license_file system variable
Step 12: restart Modelsim-Altera
If you are using Modelsim-Altera on the desktop, you will encounter this problem when you are about Modelsim, and you cannot close it, it is necessary to use the work administrator to establish a relationship. The reason is that TCL does not recognize the Chinese "desktop" of ModelSim.
The solution is to activate Modelsim-Altera from the beginning, you can also manually copy the Modelsim-Altera in the "Start" to the desktop.
The specified row Modelsim-Altera is successful.
5. How to install USB blaster in virtualbox?
We all know that in order to allow Quartus II to pass through usb and the development version, we must install the Altera USB blaster driver. However, if the VM is used, the entire architecture is more complex, as shown in the following figure:
Altera USB blaster of Host OS
(If you have previously installed any version of Quartus II on Host OS, you have removed the Quartus II version, it also does not remove the Altera USB blster notebook of the Host OS, that is, you do not have to re-install the Altera USB blster of the Host OS, if you have never installed Altera USB blaster on the host OS, you must install it in the following steps)
Step 1: insert DE2-70 USB cable
After the USB cable of the DE2-70 is inserted into the USB, Windows XP will see the above window, indicating that the new hardware is switched to the new hardware, choose "no, not now 』, click "Next" to renew your subscription.
Step 2: log on from the checklist or to a specific location)
Select "Install from the checklist or a specific location" and click "Next.
Step 3: Set the Altera USB blaster animation program
This step is aboutBecause we do not have installed us II on the host OS, there is no Altera USB blaster program installed on the host OS, therefore, you must upload the c: \ Altera \ 11.0 \ Quartus \ drivers \ USB-blster of the guest OS to the Host OS.
How can we migrate data from guest OS to host OS? Previous4. How to set the license of virtualus II in virtualbox?OfStep 5: Set shared data sourcesThat is to say, we want to migrate the Altera USB blster of guest OS to the Host OS so that the Host OS can be installed with Altera USB blster.
After the switchover is completed, the search location points to the target region of the Host OS, and then click "Next.
Step 4: Installing Altera USB blaster
Press "zookeeper Security" to install Altera USB blaster.
Step 5: complete the protection of Altera USB blaster
Click "finish" to end the server guard.
After successful security, the administrator can find the Altera USB blaster.
Virtualbox USB of Host OS
In addition to host OS and Guest OS, you must install the virtualbox USB provided by virtualbox, as the bridge between the host OS and the guest OS, so that the Quartus II of the guest OS can access the USB and DE2-70 of the Host OS.
Step 1: Set Guest OS
Step 2: Select Altera USB blaster
Step 3: Search Host OS for new hardware
After the guest OS was triggered, the host OS was set to use the Altera USB Blaster for the guest OS. At this time, the host OS will indicate that it was switched to the new hardware, do not do it now. Press "Next" to renew your subscription.
Step 4: Install a ticket or a specific location)
Select "Install from the checklist or a specific location" and click "Next.
Step 5: Set the virtualbox USB animation program
The virtualbox USB driver is installed inC: \ Program Files \ oracle \ virtualbox \ drivers \ USB \ device \, Set and click "Next" to renew your subscription.
Step 6: Install virtualbox USB
Press "strongswan Security" to install virtualbox USB.
Step 7: complete the installation virtualbox USB
Click "finish" to end the server guard.
After the installation is successful, the reset administrator can find virtualbox USB.
Altera USB blster of security shield Guest OS
After the Host OS uses the Altera USB blster and virtualbox USB, The last step is to upload the Altera USB blster on the guest OS, the following steps are exactly the same as installing Altera USB blaster on the host OS.
Step 1: search for new hardware from guest OS
When host OS is installed with Altera USB blster and virtualbox USB, Guest OS will search for new hardware as long as it is restarted.
Step 2: log on from the checklist or to a specific location)
Select "Install from the checklist or a specific location" and click "Next.
Step 3: Set the Altera USB blaster animation program
Because it is already in the guest OS, you only need to specify the Security category as "C: \ Altera \ 11.0 \ Quartus \ drivers \ USB-blster, click "Next" to renew your subscription.
Step 4: complete the protection of Altera USB blaster
Click "finish" to end the server guard.
After the security protection is complete, the guest OS Deployment administrator can find the Altera USB blster.
Step 5: Program row
When the programmer was triggered for the first time, it was found that no USB blster was caught and the "Hardware setup" operation failed.
The USB blster has been found in hardware setup. After selecting the option, press "close" to open it.
Programmer has found USB blaster.
In fact, the result of adding *. Sof into FPGA was 100% successful.
6. How to export the installed us II in virtualbox?
Step 1: Apply reset for outgoing traffic
Select the VM you have already created, and click "cases"> "apply for outgoing Settings 』.
Step 2
To confirm whether the VM is to be released, press "Next" to renew the VM.
Step 3: Set the way out
Set the route entry and click "Next.
Step 4: Set the output of related materials
You can set the relevant information of the specified ova repository here. Press "Export" to officially start the release. It takes some time.
7. How do I add the installed us II in virtualbox?
Step 1: configure the ingress
Select "cases"-> "Apply logging 』.
Step 2
Click "select" to select *. ova labels to be imported.
Select the *. ova option to be imported, and click "Next" to renew.
Step 3: Set the VM memory path
The last step is to set where the VM to be migrated is stored, so that other settings can be set after the VM is successfully written, finally, press "accept in" to officially start logging in. You need to wait for a while.
Conclusion
1. You can use the VM's internal network card to change the MAC address. Therefore, the License for forming a MAC address can be used by multiple computers.
2. virtualbox supports up to four GPUs, that is, you can install tools with different MAC addresses as license on the same hosts.
3. the Modelsim of Quartus II 11.0-Altera has a bug in the desktop's, which may cause the failure of the Tcl line when it is concerned with Modelsim, you must use start to activate Modelsim-Altera.
4. to enable the VM us II in the VM to pass through the usb and the development version, you must install the Altera USB blster on both the host OS and Guest OS, and use virtualbox USB as the bridge in host OS.
5. compile the entire project Guest OS and Quartus II version *. ova compatibility, which can ensure that the environments of others are identical to those of the original author, but does not cause compatibility issues due to OS and Quartus II.
Reference
[1] Oracle virtualbox
See also
(Formerly known as US) how to install linux us II in Linux? (SOC) (Quartus II) (Linux) (RedHat) (virtualbox)
The full text is complete.