Skip to content

Commit 77af6d8

Browse files
committed
rmp:tidy fixes
Signed-off-by: Bartłomiej Chmiel <[email protected]>
1 parent 460d900 commit 77af6d8

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

src/rmp/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ cc_library(
5858
"@boost.optional",
5959
"@boost.phoenix",
6060
"@boost.spirit",
61+
"@com_google_absl//absl/base:core_headers",
6162
"@com_google_absl//absl/hash",
6263
"@com_google_absl//absl/random",
6364
],

src/rmp/src/genetic_strategy.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include <algorithm>
77
#include <cstddef>
8+
#include <functional>
89
#include <iterator>
910
#include <ranges>
1011
#include <unordered_set>

src/rmp/src/slack_tuning_strategy.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
#include "slack_tuning_strategy.h"
55

6-
#include <absl/base/optimization.h>
7-
86
#include <cassert>
97
#include <cstddef>
108
#include <cstdint>
@@ -16,6 +14,7 @@
1614
#include <utility>
1715
#include <vector>
1816

17+
#include "absl/base/optimization.h"
1918
#include "absl/random/random.h"
2019
#include "cut/abc_library_factory.h"
2120
#include "db_sta/dbNetwork.hh"

src/rmp/src/utils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
#include <vector>
99

10-
#include "aig/gia/giaAig.h"
10+
#include "aig/aig/aig.h"
11+
#include "aig/gia/gia.h"
1112
#include "base/abc/abc.h"
1213
#include "cut/abc_library_factory.h"
1314
#include "cut/logic_cut.h"

src/rmp/test/aes_genetic.tcl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,15 @@ report_wns
2727
report_tns
2828

2929
puts "-- After --\n"
30-
resynth_genetic -corner slow -initial_ops 5 -iters 15 -pop_size 50 -mut_prob 0.25 -cross_prob 0.25 -tourn_size 9 -tourn_prob 0.8
30+
resynth_genetic \
31+
-corner slow \
32+
-initial_ops 5 \
33+
-iters 15 \
34+
-pop_size 50 \
35+
-mut_prob 0.25 \
36+
-cross_prob 0.25 \
37+
-tourn_size 9 \
38+
-tourn_prob 0.8
3139
report_timing_histogram
3240
report_cell_usage
3341
report_checks

src/rmp/test/gcd_genetic.tcl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,15 @@ report_tns
4141
write_verilog_for_eqy $test_name before "None"
4242

4343
puts "-- After --\n"
44-
resynth_genetic -corner slow -initial_ops 5 -iters 15 -pop_size 100 -mut_prob 0.25 -cross_prob 0.75 -tourn_size 9 -tourn_prob 0.9
44+
resynth_genetic \
45+
-corner slow \
46+
-initial_ops 5 \
47+
-iters 15 \
48+
-pop_size 100 \
49+
-mut_prob 0.25 \
50+
-cross_prob 0.75 \
51+
-tourn_size 9 \
52+
-tourn_prob 0.9
4553
report_timing_histogram
4654
report_cell_usage
4755
report_checks

0 commit comments

Comments
 (0)