diff options
Diffstat (limited to 'src/main/scala/firrtl/proto/ToProto.scala')
| -rw-r--r-- | src/main/scala/firrtl/proto/ToProto.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/scala/firrtl/proto/ToProto.scala b/src/main/scala/firrtl/proto/ToProto.scala index c67f446c..17adb698 100644 --- a/src/main/scala/firrtl/proto/ToProto.scala +++ b/src/main/scala/firrtl/proto/ToProto.scala @@ -343,6 +343,9 @@ object ToProto { case ir.AsyncResetType => val at = Firrtl.Type.AsyncResetType.newBuilder() tb.setAsyncResetType(at) + case ir.ResetType => + val rt = Firrtl.Type.ResetType.newBuilder() + tb.setResetType(rt) case ir.AnalogType(width) => val at = Firrtl.Type.AnalogType.newBuilder() convert(width).foreach(at.setWidth) |
