Skip to content

Commit 36422e2

Browse files
committed
Auto formatted proto files. No semantic change.
1 parent f68cfc4 commit 36422e2

2 files changed

Lines changed: 12 additions & 22 deletions

File tree

apio/common/proto/apio-definitions.proto

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,28 @@ message BoardDefinition {
5050

5151
// ====================== FPGA definition ===========================
5252

53-
5453
message FpgaIce40Params {
55-
required string type = 1;
54+
required string type = 1;
5655
required string package = 2;
5756
}
5857

5958
message FpgaEcp5Params {
60-
required string type = 1;
59+
required string type = 1;
6160
required string package = 2;
62-
required string speed = 3;
61+
required string speed = 3;
6362
}
6463

6564
message FpgaGowinParams {
66-
required string yosys_family = 1 [json_name = "yosys-family"];
65+
required string yosys_family = 1 [json_name = "yosys-family"];
6766
required string nextpnr_family = 2 [json_name = "nextpnr-family"];
68-
required string packer_device = 3 [json_name = "packer-device"];
67+
required string packer_device = 3 [json_name = "packer-device"];
6968
}
7069

7170
message FpgaXilinxParams {
72-
required string family = 1 ;
71+
required string family = 1;
7372
required string yosys_arch = 2 [json_name = "yosys-arch"];
74-
required string package = 3 ;
75-
required string speed = 4;
73+
required string package = 3;
74+
required string speed = 4;
7675
}
7776

7877
message FpgaDefinition {
@@ -88,8 +87,8 @@ message FpgaDefinition {
8887
}
8988
}
9089

91-
// ====================== Board definition ===========================
9290

91+
// ====================== Board definition ===========================
9392

9493
message ProgrammerDefinition {
9594
required string command = 1;

apio/common/proto/apio-scons.proto

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ message XilinxFpgaParams {
5757
required string speed = 4;
5858
}
5959

60-
61-
6260
// General fpga info.
6361
// Matches definition file fpgas.jsonc.
6462
message FpgaInfo {
@@ -142,13 +140,10 @@ message LintParams {
142140
optional string top_module = 1 [default = ""];
143141
optional bool nosynth = 2 [default = false];
144142
optional bool novlt = 3 [default = false];
145-
repeated string file_names = 4; // Is specified, lint only these files.
143+
repeated string file_names = 4; // Is specified, lint only these files.
146144
}
147145

148-
149-
150-
// Graph target specific params.
151-
146+
// ======Graph target specific params.
152147
enum GraphOutputType {
153148
SVG = 1;
154149
PNG = 2;
@@ -183,7 +178,7 @@ message SimParams {
183178
// confused pytest.
184179
message ApioTestParams {
185180
// If not specified, all the testbenches in the project are tested.
186-
optional string testbench_path = 1 [ default = ""];
181+
optional string testbench_path = 1 [default = ""];
187182

188183
// If true, user specified the 'default' option.
189184
required bool default_option = 2;
@@ -205,8 +200,6 @@ message TargetParams {
205200
}
206201
}
207202

208-
209-
210203
// The top level messages that is passed from the apio process to
211204
// the scons process.
212205
message SconsParams {
@@ -232,6 +225,4 @@ message SconsParams {
232225

233226
// Additional params for for scons targets that need it.
234227
optional TargetParams target = 7;
235-
236-
237228
}

0 commit comments

Comments
 (0)