summaryrefslogtreecommitdiff
path: root/js/IntegerOp/EXTRACTBITS.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/EXTRACTBITS.js')
-rw-r--r--js/IntegerOp/EXTRACTBITS.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index 805f0e68..9169912e 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -246,4 +246,13 @@ function EXTRACTBITS() {
EXTRACTBITS.prototype.get_popup_title = function EXTRACTBITS() {
return this.set_param_popup_title;
}
+ EXTRACTBITS.prototype.importset = function EXTRACTBITS() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.Datatype = ary[0];
+ this.rule = ary[1];
+ this.bit = ary[2];
+ this.scal = ary[3];
+ }
+ EXTRACTBITS.prototype.getContainer = function EXTRACTBITS() { return new BasicBlock(this.x); }
}