summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
authorSunil Shetye2018-08-24 13:19:45 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit54e9da81f331216dd021dd4164db2811f28c6f33 (patch)
tree23c2ad8d666634b2e733cfcf42161f5675b73a8d /js/IntegerOp
parent6e346dc5337e4a53f8268744c372ca694a9563f0 (diff)
downloadsci2js-54e9da81f331216dd021dd4164db2811f28c6f33.tar.gz
sci2js-54e9da81f331216dd021dd4164db2811f28c6f33.tar.bz2
sci2js-54e9da81f331216dd021dd4164db2811f28c6f33.zip
get the title from the definition
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.js4
-rw-r--r--js/IntegerOp/DLATCH.js4
-rw-r--r--js/IntegerOp/EXTRACTBITS.js4
-rw-r--r--js/IntegerOp/INTMUL.js4
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js4
-rw-r--r--js/IntegerOp/LOGIC.js4
-rw-r--r--js/IntegerOp/SHIFT.js4
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js4
11 files changed, 44 insertions, 0 deletions
diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js
index bd741b62..0b0e6cff 100644
--- a/js/IntegerOp/BITCLEAR.js
+++ b/js/IntegerOp/BITCLEAR.js
@@ -93,4 +93,8 @@ function BITCLEAR() {
}
return new BasicBlock(this.x);
}
+ BITCLEAR.prototype.get_popup_title = function BITCLEAR() {
+ var set_param_popup_title = msprintf("Set %s block parameters","BITCLEAR");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js
index dac0cb40..4a3f42f8 100644
--- a/js/IntegerOp/BITSET.js
+++ b/js/IntegerOp/BITSET.js
@@ -91,4 +91,8 @@ function BITSET() {
}
return new BasicBlock(this.x);
}
+ BITSET.prototype.get_popup_title = function BITSET() {
+ var set_param_popup_title = msprintf("Set %s block parameters","BITSET");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js
index 6df2a9c6..1b74ea61 100644
--- a/js/IntegerOp/CONVERT.js
+++ b/js/IntegerOp/CONVERT.js
@@ -379,4 +379,8 @@ function CONVERT() {
}
return new BasicBlock(this.x);
}
+ CONVERT.prototype.get_popup_title = function CONVERT() {
+ var set_param_popup_title = msprintf("Set %s block parameters","CONVERT");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 059eb07d..1c17a98f 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -101,4 +101,8 @@ function DFLIPFLOP() {
DFLIPFLOP.prototype.set = function DFLIPFLOP() {
return new BasicBlock(this.x);
}
+ DFLIPFLOP.prototype.get_popup_title = function DFLIPFLOP() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index b089a1c4..10a1b68a 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -46,4 +46,8 @@ function DLATCH() {
DLATCH.prototype.set = function DLATCH() {
return new BasicBlock(this.x);
}
+ DLATCH.prototype.get_popup_title = function DLATCH() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index e3bb01e4..89dbf125 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -240,4 +240,8 @@ function EXTRACTBITS() {
}
return new BasicBlock(this.x);
}
+ EXTRACTBITS.prototype.get_popup_title = function EXTRACTBITS() {
+ var set_param_popup_title = msprintf("Set %s block parameters","EXTRACTBITS");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index 826e4ea2..ff3fffba 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -113,4 +113,8 @@ function INTMUL() {
}
return new BasicBlock(this.x);
}
+ INTMUL.prototype.get_popup_title = function INTMUL() {
+ var set_param_popup_title = msprintf("Set %s block parameters","INTMUL");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 60bc1c12..e6907cc5 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -95,4 +95,8 @@ function JKFLIPFLOP() {
var typ = newpar;
return new BasicBlock(this.x);
}
+ JKFLIPFLOP.prototype.get_popup_title = function JKFLIPFLOP() {
+ var set_param_popup_title = msprintf("Set %s block parameters","JKFLIPFLOP");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index eaba81ed..c891ef19 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -73,4 +73,8 @@ function LOGIC() {
}
return new BasicBlock(this.x);
}
+ LOGIC.prototype.get_popup_title = function LOGIC() {
+ var set_param_popup_title = msprintf("Set %s block parameters","LOGIC");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index 3a1f1b92..434e8206 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -130,4 +130,8 @@ function SHIFT() {
}
return new BasicBlock(this.x);
}
+ SHIFT.prototype.get_popup_title = function SHIFT() {
+ var set_param_popup_title = msprintf("Set %s block parameters","SHIFT");
+ return set_param_popup_title;
+ }
}
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 6db198f2..5b694318 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -79,4 +79,8 @@ function SRFLIPFLOP() {
var typ = newpar;
return new BasicBlock(this.x);
}
+ SRFLIPFLOP.prototype.get_popup_title = function SRFLIPFLOP() {
+ var set_param_popup_title = msprintf("Set %s block parameters","SRFLIPFLOP");
+ return set_param_popup_title;
+ }
}