Skip to content

Commit

Permalink
Revert "[libs][ligraph] raise error if segment length doesn't match t…
Browse files Browse the repository at this point in the history
…he one in architectureile"

This reverts commit c768992.
  • Loading branch information
amin1377 committed Aug 14, 2024
1 parent 1b00eb1 commit b667014
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions libs/librrgraph/src/io/rr_graph_uxsdcxx_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -1357,13 +1357,7 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
segment->name.c_str(), name);
}
}
inline void set_segment_length(int length, const t_segment_inf*& segment) final {
if (segment->length != length) {
report_error(
"Architecture file does not match RR graph's length: arch uses %d, RR graph uses %d",
segment->length, length);
}
}
inline void set_segment_length(int /*length*/, const t_segment_inf*& /*segment*/) final {}
inline uxsd::enum_segment_res_type get_segment_res_type(const t_segment_inf*& segment) final {
return to_uxsd_segment_res_type(segment->res_type);
}
Expand Down

0 comments on commit b667014

Please sign in to comment.