aboutsummaryrefslogtreecommitdiff
path: root/src/main/proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/proto')
-rw-r--r--src/main/proto/firrtl.proto15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/main/proto/firrtl.proto b/src/main/proto/firrtl.proto
index 8f115c5e..2552b989 100644
--- a/src/main/proto/firrtl.proto
+++ b/src/main/proto/firrtl.proto
@@ -110,7 +110,10 @@ message Firrtl {
// Required.
Type type = 2;
// Required.
- uint32 depth = 3;
+ oneof depth {
+ uint32 uint_depth = 3;
+ BigInt bigint_depth = 9;
+ }
// Required.
uint32 write_latency = 4;
// Required.
@@ -121,10 +124,18 @@ message Firrtl {
}
message CMemory {
+ // As alternative to using VectorType as type
+ message TypeAndDepth {
+ Type data_type = 1;
+ BigInt depth = 2;
+ }
// Required.
string id = 1;
// Required.
- Type.VectorType type = 2;
+ oneof type {
+ Type.VectorType vector_type = 2;
+ TypeAndDepth type_and_depth = 4;
+ }
// Required.
bool sync_read = 3;
}