mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-14 14:55:26 +00:00
verilog_location: rename location to Location to avoid conflict with Pass::location
This commit is contained in:
parent
5195f81257
commit
99ab73424d
8 changed files with 28 additions and 32 deletions
|
@ -684,7 +684,7 @@ static bool contains_unbased_unsized(const AstNode *node)
|
|||
|
||||
// adds a wire to the current module with the given name that matches the
|
||||
// dimensions of the given wire reference
|
||||
void add_wire_for_ref(location loc, const RTLIL::Wire *ref, const std::string &str)
|
||||
void add_wire_for_ref(Location loc, const RTLIL::Wire *ref, const std::string &str)
|
||||
{
|
||||
auto left = AstNode::mkconst_int(loc, ref->width - 1 + ref->start_offset, true);
|
||||
auto right = AstNode::mkconst_int(loc, ref->start_offset, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue