Skip to content

Commit

Permalink
xilinx: Fix workaround for unsupported xdc construct
Browse files Browse the repository at this point in the history
Signed-off-by: gatecat <gatecat@ds0.me>
  • Loading branch information
gatecat committed Sep 27, 2024
1 parent e4dfd4e commit 38e5fac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions himbaechel/uarch/xilinx/xdc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ void XilinxImpl::parse_xdc(const std::string &filename)
for (int cursor = 0; cursor + 1 < int(dict_args.size()); cursor += 2) {
arg_pairs.emplace_back(std::move(dict_args.at(cursor)), std::move(dict_args.at(cursor + 1)));
}
} else
} else {
arg_pairs.emplace_back(std::move(arguments.at(1)), std::move(arguments.at(2)));
if (arguments.at(1) == "INTERNAL_VREF")
}
if (arg_pairs.size() == 1 && arg_pairs.front().first == "INTERNAL_VREF") // get_iobanks not supported
continue;
if (arguments.at(3).size() > 2 && arguments.at(3) == "[current_design]") {
log_warning("[current_design] isn't supported, ignoring (on line %d)\n", lineno);
Expand Down

0 comments on commit 38e5fac

Please sign in to comment.