summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
authorSunil Shetye2018-06-16 01:15:39 +0530
committerSunil Shetye2018-06-16 01:15:39 +0530
commit418020939ae049c5e3a9a04bb1b35e2226d87c33 (patch)
treedfbd28e13383375b0f07c5e3250ee8143d2462ef /js/IntegerOp
parent90718b8a70eb2644ab41f620b710ec9fb86af1bf (diff)
downloadsci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.tar.gz
sci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.tar.bz2
sci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.zip
replace in with in1
Diffstat (limited to 'js/IntegerOp')
-rw-r--r--js/IntegerOp/BITCLEAR.js4
-rw-r--r--js/IntegerOp/BITSET.js4
-rw-r--r--js/IntegerOp/CONVERT.js4
-rw-r--r--js/IntegerOp/DFLIPFLOP.js2
-rw-r--r--js/IntegerOp/DLATCH.js2
-rw-r--r--js/IntegerOp/INTMUL.js8
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js2
-rw-r--r--js/IntegerOp/LOGIC.js2
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js2
9 files changed, 15 insertions, 15 deletions
diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js
index dc944e1c..b6df40d7 100644
--- a/js/IntegerOp/BITCLEAR.js
+++ b/js/IntegerOp/BITCLEAR.js
@@ -12,7 +12,7 @@ while (true) {
if (!ok) {
break
}
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
if (floor(bit)!=bit) {
block_parameter_error(msprintf(gettext("Wrong type for \'%s\' parameter: %5.1f."),gettext("Index of Bit"),bit),gettext("Must be integer."));
ok=None;
@@ -68,7 +68,7 @@ break
BITCLEAR.prototype.define = function BITCLEAR() {
model=scicos_model();
model.sim=list("bit_clear_32",4);
-model.in=1;
+model.in1=1;
model.in2=1;
model.out=1;
model.out2=1;
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index 75523ebe..75932e1c 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -12,7 +12,7 @@ while (true) {
if (!ok) {
break
}
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
if (floor(bit)!=bit) {
block_parameter_error(msprintf(gettext("Wrong type for \'%s\' parameter: %5.1f."),gettext("Index of Bit"),bit),gettext("Must be integer."));
ok=None;
@@ -66,7 +66,7 @@ break
BITSET.prototype.define = function BITSET() {
model=scicos_model();
model.sim=list("bit_set_32",4);
-model.in=1;
+model.in1=1;
model.in2=1;
model.out=1;
model.out2=1;
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index e1c752e1..efd20a83 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -334,7 +334,7 @@ model.ipar=37;
}
}
}
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
out=[model.out,model.out2];
if (ok) {
[model,graphics,ok]=set_io(model,graphics,list(in1,it),list(out,ot),[],[]);
@@ -351,7 +351,7 @@ CONVERT.prototype.define = function CONVERT() {
sgn=2;
model=scicos_model();
model.sim=list("convert",4);
-model.in=-1;
+model.in1=-1;
model.out=-1;
model.in2=-2;
model.out2=-2;
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 4b4790b1..272a2524 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(SCICOS_DIAGRAM,'scicos_diagram',1,1019)
+Syntax error in input LexToken(ASSIGNMENT,'=',1,1052)
/* autogenerated from "macros/IntegerOp/DFLIPFLOP.sci" */
None
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index f7077d23..07de8670 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(SCICOS_DIAGRAM,'scicos_diagram',1,982)
+Syntax error in input LexToken(ASSIGNMENT,'=',1,1015)
/* autogenerated from "macros/IntegerOp/DLATCH.sci" */
None
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index 788ecfff..cb401856 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -8,14 +8,14 @@ graphics=arg1.graphics;
model=arg1.model;
exprs=graphics.exprs;
while (true) {
-[ok,Datatype,np,exprs]=scicos_getvalue( [msprintf(gettext("Set %s block parameters"),"INTMUL")," ",gettext("Integer matrix multiplication")," "],[msprintf(gettext("Data Type %s"),"(3:int32, 4:int16, 5:int8, ...)"),gettext("Do on Overflow (0:Nothing, 1:Saturate, 2:Error)")],list("vec",1,"vec",1),exprs);
+[ok,Datatype,np,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"INTMUL")," ",gettext("Integer matrix multiplication")," "],[msprintf(gettext("Data Type %s"),"(3:int32, 4:int16, 5:int8, ...)"),gettext("Do on Overflow (0:Nothing, 1:Saturate, 2:Error)")],list("vec",1,"vec",1),exprs);
if (!ok) {
break
}
it=Datatype*ones(1,2);
ot=Datatype;
if ((np!=0&&np!=1&&np!=2)) {
-block_parameter_error(msprintf( gettext("Wrong value for \'%s\' parameter: %d."),gettext("Do on Overflow"),np),msprintf( gettext("Must be in the interval %s."),"[0, 2]"));
+block_parameter_error(msprintf(gettext("Wrong value for \'%s\' parameter: %d."),gettext("Do on Overflow"),np),msprintf(gettext("Must be in the interval %s."),"[0, 2]"));
ok=None;
} else if (Datatype==3) {
if (np==0) {
@@ -69,7 +69,7 @@ model.sim=list("matmul_ui8e",4);
block_parameter_error(msprintf(gettext("Wrong value for \'%s\' parameter: %d."),gettext("Data Type"),ot),msprintf(gettext("Must be in the interval %s."),"[3, 8]"));
ok=None;
}
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
out=[model.out,model.out2];
if (ok) {
[model,graphics,ok]=set_io(model,graphics,list(in1,it),list(out,ot),[],[]);
@@ -87,7 +87,7 @@ INTMUL.prototype.define = function INTMUL() {
sgn=0;
model=scicos_model();
model.sim=list("matmul_i32",4);
-model.in=[-1,-2];
+model.in1=[-1,-2];
model.out=-1;
model.in2=[-2,-3];
model.out2=-3;
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index bb35a7f9..28932383 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(SCICOS_DIAGRAM,'scicos_diagram',1,2710)
+Syntax error in input LexToken(ASSIGNMENT,'=',1,2743)
/* autogenerated from "macros/IntegerOp/JKFLIPFLOP.sci" */
None
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index b767d12c..88c2d598 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -46,7 +46,7 @@ LOGIC.prototype.define = function LOGIC() {
mat=[0,0,0,1];
model=scicos_model();
model.sim=list("logic",4);
-model.in=[1,1];
+model.in1=[1,1];
model.in2=[1,1];
model.out=1;
model.out2=1;
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 373b9846..35535c0d 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(SCICOS_DIAGRAM,'scicos_diagram',1,2641)
+Syntax error in input LexToken(ASSIGNMENT,'=',1,2674)
/* autogenerated from "macros/IntegerOp/SRFLIPFLOP.sci" */
None