mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Update more stuff to use get_src_attribute() and set_src_attribute()
This commit is contained in:
parent
8dc6083de7
commit
8a66bd30c6
2 changed files with 5 additions and 5 deletions
|
@ -1643,7 +1643,7 @@ RTLIL::Cell *RTLIL::Module::addCell(RTLIL::IdString name, const RTLIL::Cell *oth
|
|||
cell->parameters["\\Y_WIDTH"] = sig_y.size(); \
|
||||
cell->setPort("\\A", sig_a); \
|
||||
cell->setPort("\\Y", sig_y); \
|
||||
if (!src.empty()) cell->attributes["\\src"] = src; \
|
||||
cell->set_src_attribute(src); \
|
||||
return cell; \
|
||||
} \
|
||||
RTLIL::SigSpec RTLIL::Module::_func(RTLIL::IdString name, RTLIL::SigSpec sig_a, bool is_signed, std::string src) { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue