diff options
Diffstat (limited to 'js/Events')
-rw-r--r-- | js/Events/ANDBLK.js | 1 | ||||
-rw-r--r-- | js/Events/ANDLOG_f.js | 1 | ||||
-rw-r--r-- | js/Events/CLKSOMV_f.js | 1 | ||||
-rw-r--r-- | js/Events/CLKSOM_f.js | 1 | ||||
-rw-r--r-- | js/Events/CLKSPLIT_f.js | 1 | ||||
-rw-r--r-- | js/Events/END_c.js | 6 | ||||
-rw-r--r-- | js/Events/EVTDLY_c.js | 7 | ||||
-rw-r--r-- | js/Events/EVTDLY_f.js | 7 | ||||
-rw-r--r-- | js/Events/EVTGEN_f.js | 6 | ||||
-rw-r--r-- | js/Events/EVTVARDLY.js | 6 | ||||
-rw-r--r-- | js/Events/HALT_f.js | 6 | ||||
-rw-r--r-- | js/Events/IFTHEL_f.js | 7 | ||||
-rw-r--r-- | js/Events/MCLOCK_f.js | 1 | ||||
-rw-r--r-- | js/Events/MFCLCK_f.js | 11 | ||||
-rw-r--r-- | js/Events/M_freq.js | 7 | ||||
-rw-r--r-- | js/Events/VirtualCLK0.js | 1 | ||||
-rw-r--r-- | js/Events/freq_div.js | 7 |
17 files changed, 75 insertions, 2 deletions
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js index 015e942d..c21e23dd 100644 --- a/js/Events/ANDBLK.js +++ b/js/Events/ANDBLK.js @@ -79,4 +79,5 @@ function ANDBLK() { ANDBLK.prototype.get_popup_title = function ANDBLK() { return; } + ANDBLK.prototype.getContainer = function ANDBLK() { return new BasicBlock(this.x); } } diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js index e6dc330b..8b04cdd9 100644 --- a/js/Events/ANDLOG_f.js +++ b/js/Events/ANDLOG_f.js @@ -24,4 +24,5 @@ function ANDLOG_f() { ANDLOG_f.prototype.get_popup_title = function ANDLOG_f() { return; } + ANDLOG_f.prototype.getContainer = function ANDLOG_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js index e8c6f920..4507f100 100644 --- a/js/Events/CLKSOMV_f.js +++ b/js/Events/CLKSOMV_f.js @@ -24,4 +24,5 @@ function CLKSOMV_f() { CLKSOMV_f.prototype.get_popup_title = function CLKSOMV_f() { return; } + CLKSOMV_f.prototype.getContainer = function CLKSOMV_f() { return new RoundBlock(this.x); } } diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js index 4fc541d7..b16ce252 100644 --- a/js/Events/CLKSOM_f.js +++ b/js/Events/CLKSOM_f.js @@ -24,4 +24,5 @@ function CLKSOM_f() { CLKSOM_f.prototype.get_popup_title = function CLKSOM_f() { return; } + CLKSOM_f.prototype.getContainer = function CLKSOM_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js index 6b00da1f..e56d8c68 100644 --- a/js/Events/CLKSPLIT_f.js +++ b/js/Events/CLKSPLIT_f.js @@ -23,4 +23,5 @@ function CLKSPLIT_f() { CLKSPLIT_f.prototype.get_popup_title = function CLKSPLIT_f() { return; } + CLKSPLIT_f.prototype.getContainer = function CLKSPLIT_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/END_c.js b/js/Events/END_c.js index dbef2db3..e03dcf87 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -47,4 +47,10 @@ function END_c() { END_c.prototype.get_popup_title = function END_c() { return this.set_param_popup_title; } + END_c.prototype.importset = function END_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tf = ary[0]; + } + END_c.prototype.getContainer = function END_c() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js index 3c8e398f..32ccbf33 100644 --- a/js/Events/EVTDLY_c.js +++ b/js/Events/EVTDLY_c.js @@ -57,4 +57,11 @@ function EVTDLY_c() { EVTDLY_c.prototype.get_popup_title = function EVTDLY_c() { return this.set_param_popup_title; } + EVTDLY_c.prototype.importset = function EVTDLY_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.ff = ary[1]; + } + EVTDLY_c.prototype.getContainer = function EVTDLY_c() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index b9ae3462..9c933f9e 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -57,4 +57,11 @@ function EVTDLY_f() { EVTDLY_f.prototype.get_popup_title = function EVTDLY_f() { return this.set_param_popup_title; } + EVTDLY_f.prototype.importset = function EVTDLY_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.ff = ary[1]; + } + EVTDLY_f.prototype.getContainer = function EVTDLY_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index 38f785c0..28c63462 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -46,4 +46,10 @@ function EVTGEN_f() { EVTGEN_f.prototype.get_popup_title = function EVTGEN_f() { return this.set_param_popup_title; } + EVTGEN_f.prototype.importset = function EVTGEN_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tt = ary[0]; + } + EVTGEN_f.prototype.getContainer = function EVTGEN_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index dea4f4e1..8a6a39ac 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -46,4 +46,10 @@ function EVTVARDLY() { EVTVARDLY.prototype.get_popup_title = function EVTVARDLY() { return this.set_param_popup_title; } + EVTVARDLY.prototype.importset = function EVTVARDLY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.fir = ary[0]; + } + EVTVARDLY.prototype.getContainer = function EVTVARDLY() { return new BasicBlock(this.x); } } diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index 4fc8a9c8..cc851209 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -47,4 +47,10 @@ function HALT_f() { HALT_f.prototype.get_popup_title = function HALT_f() { return this.set_param_popup_title; } + HALT_f.prototype.importset = function HALT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.n = ary[0]; + } + HALT_f.prototype.getContainer = function HALT_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index 37ef1299..be153255 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -79,4 +79,11 @@ function IFTHEL_f() { IFTHEL_f.prototype.get_popup_title = function IFTHEL_f() { return this.set_param_popup_title; } + IFTHEL_f.prototype.importset = function IFTHEL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.inh = ary[0]; + this.nmod = ary[1]; + } + IFTHEL_f.prototype.getContainer = function IFTHEL_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js index dcf736a5..f8cd1604 100644 --- a/js/Events/MCLOCK_f.js +++ b/js/Events/MCLOCK_f.js @@ -98,4 +98,5 @@ function MCLOCK_f() { MCLOCK_f.prototype.get_popup_title = function MCLOCK_f() { return; } + MCLOCK_f.prototype.getContainer = function MCLOCK_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 9ba515f3..d8d24bc2 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -25,8 +25,8 @@ function MFCLCK_f() { var exprs = this.graphics.exprs; this.set_param_popup_title = "Set Multifrequency clock parameters"; var options = { - dt:["basic period (1/f)",this.dt], - nn:["multiply by (n)",this.nn], + dt:["basic period (1/f)",this.dt], + nn:["multiply by (n)",this.nn], } return options; } @@ -51,4 +51,11 @@ function MFCLCK_f() { MFCLCK_f.prototype.get_popup_title = function MFCLCK_f() { return this.set_param_popup_title; } + MFCLCK_f.prototype.importset = function MFCLCK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.nn = ary[1]; + } + MFCLCK_f.prototype.getContainer = function MFCLCK_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js index da2cb73e..09c5871c 100644 --- a/js/Events/M_freq.js +++ b/js/Events/M_freq.js @@ -88,4 +88,11 @@ function M_freq() { M_freq.prototype.get_popup_title = function M_freq() { return this.set_param_popup_title; } + M_freq.prototype.importset = function M_freq() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.frequ = ary[0]; + this.offset = ary[1]; + } + M_freq.prototype.getContainer = function M_freq() { return new BasicBlock(this.x); } } diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js index fd0a5f9a..5e0e3840 100644 --- a/js/Events/VirtualCLK0.js +++ b/js/Events/VirtualCLK0.js @@ -25,4 +25,5 @@ function VirtualCLK0() { VirtualCLK0.prototype.get_popup_title = function VirtualCLK0() { return; } + VirtualCLK0.prototype.getContainer = function VirtualCLK0() { return new BasicBlock(this.x); } } diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index eca2fe7b..42e64ddb 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -228,4 +228,11 @@ function freq_div() { freq_div.prototype.get_popup_title = function freq_div() { return this.set_param_popup_title; } + freq_div.prototype.importset = function freq_div() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.%ph = ary[0]; + this.%df = ary[1]; + } + freq_div.prototype.getContainer = function freq_div() { return new BasicBlock(this.x); } } |