summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp')
-rw-r--r--js/IntegerOp/BITCLEAR.js2
-rw-r--r--js/IntegerOp/BITSET.js2
-rw-r--r--js/IntegerOp/CONVERT.js2
-rw-r--r--js/IntegerOp/DFLIPFLOP.js2
-rw-r--r--js/IntegerOp/DLATCH.js2
-rw-r--r--js/IntegerOp/EXTRACTBITS.js2
-rw-r--r--js/IntegerOp/INTMUL.js2
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js2
-rw-r--r--js/IntegerOp/LOGIC.js2
-rw-r--r--js/IntegerOp/SHIFT.js2
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js2
11 files changed, 11 insertions, 11 deletions
diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js
index 63406fca..550671b5 100644
--- a/js/IntegerOp/BITCLEAR.js
+++ b/js/IntegerOp/BITCLEAR.js
@@ -13,7 +13,7 @@ function BITCLEAR() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(3)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"BITCLEAR\",sz(1),sz(2));"]);
this.x = standard_define([4,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index fa66ce48..bee59f69 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -13,7 +13,7 @@ function BITSET() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(3)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"BITSET\",sz(1),sz(2));"]);
this.x = standard_define([4,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 76f957bb..dab0ab34 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -15,7 +15,7 @@ function CONVERT() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(1)],[sci2exp(3)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CONVERT\",sz(1),sz(2));"]);
this.x = standard_define([3,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 80a84dfd..bf597aee 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -88,7 +88,7 @@ function DFLIPFLOP() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DFLIPFLOP\",sz(1),sz(2));"]);
this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index 317254cc..8dde9f63 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -33,7 +33,7 @@ function DLATCH() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DLATCH\",sz(1),sz(2));"]);
this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
}
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);
}
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index 1b704f2e..56a654ff 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -15,7 +15,7 @@ function INTMUL() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(3)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTMUL\",sz(1),sz(2));"]);
this.x = standard_define([2,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index d8cb71c0..1fb25113 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -44,7 +44,7 @@ function JKFLIPFLOP() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"JKFLIPFLOP\",sz(1),sz(2));"]);
this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index 4c7ca2f2..4f2013b8 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -16,7 +16,7 @@ function LOGIC() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(this.mat)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"LOGIC\",sz(1),sz(2));"]);
this.x = standard_define([2,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index 0096da1b..f7204135 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -16,7 +16,7 @@ function SHIFT() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[sci2exp(3)],[sci2exp(0)],[sci2exp(0)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SHIFT\",sz(1),sz(2));"]);
this.x = standard_define([3,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 6f9ade74..99b49370 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -28,7 +28,7 @@ function SRFLIPFLOP() {
this.model.firing = new ScilabBoolean([false]);
this.model.dep_ut = new ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SRFLIPFLOP\",sz(1),sz(2));"]);
this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
}