summaryrefslogtreecommitdiff
path: root/js/IntegerOp/EXTRACTBITS.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-18 17:08:56 +0530
committerSunil Shetye2018-06-18 17:08:56 +0530
commit0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch)
tree6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/IntegerOp/EXTRACTBITS.js
parent8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff)
downloadsci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2
sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip
change order of functions
Diffstat (limited to 'js/IntegerOp/EXTRACTBITS.js')
-rw-r--r--js/IntegerOp/EXTRACTBITS.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index 35b709c3..54ed45e7 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -1,5 +1,24 @@
/* autogenerated from "macros/IntegerOp/EXTRACTBITS.sci" */
function EXTRACTBITS() {
+EXTRACTBITS.prototype.define = function EXTRACTBITS() {
+numb=[];
+model=scicos_model();
+model.sim=list("extract_bit_32_UH0",4);
+model.in1=1;
+model.in2=1;
+model.out=1;
+model.out2=1;
+model.intyp=3;
+model.outtyp=3;
+model.ipar=[0,numb];
+model.blocktype="c";
+model.dep_ut=[true,false];
+exprs=[sci2exp(3),sci2exp(1),sci2exp(0),sci2exp(0)];
+gr_i=[];
+x=standard_define([4,2],model,exprs,gr_i);
+}
+EXTRACTBITS.prototype.details = function EXTRACTBITS() {
+}
EXTRACTBITS.prototype.get = function EXTRACTBITS() {
}
EXTRACTBITS.prototype.set = function EXTRACTBITS() {
@@ -207,23 +226,4 @@ break
}
}
}
-EXTRACTBITS.prototype.define = function EXTRACTBITS() {
-numb=[];
-model=scicos_model();
-model.sim=list("extract_bit_32_UH0",4);
-model.in1=1;
-model.in2=1;
-model.out=1;
-model.out2=1;
-model.intyp=3;
-model.outtyp=3;
-model.ipar=[0,numb];
-model.blocktype="c";
-model.dep_ut=[true,false];
-exprs=[sci2exp(3),sci2exp(1),sci2exp(0),sci2exp(0)];
-gr_i=[];
-x=standard_define([4,2],model,exprs,gr_i);
-}
-EXTRACTBITS.prototype.details = function EXTRACTBITS() {
-}
}