diff options
Diffstat (limited to 'js/IntegerOp/LOGIC.js')
-rw-r--r-- | js/IntegerOp/LOGIC.js | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js index d75902f8..a94c7b2a 100644 --- a/js/IntegerOp/LOGIC.js +++ b/js/IntegerOp/LOGIC.js @@ -1,5 +1,26 @@ /* autogenerated from "macros/IntegerOp/LOGIC.sci" */ function LOGIC() { +LOGIC.prototype.define = function LOGIC() { +mat=[0,0,0,1]; +model=scicos_model(); +model.sim=list("logic",4); +model.in1=[1,1]; +model.in2=[1,1]; +model.out=1; +model.out2=1; +model.evtin=1; +model.intyp=[5,5]; +model.outtyp=5; +model.opar=list(int8(mat)); +model.blocktype="c"; +model.firing=false; +model.dep_ut=[true,false]; +exprs=[sci2exp(mat),sci2exp(0)]; +gr_i=[]; +x=standard_define([2,2],model,exprs,gr_i); +} +LOGIC.prototype.details = function LOGIC() { +} LOGIC.prototype.get = function LOGIC() { } LOGIC.prototype.set = function LOGIC() { @@ -42,25 +63,4 @@ break } } } -LOGIC.prototype.define = function LOGIC() { -mat=[0,0,0,1]; -model=scicos_model(); -model.sim=list("logic",4); -model.in1=[1,1]; -model.in2=[1,1]; -model.out=1; -model.out2=1; -model.evtin=1; -model.intyp=[5,5]; -model.outtyp=5; -model.opar=list(int8(mat)); -model.blocktype="c"; -model.firing=false; -model.dep_ut=[true,false]; -exprs=[sci2exp(mat),sci2exp(0)]; -gr_i=[]; -x=standard_define([2,2],model,exprs,gr_i); -} -LOGIC.prototype.details = function LOGIC() { -} } |