From a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 12 Jul 2018 21:09:17 +0530 Subject: define gr_i --- js/IntegerOp/EXTRACTBITS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/IntegerOp/EXTRACTBITS.js') diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js index 30036458..73d29d70 100644 --- a/js/IntegerOp/EXTRACTBITS.js +++ b/js/IntegerOp/EXTRACTBITS.js @@ -14,7 +14,7 @@ function EXTRACTBITS() { this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([true,false]); var exprs = [[sci2exp(3)],[sci2exp(1)],[sci2exp(0)],[sci2exp(0)]]; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EXTRACTBITS\",sz(1),sz(2));"]); this.x = standard_define([4,2],this.model,exprs,gr_i); return new BasicBlock(this.x); } -- cgit