In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to configure the SystemC environment under the Linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The following is the configuration method under centos7
Place the compressed package in the user directory and extract it
Tar-zxvf systemc-2.3.3.tar.gz
Go to the systemc-2.3.3 folder
Cd systemc-2.3.3
Create a new temporary folder tmp and enter it
Mkdir tmpcd tmp
Run the following command
.. / configuremakemake install
At this point, two folders include and lib-linux64 are generated in the folder.
Set environment variabl
Export LD_LIBRARY_PATH=home/centos7/systemc-2.3.3/lib-linux64 / / where / home/cnetos7/ is the file decompression path, which is determined according to your own situation.
The command is only available at present and expires after restart. If long-term availability is required, it is recommended to add the command under .bashrc in the user directory, and execute the following command to restart the terminal to take effect.
Source .bashrc
Run a systemc program to test.
Test.cpp
/ / all systemc modules should include systemc.h header file#inlcude "systemc.h" / / hello_world is module nameSC_MODULE (hello_world) {SC_CTOR (hello_world) {/ / nothing in constructor} void say_hello () {/ / Print "Hello worldview!" To the console. Cout
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.