Comments (7)
The issue is that our new code has a build flag ENABLE_ABC and ENABLE_STA which isolates the integration for ABC and OpenSTA. If these were set to OFF, parts of the code are turned off that shouldn't. I've fixed this in #81 .
from lsoracle.
After doing this, I am facing another issue of tcl.h .. I have installed that also but still showing the same error.
Any ideas ?? Thanks.
from lsoracle.
@mayank-kabra2001 you need to have TCL installed on your machine, this is not a dependency we ship with the tool.
from lsoracle.
I solve the issue of tcl by:
sudo apt-get install tcl8.6-dev
- change
#include <tcl.h>
to#include <tcl8.6/tcl.h>
But another issue comes:
Scanning dependencies of target yosys-plugin
[ 96%] Building CXX object yosys-plugin/CMakeFiles/yosys-plugin.dir/oracle.cc.o
/home/rain/LSOracle/yosys-plugin/oracle.cc:54:10: fatal error: kernel/register.h: No such file or directory
54 | #include "kernel/register.h"
| ^~~~~~~~~~~~~~~~~~~
compilation `terminated.
Any ideas on this problem?
Thanks.
from lsoracle.
If you are trying to compile the yosys plugin, you need to specify the location of yosys using the YOSYS_INCLUDE_DIR cmake variable.
from lsoracle.
你好
在发出命令时得到以下错误:
[ 75%]构建目标 kahypar [ 89%] 构建目标 unit_tests [ 89%] 构建 CXX 对象核心/CMakeFiles/lsoracle.dir/lsoracle.cpp.o 在包含的文件中 /home/ratul619/LSoracle/LSOracle/LSOracle/core/lsoracle.cpp:145: /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp: In member function 'void alice::optimize_command:::synth(std::string)': /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:76:27: 错误: 'optimize_resynthesis' 不是 'oracle' 的成员 76 |ntk_result = oracle::optimize_resynthesismockturtle::aig_network(partitions_jr, abc_exec); |^~~~~~~~~~~~~~~~~~~~~~~~~~| >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ntk_result = oracle::optimize_resynthesismockturtle::aig_network(partitions_jr, abc_exec); |^ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:78:14: error: 'optimization_strategy' 不是 'oracle' 的成员;你是说“optimization_test”吗? 78 |预言机::optimization_strategy策略; | |optimization_test /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:80:3:错误:“策略”未在此范围内声明 80 |策略 = 预言机::optimization_strategy::d深度; |^~~~~~~~ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:80:22: error: 'oracle::optimization_strategy' 尚未声明 80 |策略 = 预言机::optimization_strategy::d深度; |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~策略 = 预言机::optimization_strategy::大小; |^~~~~~~~ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:82:22: error: 'oracle::optimization_strategy' 尚未声明 82 |策略 = 预言机::optimization_strategy::大小; |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~策略 = 预言机::optimization_strategy::平衡; |^~~~~~~~ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:84:22: error: 'oracle::optimization_strategy' 尚未声明 84 |策略 = 预言机::optimization_strategy::平衡; |^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| optimize_basic~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ntk_result = oracle::optimize_basic(partitions_jr, abc_exec, strategy); |^~~~~~~~~~~~~~ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:87:56: 错误:在“>”标记 87 |之前的预期主表达式ntk_result = oracle::optimize_basic(partitions_jr, abc_exec, strategy); |^ /home/ratul619/LSoracle/LSOracle/core/commands/optimization/optimize.hpp:87:83: error: 'strategy' 未在此作用域 87 |ntk_result = oracle::optimize_basic(partitions_jr, abc_exec, strategy); |^~~~~~~~
In file included from /home/ratul619/LSoracle/LSOracle/core/lsoracle.cpp:63: /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp: In function ‘std::string oracle::abc_stats_commmands(int, int, int)’: /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp:380:1: warning: control reaches end of non-void function [-Wreturn-type] 380 | } | ^ /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp: In function ‘float oracle::get_results_universe(std::string, int)’: /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp:699:1: warning: control reaches end of non-void function [-Wreturn-type] 699 | } | ^ /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp: In function ‘std::vector oracle::sample(int, int, int, std::vector<std::__cxx11::basic_string >, std::string, std::string, std::vector<std::vector >&, std::vector<std::vector >&, std::vector<std::__cxx11::basic_string >&, int, int, int, int, std::string)’: /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp:1173:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 1173 | system(commands_vec[i].c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp: In function ‘void oracle::bayes_flow_tune(const char*, int, int, int, int, int, int, int)’: /home/ratul619/LSoracle/LSOracle/core/algorithms/optimization/mab.hpp:1277:52: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 1277 | string remove_log = "rm "+design+".log"; system(remove_log.c_str()); //remove log file if exists | ~~~~~~^~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-unneeded-internal-declaration’ make[2]: *** [core/CMakeFiles/lsoracle.dir/build.make:67: core/CMakeFiles/lsoracle.dir/lsoracle.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4282: core/CMakeFiles/lsoracle.dir/all] Error 2
Any ideas ?? I tried to search , but didnt get any concrete solution
Thanks
Hello, how did you solve this problem, I re-cloned a copy of the branch of the person who answered this question and tried to compile it, it still failed.What method did you use?
from lsoracle.
You might want to cmake like this :
cmake -B build . -DCMAKE_BUILD_TYPE=RELEASE -D ENABLE_OPENSTA=ON -DENABLE_ABC=ON
It should work !
from lsoracle.
Related Issues (20)
- any stable branch ? HOT 2
- Initial Setup Basic Instructions HOT 1
- Set up CCID to publish non master docs. HOT 1
- Add documentation of papers about LSOracle and it's performance HOT 2
- Problem about command "oracle" HOT 3
- ./lsoracle: not found HOT 1
- Aborted (Core dumped) HOT 1
- I have a make error。 HOT 6
- error: ‘write_child’ is not a member of ‘oracle’ HOT 1
- some questions for testcase in "Structure Aware Partitioning for Mixed Logic Synthesis" HOT 1
- "get_all_partitions" does not work
- Segmentation Fault (Core dumped) HOT 1
- some questions in structure aware partition method
- Exporting a top-module in Verilog containing the instantiations of the sub-circuits
- MIG optimization HOT 2
- Error in `lsoracle': free(): invalid pointer: 0x00000000344e8f00
- build without ENABLE_OPENSTA and ENABLE_ABC will failed
- Program execution stuck during karypar HOT 1
- performance question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsoracle.