bitslice_tr a--------------+ +------ci------+ b a1=ain | s<0> bitselect_tr | | fulladder_tr =sum s<1> b1=bin | s<2>--------------+ | | +------co------+
alu8ʺΤȤ cin a<0>+------------------------ci-------+ b<0>| | s<0>| bitslice_tr |sum<0> s<1>| | s<2>+------------------+ | +-----co-------+ a<1>+------------------------ci-------+ b<1>| | s<0>| bitslice_tr |sum<1> s<1>| | s<2>+------------------+ | +-----co-------+ a<2>+------------------------ci-------+ b<2>| | s<0>| bitslice_tr |sum<2> s<1>| | s<2>+------------------+ | +-----co-------+ a<3>+------------------------ci-------+ b<3>| | s<0>| bitslice_tr |sum<3> s<1>| | s<2>+------------------+ | +-----co-------+ a<4>+------------------------ci-------+ b<4>| | s<0>| bitslice_tr |sum<4> s<1>| | s<2>+------------------+ | +-----co-------+ a<5>+------------------------ci-------+ b<5>| | s<0>| bitslice_tr |sum<5> s<1>| | s<2>+------------------+ | +-----co-------+ a<6>+------------------------ci-------+ b<6>| | s<0>| bitslice_tr |sum<6> s<1>| | s<2>+------------------+ | +-----co-------+ a<7>+------------------------ci-------+ b<7>| | s<0>| bitslice_tr |sum<7> s<1>| | s<2>+------------------+ | +-----co-------+ cout
bitslice_tr a--------------+ +------ci------+ b a1=ain | s<0> bitselect_tr | | fulladder_tr =sum s<1> b1=bin | s<2>--------------+ +------co------+
ή(=Driveǽϡ) | I(1/dox)*(W/L)*V2 |
Load Capacitance | CWL/dox |
Gate Delay | DC/(I/V) = CV/I = L2/V |
PCV2*(1/D) = IV = (1/dox)*(W/L)*V3 | |
%Ϳ줿Ҹsem sem(clyde, age:6). sem(clyde, P) :- isa(elephant, P). sem(elephant1, birthYear:1990). sem(elephant1, P) :- isa(elephant, P). sem(elephant, color:gray). sem(elephant, P) :- isa(mammal, P). sem(mammal, bloodTemp:warm).
¹Է ?- sem(clyde, P). P = age:6 ; P = isa:elephant ; P = color:gray ; P = isa:mammal ; P = bloodTemp:warm ; No ?- sem(X, isa:mammal). X = clyde ; X = elephant1 ; X = elephant ; No
isa(X, P) :- sem(X, P).
Ǥɡ
isaطΤΤ°ǤȤΤͤġġisa(X, isa:X).
bitslice_tr a--------------+ +------ci------+ b b1=bin | s<0> bitselect_tr a1=ain =sum s<1> | | fulladder_tr | s<2>--------------+ +------co------+
:- op(100, yfx, :). %Ϳ줿Ҹsem sem(clyde, age:6). sem(clyde, P) :- isa(elephant, P). sem(elephant1, birthYear:1990). sem(elephant1, P) :- isa(elephant, P). sem(elephant, color:gray). sem(elephant, P) :- isa(mammal, P). sem(mammal, bloodTemp:warm). %Ҹisa %isaط°͡ isa(X, isa:X). %Ҥ°ͤѾ롣 isa(X, P) :- sem(X, P).ݡȥΤϡΤȼ¹Է㤬³
function f(n) var x; begin if n > 2 then x := f(n - 1) + f(n - 2) + f(n - 3); if n = 2 then x := 0; if n = 1 then x := 1; if n = 0 then x := 2; return x end; var a; begin a := 5; write f(a); writeln; end; ǡfθƤФϤ餫ߤʴǡ
[10] f(5) á á á á á á á f(4) f(3) f(2) ܡ [9] áá áá f(3) f(2) f(1)f(2) f(1) f(0) [4] [5] [6] [7] [8] á á f(2) f(1) f(0) [1] [2] [3]ǡդơ10ȴ