aboutsummaryrefslogtreecommitdiffstats
path: root/backends/protobuf/protobuf.cc
diff options
context:
space:
mode:
authorJim Lawson <ucbjrl@berkeley.edu>2019-03-01 10:31:26 -0800
committerJim Lawson <ucbjrl@berkeley.edu>2019-03-01 10:31:26 -0800
commit4cce7f6967313772207448569635e6e5c6bc44ce (patch)
tree8132003faa377602a74f5ac16f9899f9b17eb8c3 /backends/protobuf/protobuf.cc
parent81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14 (diff)
parent60e3c38054f10251021fa2f504ad2424da33aa1d (diff)
downloadyosys-4cce7f6967313772207448569635e6e5c6bc44ce.tar.gz
yosys-4cce7f6967313772207448569635e6e5c6bc44ce.tar.bz2
yosys-4cce7f6967313772207448569635e6e5c6bc44ce.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'backends/protobuf/protobuf.cc')
-rw-r--r--backends/protobuf/protobuf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/protobuf/protobuf.cc b/backends/protobuf/protobuf.cc
index f56147cef..549fc73ae 100644
--- a/backends/protobuf/protobuf.cc
+++ b/backends/protobuf/protobuf.cc
@@ -48,7 +48,7 @@ struct ProtobufDesignSerializer
ProtobufDesignSerializer(bool use_selection, bool aig_mode) :
aig_mode_(aig_mode), use_selection_(use_selection) { }
-
+
string get_name(IdString name)
{
return RTLIL::unescape_id(name);
@@ -60,7 +60,7 @@ struct ProtobufDesignSerializer
{
for (auto &param : parameters) {
std::string key = get_name(param.first);
-
+
yosys::pb::Parameter pb_param;
@@ -207,7 +207,7 @@ struct ProtobufDesignSerializer
(*models)[aig.name] = pb_model;
}
}
-
+
void serialize_design(yosys::pb::Design *pb, Design *design)
{
GOOGLE_PROTOBUF_VERIFY_VERSION;