Skip to content

Commit e8d0e58

Browse files
authored
Merge pull request hdl#312 from hzeller/20240403-fix-ppa-namespace
Remove noise from the PerformancePowerAreaProto package name.
2 parents 4647050 + c73c17d commit e8d0e58

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

place_and_route/private/benchmark.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def benchmark(ctx, open_road_info):
6363

6464
cmds = [
6565
"echo \"# proto-file: synthesis/performance_power_area.proto\" >> {out};".format(out = benchmark_path),
66-
"echo \"# proto-message: bazel_rules_hdl.ppa.PerformancePowerAreaProto\n\" >> {out};".format(out = benchmark_path),
66+
"echo \"# proto-message: hdl.ppa.PerformancePowerAreaProto\n\" >> {out};".format(out = benchmark_path),
6767
]
6868
prefix = "metric=$(cat {log} | awk ".format(log = command_output.log_file.path)
6969
suffix = "; echo \"{field} $metric\" >> {out};"

synthesis/build_defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def _benchmark_synth(ctx, synth_log_file):
224224

225225
cmds = [
226226
"echo \"# proto-file: synthesis/performance_power_area.proto\" >> {out};".format(out = benchmark_path),
227-
"echo \"# proto-message: bazel_rules_hdl.ppa.PerformancePowerAreaProto\n\" >> {out};".format(out = benchmark_path),
227+
"echo \"# proto-message: hdl.ppa.PerformancePowerAreaProto\n\" >> {out};".format(out = benchmark_path),
228228
]
229229
prefix = "metric=$({cat} {log} | awk ".format(cat = cat, log = synth_log_file.path)
230230
suffix = "; echo \"{field} $metric\" >> {out};"

synthesis/performance_power_area.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
syntax = "proto2";
22

3-
package bazel_rules_hdl.ppa;
3+
package hdl.ppa;
44

55
message PerformancePowerAreaProto {
66
// ====== Performance ======
@@ -60,4 +60,4 @@ message Power {
6060
optional float leakage_package_watts = 4;
6161
// The total power simulated
6262
optional float total_package_watts = 5;
63-
}
63+
}

0 commit comments

Comments
 (0)