aboutsummaryrefslogtreecommitdiff
path: root/src/main/proto
diff options
context:
space:
mode:
authorJack Koenig2019-04-22 13:46:37 -0700
committerGitHub2019-04-22 13:46:37 -0700
commit99ae1d6649f1731c5dec2098b10733735232b72c (patch)
tree04e7b0f4515fc9f79aa5f0d80aff2bb5805637c9 /src/main/proto
parentbf66997b1a2438a322cd619ca2b6aeb0f0ac0ba0 (diff)
Change Memory Depth to a BigInt (#1075)
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;
}