diff options
| author | Albert Magyar | 2019-10-01 14:16:58 -0700 |
|---|---|---|
| committer | GitHub | 2019-10-01 14:16:58 -0700 |
| commit | 1ced6cf929b436380364e9b893e8de7edc3205fd (patch) | |
| tree | c0998198ebc9036308754826ffb863e43259f3fa /src/main/proto | |
| parent | 4ca2b859473e0a88723463eac2821cfbd3249c43 (diff) | |
| parent | 082bc994457cc5f6780b58fb914a6ab3eb8a021f (diff) | |
Merge pull request #1183 from freechipsproject/mem-read-under-write
Implement read-first memory behavior in Verilog
Diffstat (limited to 'src/main/proto')
| -rw-r--r-- | src/main/proto/firrtl.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/proto/firrtl.proto b/src/main/proto/firrtl.proto index b8f6db98..0cf14f41 100644 --- a/src/main/proto/firrtl.proto +++ b/src/main/proto/firrtl.proto @@ -104,6 +104,12 @@ message Firrtl { Expression init = 5; } + enum ReadUnderWrite { + UNDEFINED = 0; + OLD = 1; + NEW = 2; + } + message Memory { // Required. string id = 1; @@ -121,6 +127,7 @@ message Firrtl { repeated string reader_id = 6; repeated string writer_id = 7; repeated string readwriter_id = 8; + ReadUnderWrite read_under_write = 10; } message CMemory { @@ -138,6 +145,7 @@ message Firrtl { } // Required. bool sync_read = 3; + ReadUnderWrite read_under_write = 5; } message Instance { |
