diff options
Diffstat (limited to 'js/Events')
-rw-r--r-- | js/Events/ANDBLK.js | 2 | ||||
-rw-r--r-- | js/Events/ANDLOG_f.js | 2 | ||||
-rw-r--r-- | js/Events/CLKSOMV_f.js | 2 | ||||
-rw-r--r-- | js/Events/CLKSOM_f.js | 2 | ||||
-rw-r--r-- | js/Events/CLKSPLIT_f.js | 2 | ||||
-rw-r--r-- | js/Events/END_c.js | 2 | ||||
-rw-r--r-- | js/Events/EVTDLY_c.js | 2 | ||||
-rw-r--r-- | js/Events/EVTDLY_f.js | 2 | ||||
-rw-r--r-- | js/Events/EVTGEN_f.js | 2 | ||||
-rw-r--r-- | js/Events/EVTVARDLY.js | 2 | ||||
-rw-r--r-- | js/Events/HALT_f.js | 2 | ||||
-rw-r--r-- | js/Events/IFTHEL_f.js | 2 | ||||
-rw-r--r-- | js/Events/MCLOCK_f.js | 2 | ||||
-rw-r--r-- | js/Events/MFCLCK_f.js | 2 | ||||
-rw-r--r-- | js/Events/M_freq.js | 2 | ||||
-rw-r--r-- | js/Events/VirtualCLK0.js | 2 | ||||
-rw-r--r-- | js/Events/freq_div.js | 2 |
17 files changed, 34 insertions, 0 deletions
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js index ef00fcfa..440702c1 100644 --- a/js/Events/ANDBLK.js +++ b/js/Events/ANDBLK.js @@ -65,6 +65,7 @@ function ANDBLK() { this.x.model.firing = false; this.x.model.dep_ut = [false,false]; this.x.model.rpar = diagram; + return new BasicBlock(this.x); } ANDBLK.prototype.details = function ANDBLK() { return this.x; @@ -73,5 +74,6 @@ function ANDBLK() { } ANDBLK.prototype.set = function ANDBLK() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js index 17acfade..3c7e4366 100644 --- a/js/Events/ANDLOG_f.js +++ b/js/Events/ANDLOG_f.js @@ -10,6 +10,7 @@ function ANDLOG_f() { model.dep_ut = [false,false]; gr_i = []; this.x = standard_define([3,3],model,[],gr_i); + return new BasicBlock(this.x); } ANDLOG_f.prototype.details = function ANDLOG_f() { return this.x; @@ -18,5 +19,6 @@ function ANDLOG_f() { } ANDLOG_f.prototype.set = function ANDLOG_f() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js index b9489ab8..58fd04e9 100644 --- a/js/Events/CLKSOMV_f.js +++ b/js/Events/CLKSOMV_f.js @@ -10,6 +10,7 @@ function CLKSOMV_f() { model.dep_ut = [false,false]; gr_i = []; this.x = standard_define([2,2],model,[],gr_i); + return new BasicBlock(this.x); } CLKSOMV_f.prototype.details = function CLKSOMV_f() { return this.x; @@ -18,5 +19,6 @@ function CLKSOMV_f() { } CLKSOMV_f.prototype.set = function CLKSOMV_f() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js index 45f5aa6d..432fa19a 100644 --- a/js/Events/CLKSOM_f.js +++ b/js/Events/CLKSOM_f.js @@ -10,6 +10,7 @@ function CLKSOM_f() { model.dep_ut = [false,false]; gr_i = []; this.x = standard_define([1,1]/1.2,model,[],gr_i); + return new BasicBlock(this.x); } CLKSOM_f.prototype.details = function CLKSOM_f() { return this.x; @@ -18,5 +19,6 @@ function CLKSOM_f() { } CLKSOM_f.prototype.set = function CLKSOM_f() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js index c3792fc2..bc85c84b 100644 --- a/js/Events/CLKSPLIT_f.js +++ b/js/Events/CLKSPLIT_f.js @@ -9,6 +9,7 @@ function CLKSPLIT_f() { model.firing = [false,false,false]; model.dep_ut = [false,false]; this.x = standard_define([1,1]/3,model,[],[]); + return new BasicBlock(this.x); } CLKSPLIT_f.prototype.details = function CLKSPLIT_f() { return this.x; @@ -17,5 +18,6 @@ function CLKSPLIT_f() { } CLKSPLIT_f.prototype.set = function CLKSPLIT_f() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/END_c.js b/js/Events/END_c.js index c385c9aa..26041f2a 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -12,6 +12,7 @@ function END_c() { exprs = string(tf); gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } END_c.prototype.details = function END_c() { return this.x; @@ -36,5 +37,6 @@ function END_c() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js index 2946d381..1fae97ea 100644 --- a/js/Events/EVTDLY_c.js +++ b/js/Events/EVTDLY_c.js @@ -14,6 +14,7 @@ function EVTDLY_c() { exprs = [[string(dt)],[sci2exp(ff)]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } EVTDLY_c.prototype.details = function EVTDLY_c() { return this.x; @@ -43,5 +44,6 @@ function EVTDLY_c() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index 48180c10..010d429b 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -14,6 +14,7 @@ function EVTDLY_f() { exprs = [[string(dt)],[sci2exp(ff)]]; gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } EVTDLY_f.prototype.details = function EVTDLY_f() { return this.x; @@ -43,5 +44,6 @@ function EVTDLY_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index f2966e46..804c5a0c 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -11,6 +11,7 @@ function EVTGEN_f() { exprs = string(tt); gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } EVTGEN_f.prototype.details = function EVTGEN_f() { return this.x; @@ -35,5 +36,6 @@ function EVTGEN_f() { this.x.model = model; break; } + return new BasicBlock(this.x); } } diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index ac96bcd5..57e9cc92 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -13,6 +13,7 @@ function EVTVARDLY() { exprs = string(model.firing); gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } EVTVARDLY.prototype.details = function EVTVARDLY() { return this.x; @@ -35,5 +36,6 @@ function EVTVARDLY() { this.x.model = model; break; } + return new BasicBlock(this.x); } } diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index 897b61c0..408678a0 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -12,6 +12,7 @@ function HALT_f() { exprs = string(n); gr_i = []; this.x = standard_define([2,2],model,exprs,gr_i); + return new BasicBlock(this.x); } HALT_f.prototype.details = function HALT_f() { return this.x; @@ -36,5 +37,6 @@ function HALT_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index a3ea4b20..5dd2d712 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -16,6 +16,7 @@ function IFTHEL_f() { gr_i = []; exprs = [[string(model.in1)],[string(model.nmode)]]; this.x = standard_define([3,3],model,exprs,gr_i); + return new BasicBlock(this.x); } IFTHEL_f.prototype.details = function IFTHEL_f() { return this.x; @@ -57,5 +58,6 @@ function IFTHEL_f() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js index e0beef45..48fff47b 100644 --- a/js/Events/MCLOCK_f.js +++ b/js/Events/MCLOCK_f.js @@ -67,6 +67,7 @@ function MCLOCK_f() { this.x.model.blocktype = "h"; this.x.model.rpar = diagram; this.x.graphics.peout = [[0],[0]]; + return new BasicBlock(this.x); } MCLOCK_f.prototype.details = function MCLOCK_f() { return this.x; @@ -92,5 +93,6 @@ function MCLOCK_f() { this.x = arg1; y = 0; typ = newpar; + return new BasicBlock(this.x); } } diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 1dbc294f..517bf43c 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -16,6 +16,7 @@ function MFCLCK_f() { exprs = [[string(dt)],[string(nn)]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } MFCLCK_f.prototype.details = function MFCLCK_f() { return this.x; @@ -38,5 +39,6 @@ function MFCLCK_f() { this.x.graphics = graphics; this.x.model = model; } + return new BasicBlock(this.x); } } diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js index ac3d3246..9b42b389 100644 --- a/js/Events/M_freq.js +++ b/js/Events/M_freq.js @@ -13,6 +13,7 @@ function M_freq() { exprs = [[sci2exp([[1],[2]])],[sci2exp([[0],[0]])]]; gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); + return new BasicBlock(this.x); } M_freq.prototype.details = function M_freq() { return this.x; @@ -60,5 +61,6 @@ function M_freq() { break; } } + return new BasicBlock(this.x); } } diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js index f4cf1f54..6ceb82fa 100644 --- a/js/Events/VirtualCLK0.js +++ b/js/Events/VirtualCLK0.js @@ -11,6 +11,7 @@ function VirtualCLK0() { model.dep_ut = [false,false]; exprs = []; this.x = standard_define([2,2],model,exprs," "); + return new BasicBlock(this.x); } VirtualCLK0.prototype.details = function VirtualCLK0() { return this.x; @@ -19,5 +20,6 @@ function VirtualCLK0() { } VirtualCLK0.prototype.set = function VirtualCLK0() { this.x = arg1; + return new BasicBlock(this.x); } } diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index d3a993b4..6fcb6958 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -105,6 +105,7 @@ function freq_div() { model.rpar = scs_m_1; gr_i = []; this.x = standard_define([3,2],model,[],gr_i); + return new BasicBlock(this.x); } freq_div.prototype.details = function freq_div() { return this.x; @@ -195,5 +196,6 @@ function freq_div() { } this.x = arg1; typ = newpar; + return new BasicBlock(this.x); } } |