In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install Intel Quartus on ubuntu18.04.4. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
First, go to Intel's Quartus website https://www.intel.cn/content/www/cn/zh/software/programmable/quartus-prime/overview.html to find the download interface.
Then select the version and operating system
Click download
Note that there are official questions and installation tutorials here. It is recommended to see the English version of the installation tutorial https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/quartus_install.pdf for a more comprehensive and detailed introduction.
A little bit of confusion is that the question answer says that the installation directory can have spaces, but the English version of the installation tutorial says no, which is very strange.
After downloading and unzipping, install it according to the tutorial, and then start it (shortcut icon and command line are fine. According to the English version of the tutorial, you can start it with / quartus/bin/quartus. I added alias (2020.8.9: because it involves the command line and script, I finally chose the user variable $PATH) to start directly). Error report: quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory probably means that the libpng12.so.0 is missing, then copy the erro to Google and open the first answer, the second answer and the following sub-answer
The first answer to https://community.intel.com/t5/Programmable-Devices/Quartus-can-t-find-shared-library/td-p/161251 was that he had libpng12.so.0 but did not recognize it. Maybe the path was wrong. I locate my libpng12.so.0 found it in snap.
Zli@lizhen:~/altera_lite/15.1/quartus$ locate libpng12.so.0/opt/kingsoft/wps-office/office6/libpng12.so.0 / opt/kingsoft/wps-office/office6/libpng12.so.0.50.0/snap/core/7270/lib/x86_64-linux-gnu/libpng12.so.0/snap/core/7270/lib/x86_64-linux-gnu/libpng12.so.0.54.0/snap/core/7270/usr/lib/x86_64- Linux-gnu/libpng12.so.0/snap/core/9665/lib/x86_64-linux-gnu/libpng12.so.0/snap/core/9665/lib/x86_64-linux-gnu/libpng12.so.0.54.0/snap/core/9665/usr/lib/x86_64-linux-gnu/libpng12.so.0/snap/sublime-text/85/lib/x86_64-linux-gnu/libpng12.so.0/snap/sublime-text/85/lib/x86_64- Linux-gnu/libpng12.so.0.54.0/snap/sublime-text/85/usr/lib/x86_64-linux-gnu/libpng12.so.0
The second answer is the same as the first one. The first answer is the following sub-answer, one is to download libpng16-16 and then manually create a folder after the ln past https://askubuntu.com/questions/1093817/when-trying-to-install-crossover-deb-i-get-error-dependency-is-not-satisfiable, the rest of the sub-answer feels very complicated and did not read it carefully. But in fact, the third main answer is the answer https://stackoverflow.com/questions/53403790/cannot-open-shared-object-file-libpng12-so-0, but at that time I felt complicated and could not understand it.
Then I added ubuntu18 at the front to search again, and I thought it was very complicated, but in fact the first answer was the third main answer just now.
I wanted to ln the libpng12.so.0 link in snap with reference to that sub-answer, but I could search again with the ubuntu quartus install keyword, and then I found this article https://www.bitsnbites.eu/installing-intelaltera-quartus-in-ubuntu-17-10/
He said that linpng12 is needed to install Qurtus, but ubuntu17 does not, so it needs to be installed first.
I didn't think ubuntu18 had it either, so I went back to the search interface just now and found the first one to answer https://stackoverflow.com/questions/53403790/cannot-open-shared-object-file-libpng12-so-0 Magi Sudo su, and then run the command provided by the answer.
Wget-Q-O / tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb\ & & dpkg-I / tmp/libpng12.deb\ & & rm / tmp/libpng12.deb
Just open quartus again.
# revelation: 1. Don't look at the answer, it's irrelevant; 2. Change the idea of searching keywords.
I will report two errors when I open it from the command line.
Zli@lizhen:~$./altera_lite/15.1/quartus$/bin/quartusGtk-Message: 16 quartus:16485 29 canberra-gtk-module 40.101: Failed to load module "canberra-gtk-module" (quartus:16485): Gtk-WARNING * *: 16 quartus:16485 29 race 40.608: Error loading theme icon 'window-close' for stock: Unable to load image-loading module: / usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: / Home/zli/altera_lite/15.1/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by / usr/lib/x86_64-linux-gnu/libicuuc.so.60)
The first error goes directly to Google and executes according to https://askubuntu.com/questions/208431/failed-to-load-module-canberra-gtk-module
Sudo apt-get install libcanberra-gtk-module
Got it.
The second error goes directly to Google and follow http://www.stevesmuddlings.org/2015/09/test-post-1.html.
Cd / 15.1/quartus/linux64sudo mv libstdc++.so.6 libstdc++.so.6.quartus_distribsudo ln-s / usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
Got it.
After installation, follow this tutorial to familiarize yourself with the GUI interface: https://blog.csdn.net/Alexanderrr/article/details/51615254, and note that the file name mentioned in this article should be consistent with the entity name defined later in module.
If you encounter Warning (12125): Using design file test_for_blif.v, which is not specified as a design file for the current project, but contains definitions for 1 design units and 1 entities in project Info (12023): Found entity 1: test_for_blif because the file is not added to the project, open File to add the file:
I wrote an one-bit full adder (laughter)
Module test_for_blif (input cin, input a, input b, output reg [1:0] s); always @ (*) s = a + b + cin; endmodule
Then follow the CAD_Flow0 tutorial once can be successful, modify the qsf file without restarting quartus, save the following direct compilation on the line. There is a clear difference between before_optimize and after_lut_map (after complete optimization and tech-mapping). After_lut_map (after complete optimization and tech-mapping) has been mapped to two 3LUT:
Before_optimize:
.model test_for_blif.inputs cin a b.outputs s [0] s [1] # G1 = Add0~synth.names a b g110 101 1#g1 = Add0~synth#s [0] = Add1~synth.names cin G1 s [0] 10 101 1#g3 = Add0~synth.names a b g311 1#g1 = Add0~synth#g4 = Add1~synth.names cin g1 g411 1#g3 = Add0~synth#g4 = Add1~synth#s [1] = Add1~synth.names g3 g4 s [1] 00 0.end
After_lut_map (after complete optimization and tech-mapping):
.model test_for_blif.inputs cin a b.outputs s [0] s [1] # s [0] = Add1~synth.names cin a b s [0] 100 1010 1001 1111 1 s [1] = Add1~synth.names cin a b s [1] 110 1101 1011 1111 1.end
It is also important to note that according to the paper Benchmarking Method and Designs Targeting Logic Synthesis for FPGAs
The after complete optimization between before_optimize and after_lut_map (after complete optimization and tech-mapping) can also output blif once, but this step is not taught in CAD_Flow0 's tutorials.
I guess it must be changed to before_lut_map or after_optimize, the former is not good, the latter is successful! The result of after_optimize is given here, because mine is only a full adder. The logic is simple, so whether it is optimized or not is the same.
After_optimize:
.model test_for_blif.inputs cin a b.outputs s [0] s [1] # G1 = Add0~synth.names a b g110 101 1#g1 = Add0~synth#s [0] = Add1~synth.names cin G1 s [0] 10 101 1#g3 = Add0~synth.names a b g311 1#g1 = Add0~synth#g4 = Add1~synth.names cin g1 g411 1#g3 = Add0~synth#g4 = Add1~synth#s [1] = Add1~synth.names g3 g4 s [1] 00 0.end
# 2020.7.26 try Quartus 20.1 under ubuntu 18.04.4. A simple one-bit full adder code can generate corresponding blif files in before_optimize, after_optimize and after_lut_map, respectively.
In addition, the command of CAD_Flow0 is too old to run a big example and does not open balckbox, so the command in .ini in the example is used to reproduce the example of Benchmarking Method and Designs Targeting Logic Synthesis for FPGAs in the paper.
Just remove all the commands in CAD_Flow0 and change them to:
Set_global_assignment-name INI_VARS "cdb_ignore_error_for_rom_missing_mif=on;no_add_ops=on;dump_blif_with_blackboxes=on;dump_blif_before_optimize=on;abort_after_dumping_blif=on" is fine.
After_optimize and after_lut_map only need to be changed accordingly.
The cdb_ignore_error_for_rom_missing_mif=on command is for the initialization of rom. If there is no rom in verilog or vhdl, this command is optional.
The command no_add_ops=on is useful in testing that the number of lines of blif files generated after after_optimize is less than that of blif files without this command. The same is true after after_lut_map.
Dump_blif_with_blackboxes=on this command is also required, the generation of blackbox is necessary, there will be no error.
This is the end of the article on "how to install Intel Quartus on ubuntu18.04.4". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.