mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-25 01:55:33 +00:00
tests: CXX may be e.g. gcc, so use CC and link stdc++ explicitly
This commit is contained in:
parent
4e94f62116
commit
992a728ec7
2 changed files with 4 additions and 4 deletions
|
@ -700,7 +700,7 @@ struct AST_INTERNAL::ProcessGenerator
|
|||
sstr << ast->str << "$" << ast->filename << ":" << ast->location.first_line << "$" << (autoidx++);
|
||||
|
||||
RTLIL::Cell *cell = current_module->addCell(sstr.str(), ID($print));
|
||||
cell->attributes[ID::src] = stringf("%s:%d.%d-%d.%d", ast->filename.c_str(), ast->location.first_line, ast->location.first_column, ast->location.last_line, ast->location.last_column);
|
||||
set_src_attr(cell, ast);
|
||||
|
||||
RTLIL::SigSpec triggers;
|
||||
RTLIL::Const polarity;
|
||||
|
@ -719,7 +719,7 @@ struct AST_INTERNAL::ProcessGenerator
|
|||
cell->setPort(ID::TRG, triggers);
|
||||
|
||||
Wire *wire = current_module->addWire(sstr.str() + "_EN", 1);
|
||||
wire->attributes[ID::src] = stringf("%s:%d.%d-%d.%d", ast->filename.c_str(), ast->location.first_line, ast->location.first_column, ast->location.last_line, ast->location.last_column);
|
||||
set_src_attr(wire, ast);
|
||||
cell->setPort(ID::EN, wire);
|
||||
|
||||
proc->root_case.actions.push_back(SigSig(wire, false));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue