hdl/bazel_rules_hdl

place_and_route: Syntax of generated textproto files

Closed this issue · 3 comments

Textproto files are generated from generate_power_results and generate_area_results, which are used in the global_routing.tcl. What syntax are they meant to be? By file extension, I presume that they are meant to be protobuf files, but unfortunately they are not consistent with protobuf syntax (you can test with protolinter). I propose to make effort to make these files consistent.

Example of generated file:

total_package_power_watts: 0.0059173996560275555
corner: "asap7-sc7p5t_rev28_rvt-ccs_ss_SS"
power_maginitude: "p"

Exactly what I was looking for is at the bottom of the page you linked, thanks!

Working programmatically with textproto files:

https://github.com/protocolbuffers/txtpbfmt