From fd981848c7d2a800a15f9acfbf33b57dd1c6225b Mon Sep 17 00:00:00 2001 From: Adam Izraelevitz Date: Fri, 18 Oct 2019 19:01:19 -0700 Subject: Upstream intervals (#870) Major features: - Added Interval type, as well as PrimOps asInterval, clip, wrap, and sqz. - Changed PrimOp names: bpset -> setp, bpshl -> incp, bpshr -> decp - Refactored width/bound inferencer into a separate constraint solver - Added transforms to infer, trim, and remove interval bounds - Tests for said features Plan to be released with 1.3--- src/main/proto/firrtl.proto | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/main/proto') diff --git a/src/main/proto/firrtl.proto b/src/main/proto/firrtl.proto index 0cf14f41..3d2c89f1 100644 --- a/src/main/proto/firrtl.proto +++ b/src/main/proto/firrtl.proto @@ -451,10 +451,14 @@ message Firrtl { OP_AS_FIXED_POINT = 32; OP_AND_REDUCE = 33; OP_OR_REDUCE = 34; - OP_SHIFT_BINARY_POINT_LEFT = 35; - OP_SHIFT_BINARY_POINT_RIGHT = 36; - OP_SET_BINARY_POINT = 37; + OP_INCREASE_PRECISION = 35; + OP_DECREASE_PRECISION = 36; + OP_SET_PRECISION = 37; OP_AS_ASYNC_RESET = 38; + OP_WRAP = 39; + OP_CLIP = 40; + OP_SQUEEZE = 41; + OP_AS_INTERVAL = 42; } // Required. -- cgit v1.2.3