3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Merge pull request #1562 from whitequark/write_cxxrtl

write_cxxrtl: new backend
This commit is contained in:
whitequark 2020-04-10 01:24:31 +00:00 committed by GitHub
commit 7c06cb6157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 2834 additions and 0 deletions

View file

@ -1034,6 +1034,8 @@ void run_backend(std::string filename, std::string command, RTLIL::Design *desig
command = "verilog";
else if (filename.size() > 3 && filename.compare(filename.size()-3, std::string::npos, ".il") == 0)
command = "ilang";
else if (filename.size() > 3 && filename.compare(filename.size()-3, std::string::npos, ".cc") == 0)
command = "cxxrtl";
else if (filename.size() > 4 && filename.compare(filename.size()-4, std::string::npos, ".aig") == 0)
command = "aiger";
else if (filename.size() > 5 && filename.compare(filename.size()-5, std::string::npos, ".blif") == 0)