aboutsummaryrefslogtreecommitdiff
path: root/src/main/proto
diff options
context:
space:
mode:
authorAdam Izraelevitz2019-10-18 19:01:19 -0700
committerGitHub2019-10-18 19:01:19 -0700
commitfd981848c7d2a800a15f9acfbf33b57dd1c6225b (patch)
tree3609a301cb0ec867deefea4a0d08425810b00418 /src/main/proto
parent973ecf516c0ef2b222f2eb68dc8b514767db59af (diff)
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
Diffstat (limited to 'src/main/proto')
-rw-r--r--src/main/proto/firrtl.proto10
1 files changed, 7 insertions, 3 deletions
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.