From 99ae1d6649f1731c5dec2098b10733735232b72c Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 22 Apr 2019 13:46:37 -0700 Subject: Change Memory Depth to a BigInt (#1075) --- src/main/proto/firrtl.proto | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/main/proto') 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; } -- cgit v1.2.3