Old stuff/ecole_etude_fac_de_pau/licence_3/archi/tstore.v~
(Deskargatu)
//: version "1.8.6"
module soustr(s, b, a);
//: interface /sz:(40, 40) /bd:[ ]
supply0 w7; //: /sn:0 {0}(816,234)(816,230)(805,230){1}
supply1 [8:0] w45; //: /sn:0 {0}(361,639)(361,649)(396,649)(396,619){1}
input [7:0] b; //: /sn:0 {0}(171,287)(161,287)(161,297)(171,297)(171,309)(313,309)(313,322)(398,322){1}
//: {2}(402,322)(606,322){3}
//: {4}(400,320)(400,298)(389,298){5}
supply1 w14; //: /sn:0 {0}(715,275)(715,306)(760,306)(760,294)(775,294)(775,304){1}
supply0 w0; //: /sn:0 {0}(788,407)(799,407)(799,409){1}
supply1 w24; //: /sn:0 {0}(852,143)(852,165)(831,165)(831,175){1}
supply0 w44; //: /sn:0 {0}(388,605)(360,605)(360,615){1}
output [7:0] s; //: /sn:0 /dp:1 {0}(93,407)(255,407)(255,363)(339,363){1}
//: {2}(343,363)(349,363)(349,362)(353,362){3}
//: {4}(341,361)(341,298)(373,298){5}
supply0 w33; //: /sn:0 {0}(753,113)(753,100)(768,100)(768,103){1}
//: {2}(770,105)(821,105)(821,175){3}
//: {4}(766,105)(765,105)(765,113){5}
//: {6}(767,115)(811,115)(811,175){7}
//: {8}(765,117)(765,121){9}
//: {10}(767,123)(801,123)(801,175){11}
//: {12}(765,125)(765,133){13}
//: {14}(767,135)(791,135)(791,175){15}
//: {16}(765,137)(765,146){17}
//: {18}(767,148)(781,148)(781,175){19}
//: {20}(765,150)(765,151)(758,151)(758,155){21}
//: {22}(760,157)(771,157)(771,175){23}
//: {24}(758,159)(758,166)(761,166)(761,175){25}
supply0 w5; //: /sn:0 {0}(566,278)(566,268)(581,268)(581,312)(606,312){1}
input [7:0] a; //: /sn:0 /dp:1 {0}(232,189)(215,189)(215,217)(318,217)(318,198)(341,198){1}
//: {2}(345,198)(460,198){3}
//: {4}(343,196)(343,137)(374,137){5}
wire w32; //: /sn:0 {0}(589,453)(628,453)(628,438)(629,438){1}
//: {2}(633,438)(636,438){3}
//: {4}(640,438)(644,438){5}
//: {6}(648,438)(650,438){7}
//: {8}(654,438)(656,438){9}
//: {10}(660,438)(661,438){11}
//: {12}(665,438)(667,438){13}
//: {14}(671,438)(684,438){15}
//: {16}(669,440)(669,523)(585,523){17}
//: {18}(663,440)(663,513)(585,513){19}
//: {20}(658,440)(658,503)(585,503){21}
//: {22}(652,440)(652,493)(586,493){23}
//: {24}(646,440)(646,483)(585,483){25}
//: {26}(638,440)(638,473)(587,473){27}
//: {28}(631,440)(631,463)(588,463){29}
wire [7:0] w6; //: /sn:0 {0}(476,198)(672,198){1}
wire w61; //: /sn:0 {0}(552,621)(518,621)(518,623)(485,623){1}
wire w46; //: /sn:0 {0}(585,498)(692,498){1}
//: {2}(696,498)(723,498){3}
//: {4}(694,500)(694,648)(571,648){5}
wire [8:0] w16; //: /sn:0 {0}(748,393)(748,317)(612,317){1}
wire w4; //: /sn:0 {0}(700,438)(703,438){1}
//: {2}(707,438)(710,438){3}
//: {4}(714,438)(723,438){5}
//: {6}(712,436)(712,428)(541,428)(541,593)(485,593){7}
//: {8}(705,440)(705,583)(659,583){9}
//: {10}(655,583)(652,583){11}
//: {12}(648,583)(647,583){13}
//: {14}(643,583)(642,583){15}
//: {16}(638,583)(636,583){17}
//: {18}(632,583)(627,583){19}
//: {20}(623,583)(618,583){21}
//: {22}(614,583)(609,583)(609,603)(575,603){23}
//: {24}(616,585)(616,613)(574,613){25}
//: {26}(625,585)(625,623)(573,623){27}
//: {28}(634,585)(634,633)(571,633){29}
//: {30}(640,585)(640,643)(572,643){31}
//: {32}(645,585)(645,653)(571,653){33}
//: {34}(650,585)(650,663)(571,663){35}
//: {36}(657,585)(657,673)(571,673){37}
wire [7:0] w15; //: /sn:0 {0}(797,216)(797,200)(796,200)(796,181){1}
wire w38; //: /sn:0 {0}(361,517)(361,497)(351,497)(351,477)(361,477){1}
wire w69; //: /sn:0 {0}(415,144)(389,144)(389,152)(380,152){1}
wire [7:0] w51; //: /sn:0 {0}(393,486)(371,486)(371,517){1}
wire [7:0] w3; //: /sn:0 {0}(781,245)(781,294)(785,294)(785,304){1}
wire w37; //: /sn:0 {0}(587,468)(685,468){1}
//: {2}(689,468)(713,468)(713,468)(723,468){3}
//: {4}(687,470)(687,618)(573,618){5}
wire w66; //: /sn:0 {0}(415,129)(393,129)(393,122)(380,122){1}
wire w64; //: /sn:0 {0}(550,671)(517,671)(517,673)(485,673){1}
wire w34; //: /sn:0 {0}(588,458)(679,458){1}
//: {2}(683,458)(713,458)(713,458)(723,458){3}
//: {4}(681,460)(681,608)(574,608){5}
wire w63; //: /sn:0 {0}(415,124)(403,124)(403,112)(380,112){1}
wire w43; //: /sn:0 {0}(586,488)(690,488){1}
//: {2}(694,488)(723,488){3}
//: {4}(692,490)(692,638)(572,638){5}
wire [8:0] w21; //: /sn:0 {0}(729,478)(764,478)(764,422){1}
wire w54; //: /sn:0 {0}(564,521)(486,521){1}
wire w67; //: /sn:0 {0}(415,134)(389,134)(389,132)(380,132){1}
wire w31; //: /sn:0 {0}(486,451)(568,451){1}
wire w58; //: /sn:0 {0}(550,631)(517,631)(517,633)(485,633){1}
wire w28; //: /sn:0 {0}(486,471)(566,471){1}
wire w23; //: /sn:0 {0}(550,661)(517,661)(517,663)(485,663){1}
wire [8:0] w41; //: /sn:0 {0}(366,523)(366,560)(412,560)(412,590){1}
wire [8:0] w36; //: /sn:0 {0}(479,633)(428,633)(428,619){1}
wire w65; //: /sn:0 {0}(338,278)(324,278)(324,178)(466,178){1}
//: {2}(468,176)(468,171){3}
//: {4}(468,167)(468,136)(436,136){5}
//: {6}(466,169)(376,169)(376,377)(361,377)(361,367){7}
//: {8}(468,180)(468,193){9}
wire w35; //: /sn:0 {0}(554,601)(519,601)(519,603)(485,603){1}
wire w40; //: /sn:0 {0}(585,478)(687,478){1}
//: {2}(691,478)(713,478)(713,478)(723,478){3}
//: {4}(689,480)(689,628)(571,628){5}
wire w30; //: /sn:0 {0}(589,448)(674,448){1}
//: {2}(678,448)(723,448){3}
//: {4}(676,450)(676,598)(575,598){5}
wire w71; //: /sn:0 {0}(415,154)(389,154)(389,172)(380,172){1}
wire w68; //: /sn:0 {0}(415,139)(389,139)(389,142)(380,142){1}
wire w22; //: /sn:0 {0}(436,605)(454,605)(454,597){1}
wire [7:0] w53; //: /sn:0 {0}(409,486)(416,486)(416,415){1}
wire [7:0] w59; //: /sn:0 {0}(369,362)(419,362)(419,394){1}
wire w62; //: /sn:0 {0}(415,119)(411,119)(411,102)(380,102){1}
wire w57; //: /sn:0 {0}(354,278)(366,278)(366,313)(381,313)(381,303){1}
wire w49; //: /sn:0 {0}(585,508)(696,508){1}
//: {2}(700,508)(723,508){3}
//: {4}(698,510)(698,658)(571,658){5}
wire w11; //: /sn:0 {0}(486,511)(564,511){1}
wire [8:0] w12; //: /sn:0 {0}(780,393)(780,310){1}
wire w70; //: /sn:0 {0}(415,149)(389,149)(389,162)(380,162){1}
wire [7:0] w10; //: /sn:0 {0}(688,198)(765,198)(765,216){1}
wire w27; //: /sn:0 {0}(551,641)(518,641)(518,643)(485,643){1}
wire w13; //: /sn:0 {0}(757,230)(735,230)(735,221){1}
wire w52; //: /sn:0 {0}(585,518)(699,518){1}
//: {2}(703,518)(723,518){3}
//: {4}(701,520)(701,668)(571,668){5}
wire w48; //: /sn:0 {0}(564,501)(486,501){1}
wire [7:0] w47; //: /sn:0 {0}(421,415)(421,486)(480,486){1}
wire w29; //: /sn:0 {0}(486,461)(567,461){1}
wire w9; //: /sn:0 {0}(740,407)(723,407)(723,398){1}
wire w42; //: /sn:0 {0}(564,481)(486,481){1}
wire w50; //: /sn:0 {0}(550,651)(517,651)(517,653)(485,653){1}
wire w26; //: /sn:0 {0}(486,491)(565,491){1}
wire w39; //: /sn:0 {0}(553,611)(519,611)(519,613)(485,613){1}
//: enddecls
and g61 (.I0(w37), .I1(w4), .Z(w61)); //: @(562,621) /sn:0 /R:2 /w:[ 5 27 0 ]
//: supply0 g4 (w33) @(753,119) /sn:0 /w:[ 0 ]
//: joint g8 (w33) @(768, 105) /w:[ 2 1 4 -1 ]
//: supply0 g34 (w5) @(566,284) /sn:0 /w:[ 0 ]
not g37 (.I(w4), .Z(w32)); //: @(694,438) /sn:0 /R:2 /w:[ 0 15 ]
//: joint g51 (w32) @(663, 438) /w:[ 12 -1 11 18 ]
and g55 (.I0(w30), .I1(w4), .Z(w35)); //: @(564,601) /sn:0 /R:2 /w:[ 5 23 0 ]
and g58 (.I0(w43), .I1(w4), .Z(w27)); //: @(561,641) /sn:0 /R:2 /w:[ 5 31 0 ]
or g86 (.I0(w53), .I1(w47), .Z(w59)); //: @(419,404) /sn:0 /R:1 /w:[ 1 0 1 ]
//: joint g13 (a) @(343, 198) /w:[ 2 4 1 -1 ]
//: output g3 (s) @(96,407) /sn:0 /R:2 /w:[ 0 ]
not g89 (.I(w65), .Z(w57)); //: @(344,278) /sn:0 /w:[ 0 0 ]
//: joint g65 (w4) @(625, 583) /w:[ 19 -1 20 26 ]
//: joint g76 (w46) @(694, 498) /w:[ 2 -1 1 4 ]
//: joint g77 (w49) @(698, 508) /w:[ 2 -1 1 4 ]
//: comment g2 /dolink:0 /link:"" @(457,409) /sn:0 /R:3
//: /line:"si le chiffre resultat est positif"
//: /end
and g59 (.I0(w49), .I1(w4), .Z(w23)); //: @(560,661) /sn:0 /R:2 /w:[ 5 35 0 ]
//: joint g72 (w34) @(681, 458) /w:[ 2 -1 1 4 ]
//: input g1 (b) @(173,287) /sn:0 /R:2 /w:[ 0 ]
//: joint g64 (w4) @(616, 583) /w:[ 21 -1 22 24 ]
//: comment g16 /dolink:0 /link:"" @(443,687) /sn:0 /R:3
//: /line:"si le chiffre resultat est negatif"
//: /end
led g11 (.I(w9)); //: @(723,391) /sn:0 /w:[ 1 ] /type:0
//: joint g28 (w33) @(765, 123) /w:[ 10 9 -1 12 ]
//: joint g50 (w32) @(658, 438) /w:[ 10 -1 9 20 ]
//: joint g78 (w52) @(701, 518) /w:[ 2 -1 1 4 ]
led g87 (.I(w38)); //: @(368,477) /sn:0 /R:3 /w:[ 1 ] /type:0
//: comment g10 /dolink:0 /link:"" @(823,395) /sn:0 /R:3
//: /line:"addition du chiffre + le complement a2"
//: /end
//: supply1 g32 (w14) @(726,275) /sn:0 /w:[ 0 ]
//: supply0 g19 (w7) @(816,240) /sn:0 /w:[ 0 ]
//: joint g27 (w33) @(765, 135) /w:[ 14 13 -1 16 ]
and g38 (.I0(w30), .I1(w32), .Z(w31)); //: @(578,451) /sn:0 /R:2 /w:[ 0 0 1 ]
//: joint g69 (w4) @(650, 583) /w:[ 11 -1 12 34 ]
concat g53 (.I0(w54), .I1(w11), .I2(w48), .I3(w26), .I4(w42), .I5(w28), .I6(w29), .I7(w31), .Z(w47)); //: @(481,486) /sn:0 /R:2 /w:[ 1 0 1 0 1 0 0 0 1 ] /dr:1
and g57 (.I0(w46), .I1(w4), .Z(w50)); //: @(560,651) /sn:0 /R:2 /w:[ 5 33 0 ]
//: joint g75 (w43) @(692, 488) /w:[ 2 -1 1 4 ]
concat g9 (.I0(w71), .I1(w70), .I2(w69), .I3(w68), .I4(w67), .I5(w66), .I6(w63), .I7(w62), .Z(a)); //: @(375,137) /sn:0 /R:2 /w:[ 1 1 1 1 1 1 1 1 5 ] /dr:1
concat g31 (.I0(w3), .I1(w14), .Z(w12)); //: @(780,309) /sn:0 /R:3 /w:[ 1 1 1 ] /dr:1
add g15 (.A(w10), .B(w15), .S(w3), .CI(w7), .CO(w13)); //: @(781,232) /sn:0 /w:[ 1 0 0 1 0 ]
led g20 (.I(w13)); //: @(735,214) /sn:0 /w:[ 1 ] /type:0
//: joint g71 (w30) @(676, 448) /w:[ 2 -1 1 4 ]
and g39 (.I0(w34), .I1(w32), .Z(w29)); //: @(577,461) /sn:0 /R:2 /w:[ 0 29 1 ]
//: joint g67 (w4) @(640, 583) /w:[ 15 -1 16 30 ]
//: joint g68 (w4) @(645, 583) /w:[ 13 -1 14 32 ]
and g43 (.I0(w46), .I1(w32), .Z(w48)); //: @(574,501) /sn:0 /R:2 /w:[ 0 21 0 ]
//: joint g48 (w32) @(646, 438) /w:[ 6 -1 5 24 ]
not g17 (.I(w6), .Z(w10)); //: @(678,198) /sn:0 /w:[ 1 0 ]
//: joint g25 (w33) @(758, 157) /w:[ 22 21 -1 24 ]
//: joint g29 (w33) @(765, 115) /w:[ 6 5 -1 8 ]
and g62 (.I0(w52), .I1(w4), .Z(w64)); //: @(560,671) /sn:0 /R:2 /w:[ 5 37 0 ]
//: joint g73 (w37) @(687, 468) /w:[ 2 -1 1 4 ]
bufif1 g88 (.Z(s), .I(b), .E(w57)); //: @(383,298) /sn:0 /R:2 /w:[ 5 5 1 ]
and g42 (.I0(w43), .I1(w32), .Z(w26)); //: @(575,491) /sn:0 /R:2 /w:[ 0 23 1 ]
//: joint g52 (w32) @(669, 438) /w:[ 14 -1 13 16 ]
//: joint g63 (w4) @(705, 438) /w:[ 2 -1 1 8 ]
concat g83 (.I0(w51), .I1(w38), .Z(w41)); //: @(366,522) /sn:0 /R:3 /w:[ 1 0 0 ] /dr:1
//: joint g74 (w40) @(689, 478) /w:[ 2 -1 1 4 ]
and g56 (.I0(w34), .I1(w4), .Z(w39)); //: @(563,611) /sn:0 /R:2 /w:[ 5 25 0 ]
add g14 (.A(w16), .B(w12), .S(w21), .CI(w0), .CO(w9)); //: @(764,409) /sn:0 /w:[ 0 0 1 0 0 ]
//: joint g80 (w4) @(712, 438) /w:[ 4 6 3 -1 ]
concat g79 (.I0(w64), .I1(w23), .I2(w50), .I3(w27), .I4(w58), .I5(w61), .I6(w39), .I7(w35), .I8(w4), .Z(w36)); //: @(480,633) /sn:0 /R:2 /w:[ 1 1 1 1 1 1 1 1 7 0 ] /dr:1
and g44 (.I0(w49), .I1(w32), .Z(w11)); //: @(574,511) /sn:0 /R:2 /w:[ 0 19 1 ]
//: joint g47 (w32) @(638, 438) /w:[ 4 -1 3 26 ]
//: joint g94 (w65) @(468, 169) /w:[ -1 4 6 3 ]
//: joint g95 (s) @(341, 363) /w:[ 2 4 1 -1 ]
concat g21 (.I0(w24), .I1(w33), .I2(w33), .I3(w33), .I4(w33), .I5(w33), .I6(w33), .I7(w33), .Z(w15)); //: @(796,180) /sn:0 /R:3 /w:[ 1 3 7 11 15 19 23 25 1 ] /dr:1
//: supply0 g84 (w44) @(360,621) /sn:0 /w:[ 1 ]
led g85 (.I(w22)); //: @(454,590) /sn:0 /w:[ 1 ] /type:0
bufif1 g92 (.Z(s), .I(w59), .E(w65)); //: @(363,362) /sn:0 /R:2 /w:[ 3 0 7 ]
//: supply1 g23 (w24) @(863,143) /sn:0 /w:[ 0 ]
and g41 (.I0(w40), .I1(w32), .Z(w42)); //: @(574,481) /sn:0 /R:2 /w:[ 0 25 0 ]
add g81 (.A(w36), .B(w45), .S(w41), .CI(w44), .CO(w22)); //: @(412,603) /sn:0 /R:2 /w:[ 1 1 1 0 0 ]
and g40 (.I0(w37), .I1(w32), .Z(w28)); //: @(576,471) /sn:0 /R:2 /w:[ 0 27 1 ]
and g60 (.I0(w40), .I1(w4), .Z(w58)); //: @(560,631) /sn:0 /R:2 /w:[ 5 29 0 ]
bufif1 g54 (.Z(w6), .I(a), .E(w65)); //: @(466,198) /sn:0 /w:[ 0 3 9 ]
//: joint g93 (b) @(400, 322) /w:[ 2 4 1 -1 ]
//: joint g26 (w33) @(765, 148) /w:[ 18 17 -1 20 ]
concat g35 (.I0(w52), .I1(w49), .I2(w46), .I3(w43), .I4(w40), .I5(w37), .I6(w34), .I7(w30), .I8(w4), .Z(w21)); //: @(728,478) /sn:0 /w:[ 3 3 3 3 3 3 3 3 5 0 ] /dr:0
and g45 (.I0(w52), .I1(w32), .Z(w54)); //: @(574,521) /sn:0 /R:2 /w:[ 0 17 0 ]
//: joint g46 (w32) @(631, 438) /w:[ 2 -1 1 28 ]
//: joint g70 (w4) @(657, 583) /w:[ 9 -1 10 36 ]
not g90 (.I(w51), .Z(w53)); //: @(399,486) /sn:0 /w:[ 0 0 ]
or g22 (.I0(w62), .I1(w63), .I2(w66), .I3(w67), .I4(w68), .I5(w69), .I6(w70), .I7(w71), .Z(w65)); //: @(426,136) /sn:0 /w:[ 0 0 0 0 0 0 0 0 5 ]
//: input g0 (a) @(234,189) /sn:0 /R:2 /w:[ 0 ]
//: supply1 g82 (w45) @(372,639) /sn:0 /w:[ 0 ]
//: joint g66 (w4) @(634, 583) /w:[ 17 -1 18 28 ]
//: comment g18 /dolink:0 /link:"" @(631,213) /sn:0 /R:3
//: /line:"complement a2"
//: /end
//: supply0 g12 (w0) @(799,415) /sn:0 /w:[ 1 ]
concat g33 (.I0(b), .I1(w5), .Z(w16)); //: @(611,317) /sn:0 /w:[ 3 1 1 ] /dr:0
//: joint g91 (w65) @(468, 178) /w:[ -1 2 1 8 ]
//: joint g49 (w32) @(652, 438) /w:[ 8 -1 7 22 ]
endmodule
module ramme(val, rw, adr, s);
//: interface /sz:(40, 40) /bd:[ ]
supply0 w0; //: /sn:0 /dp:1 {0}(367,425)(367,435)(352,435)(352,424)(301,424)(301,459){1}
input [7:0] val; //: /sn:0 {0}(477,399)(566,399)(566,388)(544,388){1}
input rw; //: /sn:0 {0}(470,316)(446,316){1}
//: {2}(442,316)(376,316){3}
//: {4}(374,314)(374,294)(366,294){5}
//: {6}(374,318)(374,343){7}
//: {8}(372,345)(333,345)(333,461)(342,461){9}
//: {10}(374,347)(374,362)(374,362)(374,375){11}
//: {12}(444,318)(444,343){13}
input [2:0] adr; //: /sn:0 {0}(356,398)(295,398){1}
output [7:0] s; //: /sn:0 {0}(452,348)(538,348)(538,349)(549,349){1}
wire w6; //: /sn:0 {0}(358,461)(381,461)(381,425){1}
wire [7:0] w7; //: /sn:0 {0}(461,399)(428,399){1}
//: {2}(426,397)(426,348)(436,348){3}
//: {4}(424,399)(407,399)(407,398)(391,398){5}
wire w10; //: /sn:0 {0}(469,404)(469,414)(496,414)(496,316)(486,316){1}
//: enddecls
bufif1 g8 (.Z(w7), .I(val), .E(w10)); //: @(471,399) /sn:0 /R:2 /w:[ 0 0 0 ]
//: supply0 g4 (w0) @(301,465) /sn:0 /w:[ 1 ]
//: joint g3 (rw) @(374, 316) /w:[ 3 4 -1 6 ]
not g2 (.I(rw), .Z(w6)); //: @(348,461) /sn:0 /w:[ 9 0 ]
bufif1 g1 (.Z(s), .I(w7), .E(rw)); //: @(442,348) /sn:0 /w:[ 0 3 13 ]
//: joint g11 (w7) @(426, 399) /w:[ 1 2 4 -1 ]
//: input g10 (val) @(542,388) /sn:0 /w:[ 1 ]
//: input g19 (rw) @(364,294) /sn:0 /w:[ 5 ]
//: joint g6 (rw) @(444, 316) /w:[ 1 -1 2 12 ]
//: input g7 (adr) @(293,398) /sn:0 /w:[ 1 ]
//: output g15 (s) @(546,349) /sn:0 /w:[ 1 ]
not g5 (.I(rw), .Z(w10)); //: @(476,316) /sn:0 /w:[ 0 1 ]
ram g0 (.A(adr), .D(w7), .WE(rw), .OE(w6), .CS(w0)); //: @(374,399) /sn:0 /w:[ 0 5 11 1 0 ]
//: joint g12 (rw) @(374, 345) /w:[ -1 7 8 10 ]
endmodule
module additi(s, b, a);
//: interface /sz:(40, 40) /bd:[ ]
input [7:0] b; //: /sn:0 {0}(390,101)(438,101)(438,154)(334,154)(334,181){1}
supply0 w0; //: /sn:0 {0}(342,195)(401,195)(401,219){1}
output [7:0] s; //: /sn:0 {0}(326,294)(318,294)(318,210){1}
input [7:0] a; //: /sn:0 {0}(168,100)(197,100)(197,154)(302,154)(302,181){1}
wire w2; //: /sn:0 {0}(294,195)(200,195)(200,207)(210,207){1}
//: enddecls
led g4 (.I(w2)); //: @(217,207) /sn:0 /R:3 /w:[ 1 ] /type:0
//: output g3 (s) @(323,294) /sn:0 /w:[ 0 ]
//: input g2 (b) @(388,101) /sn:0 /w:[ 0 ]
//: input g1 (a) @(166,100) /sn:0 /w:[ 0 ]
//: supply0 g5 (w0) @(401,225) /sn:0 /w:[ 1 ]
add g0 (.A(a), .B(b), .S(s), .CI(w0), .CO(w2)); //: @(318,197) /sn:0 /w:[ 1 1 1 0 0 ]
endmodule
module unite_centrale(used, b, s, a, ope);
//: interface /sz:(40, 40) /bd:[ ]
input [7:0] b; //: /sn:0 {0}(93,216)(103,216)(103,268)(303,268){1}
output used; //: /sn:0 /dp:1 {0}(522,137)(577,137)(577,145)(589,145)(589,185)(517,185){1}
input [2:0] ope; //: /sn:0 {0}(317,-79)(317,-52){1}
output [7:0] s; //: /sn:0 {0}(788,356)(875,356){1}
//: {2}(877,354)(877,343){3}
//: {4}(877,339)(877,247)(927,247){5}
//: {6}(875,341)(768,341){7}
//: {8}(877,358)(877,360)(877,360)(877,394){9}
//: {10}(875,396)(811,396)(811,396)(823,396){11}
//: {12}(877,398)(877,454)(844,454){13}
input [7:0] a; //: /sn:0 {0}(94,194)(224,194)(224,258)(303,258){1}
wire [7:0] w32; //: /sn:0 {0}(641,396)(807,396){1}
wire [15:0] w16; //: /sn:0 {0}(507,239)(490,239)(490,303)(368,303){1}
wire [7:0] w14; //: /sn:0 {0}(513,234)(563,234)(563,231)(596,231){1}
wire w56; //: /sn:0 {0}(430,140)(430,90)(390,90){1}
//: {2}(386,90)(306,90)(306,-10)(290,-10){3}
//: {4}(288,-12)(288,-13)(307,-13)(307,-46){5}
//: {6}(288,-8)(288,7)(288,7)(288,24){7}
//: {8}(388,92)(388,119)(388,119)(388,139){9}
wire [7:0] w4; //: /sn:0 {0}(596,249)(567,249)(567,244)(513,244){1}
wire [15:0] w3; //: /sn:0 {0}(309,263)(346,263)(346,301){1}
//: {2}(348,303)(352,303){3}
//: {4}(346,305)(346,316){5}
//: {6}(348,318)(372,318){7}
//: {8}(346,320)(346,387){9}
//: {10}(348,389)(376,389)(376,389)(407,389){11}
//: {12}(346,391)(346,446)(428,446){13}
wire [15:0] w34; //: /sn:0 {0}(444,446)(509,446){1}
wire [15:0] w31; //: /sn:0 {0}(423,389)(515,389){1}
wire [7:0] w23; //: /sn:0 {0}(521,384)(599,384){1}
wire [7:0] w20; //: /sn:0 {0}(531,294)(588,294)(588,291)(596,291){1}
wire [7:0] w25; //: /sn:0 {0}(515,451)(586,451)(586,464)(596,464){1}
wire w8; //: /sn:0 {0}(496,188)(427,188)(427,190)(417,190){1}
//: {2}(415,188)(415,161){3}
//: {4}(415,192)(415,258){5}
//: {6}(417,260)(815,260)(815,391){7}
//: {8}(415,262)(415,354){9}
//: {10}(413,356)(403,356)(403,350)(315,350)(315,312){11}
//: {12}(415,358)(415,384){13}
wire [7:0] w22; //: /sn:0 {0}(521,394)(589,394)(589,406)(599,406){1}
wire w17; //: /sn:0 {0}(333,40)(333,49)(391,49){1}
//: {2}(395,49)(435,49)(435,140){3}
//: {4}(393,51)(393,96)(393,96)(393,139){5}
wire w11; //: /sn:0 {0}(496,193)(447,193)(447,198)(437,198){1}
//: {2}(435,196)(435,161){3}
//: {4}(435,200)(435,230){5}
//: {6}(437,232)(836,232)(836,449){7}
//: {8}(435,234)(435,335)(436,335)(436,419){9}
//: {10}(434,421)(308,421)(308,389){11}
//: {12}(436,423)(436,441){13}
wire [7:0] w49; //: /sn:0 {0}(752,341)(707,341)(707,243)(638,243){1}
wire w12; //: /sn:0 {0}(366,40)(366,119){1}
//: {2}(368,121)(440,121)(440,140){3}
//: {4}(364,121)(343,121)(343,139){5}
wire w2; //: /sn:0 {0}(317,-46)(317,-29)(333,-29)(333,-12){1}
//: {2}(335,-10)(336,-10){3}
//: {4}(340,-10)(415,-10)(415,140){5}
//: {6}(338,-8)(338,139){7}
//: {8}(333,-8)(333,24){9}
wire w10; //: /sn:0 {0}(288,40)(288,71)(287,71)(287,79){1}
//: {2}(289,81)(410,81)(410,140){3}
//: {4}(287,83)(287,113)(333,113)(333,139){5}
wire w48; //: /sn:0 {0}(338,160)(338,166)(360,166)(360,174){1}
//: {2}(362,176)(372,176)(372,178)(496,178){3}
//: {4}(360,178)(360,208){5}
//: {6}(358,210)(336,210)(336,203){7}
//: {8}(360,212)(360,252){9}
//: {10}(362,254)(582,254)(582,305)(770,305)(770,311)(760,311)(760,336){11}
//: {12}(360,256)(360,298){13}
wire w52; //: /sn:0 {0}(393,160)(393,181){1}
//: {2}(395,183)(496,183){3}
//: {4}(393,185)(393,233){5}
//: {6}(391,235)(334,235)(334,233){7}
//: {8}(393,237)(393,269)(392,269){9}
//: {10}(388,269)(380,269)(380,313){11}
//: {12}(390,271)(390,309)(780,309)(780,351){13}
wire [7:0] w33; //: /sn:0 {0}(638,454)(828,454){1}
wire [15:0] w29; //: /sn:0 {0}(388,318)(514,318)(514,299)(525,299){1}
wire [7:0] w47; //: /sn:0 {0}(772,356)(673,356)(673,302)(638,302){1}
wire w50; //: /sn:0 {0}(398,139)(398,-15){1}
//: {2}(400,-17)(420,-17)(420,140){3}
//: {4}(398,-19)(398,-17)(368,-17){5}
//: {6}(366,-19)(366,-20)(327,-20)(327,-46){7}
//: {8}(366,-15)(366,3)(366,3)(366,24){9}
wire [7:0] w9; //: /sn:0 {0}(531,304)(586,304)(586,314)(596,314){1}
wire [7:0] w26; //: /sn:0 {0}(515,441)(586,441)(586,447)(596,447){1}
//: enddecls
multt g8 (.b(w25), .a(w26), .s(w33)); //: @(597, 434) /sz:(40, 40) /sn:0 /p:[ Li0>1 Li1>1 Ro0<0 ]
divv g4 (.b(w9), .a(w20), .s(w47)); //: @(597, 284) /sz:(40, 40) /sn:0 /p:[ Li0>1 Li1>1 Ro0<1 ]
//: joint g58 (w8) @(415, 190) /w:[ 1 2 -1 4 ]
//: joint g13 (w50) @(366, -17) /w:[ 5 6 -1 8 ]
and g3 (.I0(w12), .I1(w17), .I2(w56), .Z(w11)); //: @(435,151) /sn:0 /R:3 /w:[ 3 3 0 3 ]
bufif1 g55 (.Z(s), .I(w47), .E(w52)); //: @(778,356) /sn:0 /w:[ 0 0 13 ]
//: joint g37 (w11) @(435, 232) /w:[ 6 5 -1 8 ]
//: joint g34 (w2) @(338, -10) /w:[ 4 -1 3 6 ]
//: joint g76 (s) @(877, 356) /w:[ -1 2 1 8 ]
additi g2 (.b(w4), .a(w14), .s(w49)); //: @(597, 217) /sz:(40, 40) /sn:0 /p:[ Li0>0 Li1>1 Ro0<1 ]
//: joint g59 (w11) @(435, 198) /w:[ 1 2 -1 4 ]
and g1 (.I0(w50), .I1(w2), .I2(w10), .Z(w8)); //: @(415,151) /sn:0 /R:3 /w:[ 3 5 3 3 ]
bufif1 g64 (.Z(s), .I(w33), .E(w11)); //: @(834,454) /sn:0 /w:[ 13 1 7 ]
//: joint g11 (w2) @(333, -10) /w:[ 2 1 -1 8 ]
bufif1 g16 (.Z(w16), .I(w3), .E(w48)); //: @(358,303) /sn:0 /w:[ 1 3 13 ]
//: output g50 (used) @(525,137) /sn:0 /R:2 /w:[ 0 ]
//: joint g78 (s) @(877, 396) /w:[ -1 9 10 12 ]
bufif1 g28 (.Z(w29), .I(w3), .E(w52)); //: @(378,318) /sn:0 /w:[ 0 7 11 ]
//: joint g10 (w48) @(360, 254) /w:[ 10 9 -1 12 ]
//: joint g32 (w56) @(388, 90) /w:[ 1 -1 2 8 ]
concat g19 (.I0(w50), .I1(w2), .I2(w56), .Z(ope)); //: @(317,-51) /sn:0 /R:1 /w:[ 7 0 5 1 ] /dr:0
bufif1 g27 (.Z(w31), .I(w3), .E(w8)); //: @(413,389) /sn:0 /w:[ 0 11 13 ]
and g6 (.I0(w50), .I1(w17), .I2(w56), .Z(w52)); //: @(393,150) /sn:0 /R:3 /w:[ 0 5 9 0 ]
led g38 (.I(w48)); //: @(336,196) /sn:0 /w:[ 7 ] /type:0
//: joint g7 (w56) @(288, -10) /w:[ 3 4 -1 6 ]
bufif1 g57 (.Z(s), .I(w32), .E(w8)); //: @(813,396) /sn:0 /w:[ 11 1 7 ]
bufif1 g53 (.Z(s), .I(w49), .E(w48)); //: @(758,341) /sn:0 /w:[ 7 0 11 ]
soustr g9 (.b(w22), .a(w23), .s(w32)); //: @(600, 376) /sz:(40, 40) /sn:0 /p:[ Li0>1 Li1>1 Ro0<0 ]
//: joint g31 (w50) @(398, -17) /w:[ 2 4 -1 1 ]
not g20 (.I(w56), .Z(w10)); //: @(288,30) /sn:0 /R:3 /w:[ 7 0 ]
//: input g15 (b) @(91,216) /sn:0 /w:[ 0 ]
led g39 (.I(w52)); //: @(334,226) /sn:0 /w:[ 7 ] /type:0
led g43 (.I(w11)); //: @(308,382) /sn:0 /w:[ 11 ] /type:0
//: output g48 (s) @(924,247) /sn:0 /w:[ 5 ]
concat g17 (.I0(b), .I1(a), .Z(w3)); //: @(308,263) /sn:0 /w:[ 1 1 0 ] /dr:0
concat g25 (.I0(w22), .I1(w23), .Z(w31)); //: @(516,389) /sn:0 /R:2 /w:[ 0 0 1 ] /dr:1
bufif1 g29 (.Z(w34), .I(w3), .E(w11)); //: @(434,446) /sn:0 /w:[ 0 13 13 ]
or g52 (.I0(w48), .I1(w52), .I2(w8), .I3(w11), .Z(used)); //: @(507,185) /sn:0 /w:[ 3 3 0 0 1 ]
led g42 (.I(w8)); //: @(315,305) /sn:0 /w:[ 11 ] /type:0
//: joint g56 (w52) @(393, 183) /w:[ 2 1 -1 4 ]
and g5 (.I0(w12), .I1(w2), .I2(w10), .Z(w48)); //: @(338,150) /sn:0 /R:3 /w:[ 5 7 5 0 ]
//: input g14 (a) @(92,194) /sn:0 /w:[ 0 ]
//: joint g44 (w48) @(360, 210) /w:[ -1 5 6 8 ]
//: joint g47 (w11) @(436, 421) /w:[ -1 9 10 12 ]
not g21 (.I(w50), .Z(w12)); //: @(366,30) /sn:0 /R:3 /w:[ 9 0 ]
concat g24 (.I0(w9), .I1(w20), .Z(w29)); //: @(526,299) /sn:0 /R:2 /w:[ 0 0 1 ] /dr:1
//: joint g36 (w8) @(415, 260) /w:[ 6 5 -1 8 ]
concat g23 (.I0(w4), .I1(w14), .Z(w16)); //: @(508,239) /sn:0 /R:2 /w:[ 1 0 0 ] /dr:1
//: joint g41 (w3) @(346, 389) /w:[ 10 9 -1 12 ]
//: joint g54 (w48) @(360, 176) /w:[ 2 1 -1 4 ]
//: joint g40 (w3) @(346, 318) /w:[ 6 5 -1 8 ]
//: joint g35 (w12) @(366, 121) /w:[ 2 1 4 -1 ]
//: joint g22 (w10) @(287, 81) /w:[ 2 1 -1 4 ]
not g0 (.I(w2), .Z(w17)); //: @(333,30) /sn:0 /R:3 /w:[ 9 0 ]
concat g26 (.I0(w25), .I1(w26), .Z(w34)); //: @(510,446) /sn:0 /R:2 /w:[ 0 0 1 ] /dr:1
//: joint g45 (w52) @(393, 235) /w:[ -1 5 6 8 ]
//: joint g46 (w8) @(415, 356) /w:[ -1 9 10 12 ]
//: joint g12 (w52) @(390, 269) /w:[ 9 -1 10 12 ]
//: input g18 (ope) @(317,-81) /sn:0 /R:3 /w:[ 0 ]
//: joint g30 (w17) @(393, 49) /w:[ 2 -1 1 4 ]
//: joint g33 (w3) @(346, 303) /w:[ 2 1 -1 4 ]
//: joint g49 (s) @(877, 341) /w:[ -1 4 6 3 ]
endmodule
module multt(s, b, a);
//: interface /sz:(40, 40) /bd:[ ]
input [7:0] b; //: /sn:0 /dp:1 {0}(235,159)(235,122)(279,122)(279,97)(263,97){1}
output [7:0] s; //: /sn:0 {0}(219,188)(219,271)(245,271){1}
input [7:0] a; //: /sn:0 /dp:1 {0}(203,159)(203,124)(148,124)(148,97)(138,97){1}
//: enddecls
//: output g3 (s) @(242,271) /sn:0 /w:[ 1 ]
mult g2 (.A(a), .B(b), .P(s)); //: @(219,175) /sn:0 /w:[ 0 0 0 ]
//: input g1 (b) @(261,97) /sn:0 /w:[ 1 ]
//: input g0 (a) @(136,97) /sn:0 /w:[ 1 ]
endmodule
module ual; //: root_module
supply1 w38; //: /sn:0 {0}(-574,-506)(-574,-496)(-589,-496)(-589,-519)(-586,-519){1}
supply1 w3; //: /sn:0 {0}(-91,-466)(-91,-441)(-97,-441){1}
supply0 w31; //: /sn:0 {0}(-717,-90)(-732,-90)(-732,-86)(-742,-86){1}
//: {2}(-744,-88)(-744,-91)(-744,-91)(-744,-94){3}
//: {4}(-742,-96)(-729,-96)(-729,-100)(-717,-100){5}
//: {6}(-746,-96)(-756,-96)(-756,-84){7}
//: {8}(-744,-84)(-744,-78){9}
//: {10}(-742,-76)(-729,-76)(-729,-80)(-717,-80){11}
//: {12}(-744,-74)(-744,-68){13}
//: {14}(-742,-66)(-729,-66)(-729,-70)(-717,-70){15}
//: {16}(-744,-64)(-744,-60)(-717,-60){17}
supply0 w28; //: /sn:0 {0}(-588,-89)(-588,-83)(-587,-83)(-587,-76){1}
supply1 w26; //: /sn:0 {0}(-685,-121)(-685,-112)(-684,-112)(-684,-108){1}
wire [7:0] w32; //: /sn:0 {0}(-690,-70)(-700,-70)(-700,-75)(-711,-75){1}
wire [7:0] w6; //: /sn:0 /dp:1 {0}(-372,-349)(-372,-389){1}
//: {2}(-370,-391)(-275,-391){3}
//: {4}(-374,-391)(-476,-391){5}
//: {6}(-478,-393)(-478,-617)(-429,-617)(-429,-610){7}
//: {8}(-478,-389)(-478,-282)(-478,-282)(-478,-221){9}
wire w7; //: /sn:0 {0}(-831,-456)(-784,-456)(-784,-456)(-714,-456){1}
//: {2}(-710,-456)(-703,-456)(-681,-456)(-613,-456){3}
//: {4}(-712,-454)(-712,-352){5}
//: {6}(-710,-350)(-704,-350){7}
//: {8}(-712,-348)(-712,-295)(-673,-295){9}
wire [7:0] b; //: /sn:0 {0}(-369,-561)(-307,-561){1}
//: {2}(-303,-561)(-248,-561){3}
//: {4}(-305,-563)(-305,-572){5}
wire w45; //: /sn:0 /dp:1 {0}(-395,-683)(-395,-728)(-376,-728){1}
wire w46; //: /sn:0 /dp:1 {0}(-749,-255)(-735,-255){1}
//: {2}(-731,-255)(-630,-255)(-630,-288){3}
//: {4}(-628,-290)(-618,-290)(-618,-287)(-609,-287){5}
//: {6}(-632,-290)(-652,-290){7}
//: {8}(-733,-253)(-733,-231)(-727,-231){9}
wire w16; //: /sn:0 {0}(-718,-334)(-725,-334)(-725,-464){1}
//: {2}(-723,-466)(-651,-466)(-651,-466)(-613,-466){3}
//: {4}(-727,-466)(-774,-466)(-774,-466)(-831,-466){5}
wire w14; //: /sn:0 {0}(-633,-416)(-751,-416){1}
//: {2}(-755,-416)(-794,-416)(-794,-416)(-811,-416){3}
//: {4}(-815,-416)(-826,-416)(-826,-416)(-831,-416){5}
//: {6}(-813,-414)(-813,-147)(-799,-147){7}
//: {8}(-753,-414)(-753,-356)(-754,-356)(-754,-284){9}
wire h; //: /sn:0 {0}(-381,-540)(-381,-526){1}
//: {2}(-383,-524)(-510,-524){3}
//: {4}(-381,-522)(-381,-511){5}
//: {6}(-379,-509)(-183,-509)(-183,-436)(-173,-436){7}
//: {8}(-383,-509)(-392,-509)(-392,-489)(-298,-489)(-298,-8)(-679,-8)(-679,-32){9}
//: {10}(-381,-507)(-381,-489)(-379,-489){11}
wire [2:0] w15; //: /sn:0 {0}(-754,-263)(-754,-278){1}
wire w4; //: /sn:0 {0}(-242,-445)(-242,-454)(-219,-454)(-219,-532){1}
wire w19; //: /sn:0 /dp:1 {0}(-569,-304)(-569,-287)(-593,-287){1}
wire [7:0] w0; //: /sn:0 /dp:1 {0}(-136,-347)(-136,-389){1}
//: {2}(-136,-393)(-136,-425){3}
//: {4}(-138,-391)(-259,-391){5}
wire [7:0] w34; //: /sn:0 {0}(-874,-439)(-864,-439)(-864,-429)(-854,-429)(-854,-439){1}
//: {2}(-852,-441)(-837,-441){3}
//: {4}(-856,-441)(-857,-441)(-857,-494){5}
wire [2:0] w21; //: /sn:0 /dp:1 {0}(-387,-678)(-370,-678)(-370,-664)(-215,-664)(-215,-608){1}
wire [2:0] w43; //: /sn:0 {0}(-587,-684)(-587,-680){1}
//: {2}(-585,-678)(-403,-678){3}
//: {4}(-589,-678)(-600,-678)(-600,-466)(-607,-466){5}
wire w41; //: /sn:0 {0}(-764,-284)(-764,-417)(-762,-417)(-762,-424){1}
//: {2}(-760,-426)(-633,-426){3}
//: {4}(-764,-426)(-797,-426)(-797,-426)(-807,-426){5}
//: {6}(-811,-426)(-824,-426)(-824,-426)(-831,-426){7}
//: {8}(-809,-424)(-809,-157)(-799,-157){9}
wire w24; //: /sn:0 {0}(-596,-61)(-574,-61)(-574,-89){1}
wire w23; //: /sn:0 {0}(-484,-66)(-484,-59)(-457,-59)(-457,-134)(-467,-134){1}
wire w20; //: /sn:0 {0}(-407,-540)(-407,-500)(-395,-500)(-395,-485)(-405,-485){1}
wire [7:0] w36; //: /sn:0 {0}(-1027,-439)(-970,-439)(-970,-439)(-890,-439){1}
wire [7:0] w1; //: /sn:0 {0}(-136,-446)(-136,-567){1}
//: {2}(-136,-571)(-136,-594)(-136,-594)(-136,-617){3}
//: {4}(-138,-569)(-145,-569)(-145,-569)(-154,-569){5}
wire [7:0] w25; //: /sn:0 {0}(-669,-70)(-664,-70)(-664,-75)(-660,-75){1}
//: {2}(-658,-77)(-658,-116)(-599,-116){3}
//: {4}(-658,-73)(-658,-31)(-633,-31){5}
wire [7:0] w35; //: /sn:0 {0}(-396,-133)(-396,-119)(-428,-119){1}
//: {2}(-430,-121)(-430,-156)(-478,-156)(-478,-205){3}
//: {4}(-432,-119)(-501,-119){5}
wire w8; //: /sn:0 {0}(-688,-350)(-668,-350){1}
wire [7:0] w18; //: /sn:0 {0}(-492,-71)(-525,-71){1}
//: {2}(-527,-73)(-527,-119)(-517,-119){3}
//: {4}(-529,-71)(-547,-71)(-547,-116)(-564,-116){5}
wire w40; //: /sn:0 {0}(-586,-529)(-593,-529)(-593,-375){1}
//: {2}(-591,-373)(-315,-373)(-315,-409){3}
//: {4}(-313,-411)(-251,-411)(-251,-411)(-242,-411){5}
//: {6}(-238,-411)(-89,-411)(-89,-431)(-97,-431){7}
//: {8}(-240,-409)(-240,-373)(-265,-373){9}
//: {10}(-267,-375)(-267,-385)(-267,-385)(-267,-386){11}
//: {12}(-267,-371)(-267,-353){13}
//: {14}(-315,-413)(-315,-429){15}
//: {16}(-315,-433)(-315,-699)(-346,-699)(-346,-728)(-360,-728){17}
//: {18}(-317,-431)(-373,-431){19}
//: {20}(-595,-373)(-818,-373)(-818,-373)(-963,-373){21}
wire [2:0] w30; //: /sn:0 {0}(-793,-147)(-708,-147){1}
wire [1:0] w22; //: /sn:0 {0}(-627,-421)(-503,-421)(-503,-555){1}
//: {2}(-501,-557)(-466,-557){3}
//: {4}(-505,-557)(-509,-557)(-509,-559){5}
wire w17; //: /sn:0 {0}(-581,-139)(-581,-151)(-586,-151){1}
//: {2}(-588,-153)(-588,-154)(-540,-154)(-540,-134)(-511,-134){3}
//: {4}(-507,-134)(-483,-134){5}
//: {6}(-509,-132)(-509,-120)(-509,-120)(-509,-124){7}
//: {8}(-590,-151)(-616,-151){9}
//: {10}(-618,-153)(-618,-161)(-594,-161)(-594,-240){11}
//: {12}(-620,-151)(-633,-151){13}
//: {14}(-637,-151)(-674,-151)(-674,-142){15}
//: {16}(-635,-149)(-635,-61)(-612,-61){17}
wire w49; //: /sn:0 {0}(-674,-108)(-674,-126){1}
wire w12; //: /sn:0 {0}(-654,-436)(-754,-436)(-754,-436)(-831,-436){1}
wire w11; //: /sn:0 {0}(-831,-406)(-821,-406){1}
//: {2}(-817,-406)(-795,-406)(-795,-406)(-750,-406){3}
//: {4}(-746,-406)(-711,-406){5}
//: {6}(-748,-404)(-748,-290)(-744,-290)(-744,-284){7}
//: {8}(-819,-404)(-819,-137)(-799,-137){9}
wire w2; //: /sn:0 {0}(-647,-345)(-645,-345)(-645,-338){1}
//: {2}(-643,-336)(-430,-336)(-430,-399)(-344,-399)(-344,-426)(-373,-426){3}
//: {4}(-645,-334)(-645,-250)(-673,-250)(-673,-213){5}
//: {6}(-671,-211)(-577,-211){7}
//: {8}(-673,-209)(-673,-193)(-696,-193)(-696,-177){9}
//: {10}(-694,-175)(-680,-175){11}
//: {12}(-696,-173)(-696,-162)(-700,-162)(-700,-152){13}
wire w44; //: /sn:0 {0}(-673,-285)(-710,-285)(-710,-317){1}
//: {2}(-710,-321)(-710,-340)(-668,-340){3}
//: {4}(-712,-319)(-720,-319){5}
wire [2:0] w10; //: /sn:0 /dp:1 {0}(-754,-247)(-754,-46)(-768,-46){1}
//: {2}(-770,-48)(-770,-125)(-690,-125)(-690,-147)(-692,-147){3}
//: {4}(-770,-44)(-770,-35)(-717,-35){5}
wire w13; //: /sn:0 {0}(-831,-446)(-754,-446)(-754,-446)(-654,-446){1}
wire [1:0] w27; //: /sn:0 {0}(-648,-441)(-549,-441)(-549,-513){1}
wire w33; //: /sn:0 /dp:1 {0}(-449,-540)(-449,-428)(-394,-428){1}
wire [7:0] w5; //: /sn:0 {0}(-344,-637)(-344,-595){1}
//: {2}(-342,-593)(-326,-593){3}
//: {4}(-322,-593)(-248,-593){5}
//: {6}(-324,-591)(-324,-71)(-476,-71){7}
//: {8}(-346,-593)(-369,-593){9}
wire w29; //: /sn:0 {0}(-668,-345)(-693,-345)(-693,-336){1}
//: {2}(-695,-334)(-702,-334){3}
//: {4}(-693,-332)(-693,-290)(-673,-290){5}
wire w47; //: /sn:0 {0}(-831,-476)(-773,-476)(-775,-476)(-742,-476){1}
//: {2}(-738,-476)(-613,-476){3}
//: {4}(-740,-474)(-740,-319)(-736,-319){5}
wire w42; //: /sn:0 {0}(-556,-213)(-483,-213){1}
wire [1:0] w9; //: /sn:0 /dp:1 {0}(-549,-534)(-549,-593)(-517,-593){1}
//: {2}(-513,-593)(-466,-593){3}
//: {4}(-515,-591)(-515,-589)(-515,-589)(-515,-602){5}
wire w39; //: /sn:0 {0}(-1049,-373)(-1016,-373)(-1006,-373){1}
//: {2}(-1002,-373)(-979,-373){3}
//: {4}(-1004,-375)(-1004,-396)(-914,-396){5}
//: {6}(-912,-398)(-912,-456)(-882,-456)(-882,-444){7}
//: {8}(-912,-394)(-912,-216)(-577,-216){9}
//: enddecls
//: joint g4 (h) @(-381, -509) /w:[ 6 5 8 10 ]
bufif1 g61 (.Z(w35), .I(w18), .E(w17)); //: @(-511,-119) /sn:0 /w:[ 5 3 7 ]
//: joint g8 (w39) @(-912, -396) /w:[ -1 6 5 8 ]
//: joint g58 (w2) @(-645, -336) /w:[ 2 1 -1 4 ]
led g55 (.I(b)); //: @(-305,-579) /sn:0 /w:[ 5 ] /type:1
led g51 (.I(w43)); //: @(-587,-691) /sn:0 /w:[ 0 ] /type:1
not g34 (.I(w17), .Z(w24)); //: @(-606,-61) /sn:0 /w:[ 17 0 ]
concat g37 (.I0(w10), .I1(w31), .I2(w31), .I3(w31), .I4(w31), .I5(w31), .Z(w32)); //: @(-712,-75) /sn:0 /w:[ 5 17 15 11 0 5 1 ] /dr:0
//: switch g13 (w20) @(-422,-485) /sn:0 /w:[ 1 ] /st:1
//: supply1 g3 (w3) @(-80,-466) /sn:0 /w:[ 0 ]
bufif1 g86 (.Z(w21), .I(w43), .E(w45)); //: @(-397,-678) /sn:0 /w:[ 0 3 0 ]
not g89 (.I(w40), .Z(w45)); //: @(-366,-728) /sn:0 /R:2 /w:[ 17 1 ]
not g65 (.I(w16), .Z(w29)); //: @(-712,-334) /sn:0 /w:[ 0 3 ]
//: joint g2 (w40) @(-240, -411) /w:[ 6 -1 5 8 ]
//: supply1 g76 (w38) @(-563,-506) /sn:0 /w:[ 0 ]
//: joint g77 (w40) @(-593, -373) /w:[ 2 1 20 -1 ]
//: joint g59 (w31) @(-744, -86) /w:[ 1 2 -1 8 ]
bufif1 g72 (.Z(w6), .I(w35), .E(w42)); //: @(-478,-211) /sn:0 /R:1 /w:[ 9 3 1 ]
register g1 (.Q(w0), .D(w1), .EN(w40), .CLR(w3), .CK(h)); //: @(-136,-436) /sn:0 /w:[ 3 0 7 1 7 ]
//: joint g64 (w5) @(-324, -593) /w:[ 4 -1 3 6 ]
bufif1 g99 (.Z(w10), .I(w15), .E(w46)); //: @(-754,-257) /sn:0 /R:3 /w:[ 0 0 0 ]
//: joint g98 (w11) @(-748, -406) /w:[ 4 -1 3 6 ]
//: joint g96 (w41) @(-762, -426) /w:[ 2 -1 4 1 ]
bufif1 g16 (.Z(w6), .I(w0), .E(w40)); //: @(-265,-391) /sn:0 /R:2 /w:[ 3 5 11 ]
//: joint g11 (w1) @(-136, -569) /w:[ -1 2 4 1 ]
//: joint g103 (w25) @(-658, -75) /w:[ -1 2 1 4 ]
//: joint g10 (b) @(-305, -561) /w:[ 2 4 1 -1 ]
//: joint g78 (w2) @(-673, -211) /w:[ 6 5 -1 8 ]
//: joint g50 (w22) @(-503, -557) /w:[ 2 -1 4 1 ]
//: joint g87 (w6) @(-478, -391) /w:[ 5 6 -1 8 ]
//: switch g28 (w17) @(-594,-253) /sn:0 /R:3 /w:[ 11 ] /st:0
led g27 (.I(w35)); //: @(-396,-140) /sn:0 /w:[ 0 ] /type:1
//: supply0 g32 (w28) @(-587,-70) /sn:0 /w:[ 1 ]
concat g19 (.I0(w14), .I1(w41), .Z(w22)); //: @(-628,-421) /sn:0 /w:[ 0 3 0 ] /dr:0
led g102 (.I(w25)); //: @(-626,-31) /sn:0 /R:3 /w:[ 5 ] /type:1
unite_centrale g6 (.ope(w21), .b(b), .a(w5), .used(w4), .s(w1)); //: @(-247, -607) /sz:(92, 74) /sn:0 /p:[ Ti0>1 Li0>3 Li1>5 Bo0<1 Ro0<5 ]
led g69 (.I(w22)); //: @(-509,-566) /sn:0 /w:[ 5 ] /type:1
//: supply0 g38 (w31) @(-756,-78) /sn:0 /w:[ 7 ]
and g7 (.I0(w39), .I1(w2), .Z(w42)); //: @(-566,-213) /sn:0 /w:[ 9 7 0 ]
//: joint g9 (w5) @(-344, -593) /w:[ 2 1 8 -1 ]
led g53 (.I(w5)); //: @(-344,-644) /sn:0 /w:[ 0 ] /type:1
//: joint g75 (h) @(-381, -524) /w:[ -1 1 2 4 ]
led g57 (.I(w2)); //: @(-673,-175) /sn:0 /R:3 /w:[ 11 ] /type:0
//: joint g31 (w0) @(-136, -391) /w:[ -1 2 4 1 ]
not g20 (.I(w47), .Z(w44)); //: @(-730,-319) /sn:0 /w:[ 5 5 ]
not g15 (.I(w7), .Z(w8)); //: @(-698,-350) /sn:0 /w:[ 7 0 ]
//: joint g71 (w40) @(-315, -411) /w:[ 4 14 -1 3 ]
led g68 (.I(w34)); //: @(-857,-501) /sn:0 /w:[ 5 ] /type:1
//: joint g39 (w17) @(-509, -134) /w:[ 4 -1 3 6 ]
//: joint g67 (w2) @(-696, -175) /w:[ 10 9 -1 12 ]
ram g43 (.A(w25), .D(w18), .WE(w17), .OE(w24), .CS(w28)); //: @(-581,-115) /sn:0 /w:[ 3 5 0 1 0 ]
//: joint g48 (w31) @(-744, -66) /w:[ 14 13 -1 16 ]
//: joint g29 (w16) @(-725, -466) /w:[ 2 -1 4 1 ]
regg g25 (.w(w6), .a2(w22), .a1(w9), .clear(w20), .rw(w33), .h(h), .s2(b), .s1(w5)); //: @(-465, -609) /sz:(95, 68) /sn:0 /p:[ Ti0>7 Li0>3 Li1>3 Bi0>0 Bi1>0 Bi2>0 Ro0<0 Ro1<9 ]
clock g17 (.Z(h)); //: @(-366,-488) /sn:0 /R:2 /w:[ 11 ] /omega:100 /phi:0 /duty:50
bufif1 g73 (.Z(w34), .I(w36), .E(w39)); //: @(-884,-439) /sn:0 /w:[ 0 1 7 ]
//: joint g88 (w40) @(-315, -431) /w:[ -1 16 18 15 ]
not g62 (.I(w39), .Z(w40)); //: @(-973,-373) /sn:0 /w:[ 3 21 ]
led g104 (.I(w19)); //: @(-569,-311) /sn:0 /w:[ 0 ] /type:0
//: joint g107 (w17) @(-635, -151) /w:[ 13 -1 14 16 ]
//: supply1 g106 (w26) @(-674,-121) /sn:0 /w:[ 0 ]
concat g63 (.I0(w11), .I1(w14), .I2(w41), .Z(w30)); //: @(-794,-147) /sn:0 /w:[ 9 7 9 0 ] /dr:0
not g42 (.I(w17), .Z(w23)); //: @(-477,-134) /sn:0 /w:[ 5 1 ]
//: joint g52 (w6) @(-372, -391) /w:[ 2 -1 4 1 ]
//: joint g83 (w44) @(-710, -319) /w:[ -1 2 4 1 ]
register g74 (.Q(w9), .D(w27), .EN(w40), .CLR(w38), .CK(h)); //: @(-549,-524) /sn:0 /R:2 /w:[ 0 1 0 1 3 ]
//: joint g100 (w46) @(-630, -290) /w:[ 4 -1 6 3 ]
led g56 (.I(w4)); //: @(-242,-438) /sn:0 /R:2 /w:[ 0 ] /type:0
led g5 (.I(w1)); //: @(-136,-624) /sn:0 /w:[ 3 ] /type:1
bufif1 g14 (.Z(w18), .I(w5), .E(w23)); //: @(-482,-71) /sn:0 /R:2 /w:[ 0 7 0 ]
concat g95 (.I0(w11), .I1(w14), .I2(w41), .Z(w15)); //: @(-754,-279) /sn:0 /R:3 /w:[ 7 9 0 1 ] /dr:1
//: joint g44 (w17) @(-588, -151) /w:[ 1 2 8 -1 ]
//: joint g47 (w31) @(-744, -76) /w:[ 10 9 -1 12 ]
led g80 (.I(w40)); //: @(-267,-346) /sn:0 /R:2 /w:[ 13 ] /type:0
led g79 (.I(w46)); //: @(-720,-231) /sn:0 /R:3 /w:[ 9 ] /type:0
not g94 (.I(w46), .Z(w19)); //: @(-603,-287) /sn:0 /w:[ 5 1 ]
register g105 (.Q(w25), .D(w32), .EN(w49), .CLR(w26), .CK(h)); //: @(-679,-70) /sn:0 /R:1 /w:[ 0 0 0 1 9 ]
//: joint g24 (w47) @(-740, -476) /w:[ 2 -1 1 4 ]
concat g21 (.I0(w12), .I1(w13), .Z(w27)); //: @(-649,-441) /sn:0 /w:[ 0 1 0 ] /dr:0
//: dip g85 (w36) @(-1065,-439) /sn:0 /R:1 /w:[ 0 ] /st:0
//: switch g84 (w39) @(-1066,-373) /sn:0 /w:[ 0 ] /st:1
and g36 (.I0(w7), .I1(w29), .I2(w44), .Z(w46)); //: @(-662,-290) /sn:0 /w:[ 9 5 0 7 ]
//: joint g92 (w7) @(-712, -350) /w:[ 6 5 -1 8 ]
bufif1 g41 (.Z(w10), .I(w30), .E(w2)); //: @(-702,-147) /sn:0 /w:[ 3 1 13 ]
concat g23 (.I0(w7), .I1(w16), .I2(w47), .Z(w43)); //: @(-608,-466) /sn:0 /w:[ 3 3 3 5 ] /dr:0
//: joint g101 (w10) @(-770, -46) /w:[ 1 2 -1 4 ]
//: joint g60 (w31) @(-744, -96) /w:[ 4 -1 6 3 ]
led g54 (.I(w9)); //: @(-515,-609) /sn:0 /w:[ 5 ] /type:1
//: joint g40 (w18) @(-527, -71) /w:[ 1 2 4 -1 ]
//: joint g81 (w40) @(-267, -373) /w:[ 9 10 -1 12 ]
//: joint g93 (w46) @(-733, -255) /w:[ 2 -1 1 8 ]
or g70 (.I0(w40), .I1(w2), .Z(w33)); //: @(-384,-428) /sn:0 /R:2 /w:[ 19 3 1 ]
//: joint g46 (w14) @(-813, -416) /w:[ 3 -1 4 6 ]
//: joint g45 (w41) @(-809, -426) /w:[ 5 -1 6 8 ]
led g35 (.I(w0)); //: @(-136,-340) /sn:0 /R:2 /w:[ 0 ] /type:1
//: joint g26 (w7) @(-712, -456) /w:[ 2 -1 1 4 ]
and g22 (.I0(w8), .I1(w29), .I2(w44), .Z(w2)); //: @(-657,-345) /sn:0 /w:[ 1 0 3 0 ]
//: joint g0 (w34) @(-854, -441) /w:[ 2 -1 4 1 ]
//: joint g90 (w39) @(-1004, -373) /w:[ 2 4 1 -1 ]
//: joint g97 (w14) @(-753, -416) /w:[ 1 -1 2 8 ]
//: joint g66 (w35) @(-430, -119) /w:[ 1 2 4 -1 ]
led g82 (.I(w6)); //: @(-372,-342) /sn:0 /R:2 /w:[ 0 ] /type:1
//: joint g12 (w43) @(-587, -678) /w:[ 2 1 4 -1 ]
concat g18 (.I0(w11), .I1(w14), .I2(w41), .I3(w12), .I4(w13), .I5(w7), .I6(w16), .I7(w47), .Z(w34)); //: @(-836,-441) /sn:0 /R:2 /w:[ 0 5 7 1 0 0 5 0 3 ] /dr:1
not g108 (.I(w49), .Z(w17)); //: @(-674,-132) /sn:0 /R:1 /w:[ 1 15 ]
//: joint g30 (w11) @(-819, -406) /w:[ 2 -1 1 8 ]
//: joint g91 (w29) @(-693, -334) /w:[ -1 1 2 4 ]
//: joint g33 (w17) @(-618, -151) /w:[ 9 10 12 -1 ]
//: joint g49 (w9) @(-515, -593) /w:[ 2 -1 1 4 ]
endmodule
module regg(rw, clear, s2, s1, a1, a2, h, w);
//: interface /sz:(40, 40) /bd:[ ]
output [7:0] s2; //: /sn:0 {0}(518,14)(508,14)(508,29)(541,29)(541,118)(555,118)(555,154){1}
input [1:0] a2; //: /sn:0 {0}(-194,224)(-173,224)(-173,74)(602,74)(602,167)(578,167){1}
input h; //: /sn:0 {0}(551,423)(557,423){1}
//: {2}(559,421)(559,358)(547,358)(547,359)(537,359){3}
//: {4}(559,425)(559,503){5}
//: {6}(557,505)(512,505){7}
//: {8}(559,507)(559,551){9}
//: {10}(557,553)(476,553){11}
//: {12}(559,555)(559,617)(425,617){13}
input [7:0] w; //: /sn:0 /dp:1 {0}(549,672)(686,672)(686,589)(633,589){1}
input [1:0] a1; //: /sn:0 {0}(-183,411)(-60,411)(-60,415)(-50,415){1}
//: {2}(-48,413)(-48,145)(341,145)(341,165)(310,165){3}
//: {4}(-48,417)(-48,529)(55,529){5}
input clear; //: /sn:0 /dp:7 {0}(475,428)(316,428){1}
//: {2}(312,428)(297,428)(297,428)(253,428){3}
//: {4}(249,428)(209,428){5}
//: {6}(205,428)(186,428)(186,277)(141,277){7}
//: {8}(207,430)(207,622)(349,622){9}
//: {10}(251,430)(251,558)(400,558){11}
//: {12}(314,430)(314,510)(436,510){13}
output [7:0] s1; //: /sn:0 {0}(287,152)(287,127)(352,127)(352,18)(377,18){1}
input rw; //: /sn:0 /dp:1 {0}(68,505)(68,489)(150,489)(150,390){1}
//: {2}(152,388)(557,388)(557,687)(541,687)(541,677){3}
//: {4}(150,386)(150,287)(9,287){5}
wire [7:0] w6; //: /sn:0 {0}(269,181)(269,187){1}
//: {2}(271,189)(537,189)(537,183){3}
//: {4}(269,191)(269,220)(512,220)(512,413){5}
wire w7; //: /sn:0 {0}(334,418)(475,418){1}
wire w16; //: /sn:0 {0}(84,523)(120,523)(120,500)(319,500){1}
wire w15; //: /sn:0 {0}(307,535)(392,535)(392,548)(400,548){1}
wire w4; //: /sn:0 {0}(84,511)(108,511)(108,418)(318,418){1}
wire [7:0] w3; //: /sn:0 {0}(386,607)(386,238){1}
//: {2}(388,236)(573,236)(573,183){3}
//: {4}(384,236)(305,236)(305,181){5}
wire [7:0] w0; //: /sn:0 {0}(437,543)(437,294)(293,294)(293,211){1}
//: {2}(295,209)(561,209)(561,183){3}
//: {4}(293,207)(293,181){5}
wire w24; //: /sn:0 {0}(305,612)(349,612){1}
wire w23; //: /sn:0 {0}(289,612)(151,612)(151,547)(84,547){1}
wire [7:0] w1; //: /sn:0 /dp:1 {0}(533,672)(524,672)(524,676)(514,676){1}
//: {2}(512,674)(512,434){3}
//: {4}(510,676)(475,676){5}
//: {6}(473,674)(473,516){7}
//: {8}(471,676)(439,676){9}
//: {10}(437,674)(437,585)(437,585)(437,564){11}
//: {12}(435,676)(386,676)(386,628){13}
wire w17; //: /sn:0 {0}(84,535)(291,535){1}
wire w13; //: /sn:0 {0}(335,500)(436,500){1}
wire [7:0] w9; //: /sn:0 {0}(281,181)(281,195){1}
//: {2}(283,197)(549,197)(549,183){3}
//: {4}(281,199)(281,256)(473,256)(473,495){5}
//: enddecls
demux g8 (.I(a1), .E(rw), .Z0(w4), .Z1(w16), .Z2(w17), .Z3(w23)); //: @(68,529) /sn:0 /R:1 /w:[ 5 0 0 0 0 1 ]
mux g4 (.I0(w6), .I1(w9), .I2(w0), .I3(w3), .S(a1), .Z(s1)); //: @(287,165) /sn:0 /R:2 /w:[ 0 0 5 5 3 0 ]
//: input g3 (rw) @(7,287) /sn:0 /w:[ 5 ]
//: joint g37 (w9) @(281, 197) /w:[ 2 1 -1 4 ]
register g13 (.Q(w0), .D(w1), .EN(w15), .CLR(clear), .CK(h)); //: @(437,553) /sn:0 /R:2 /w:[ 0 11 1 11 11 ]
register g2 (.Q(w6), .D(w1), .EN(w7), .CLR(clear), .CK(h)); //: @(512,423) /sn:0 /R:2 /w:[ 5 3 1 0 0 ]
//: input g1 (clear) @(139,277) /sn:0 /w:[ 7 ]
not g11 (.I(w4), .Z(w7)); //: @(324,418) /sn:0 /w:[ 1 0 ]
//: joint g16 (clear) @(314, 428) /w:[ 1 -1 2 12 ]
mux g10 (.I0(w6), .I1(w9), .I2(w0), .I3(w3), .S(a2), .Z(s2)); //: @(555,167) /sn:0 /R:2 /w:[ 3 3 3 3 1 1 ]
//: output g32 (s2) @(515,14) /sn:0 /w:[ 0 ]
not g19 (.I(w16), .Z(w13)); //: @(325,500) /sn:0 /w:[ 1 0 ]
//: joint g27 (w1) @(437, 676) /w:[ 9 10 12 -1 ]
//: joint g6 (w1) @(512, 676) /w:[ 1 2 4 -1 ]
//: joint g38 (w0) @(293, 209) /w:[ 2 4 -1 1 ]
//: joint g7 (rw) @(150, 388) /w:[ 2 4 -1 1 ]
//: output g31 (s1) @(374,18) /sn:0 /w:[ 1 ]
//: joint g15 (h) @(559, 423) /w:[ -1 2 1 4 ]
//: joint g39 (w3) @(386, 236) /w:[ 2 -1 4 1 ]
//: input g29 (a1) @(-185,411) /sn:0 /w:[ 0 ]
//: joint g25 (w1) @(473, 676) /w:[ 5 6 8 -1 ]
//: joint g17 (clear) @(251, 428) /w:[ 3 -1 4 10 ]
bufif1 g5 (.Z(w1), .I(w), .E(rw)); //: @(543,672) /sn:0 /R:2 /w:[ 0 0 3 ]
register g14 (.Q(w3), .D(w1), .EN(w24), .CLR(clear), .CK(h)); //: @(386,617) /sn:0 /R:2 /w:[ 0 13 1 9 13 ]
//: input g21 (a2) @(-196,224) /sn:0 /w:[ 0 ]
//: joint g36 (w6) @(269, 189) /w:[ 2 1 -1 4 ]
not g24 (.I(w17), .Z(w15)); //: @(297,535) /sn:0 /w:[ 1 0 ]
//: joint g23 (h) @(559, 553) /w:[ -1 9 10 12 ]
//: input g0 (h) @(535,359) /sn:0 /w:[ 3 ]
not g26 (.I(w23), .Z(w24)); //: @(295,612) /sn:0 /w:[ 0 0 ]
//: joint g22 (h) @(559, 505) /w:[ -1 5 6 8 ]
register g12 (.Q(w9), .D(w1), .EN(w13), .CLR(clear), .CK(h)); //: @(473,505) /sn:0 /R:2 /w:[ 5 7 1 13 7 ]
//: joint g18 (clear) @(207, 428) /w:[ 5 -1 6 8 ]
//: joint g33 (a1) @(-48, 415) /w:[ -1 2 1 4 ]
//: input g30 (w) @(631,589) /sn:0 /w:[ 1 ]
endmodule
module unite_commande();
//: interface /sz:(40, 40) /bd:[ ]
supply0 w31; //: /sn:0 {0}(403,595)(372,595){1}
//: {2}(370,593)(370,590)(370,590)(370,587){3}
//: {4}(372,585)(391,585)(391,585)(403,585){5}
//: {6}(368,585)(358,585)(358,597){7}
//: {8}(370,597)(370,603){9}
//: {10}(372,605)(391,605)(391,605)(403,605){11}
//: {12}(370,607)(370,613){13}
//: {14}(372,615)(391,615)(391,615)(403,615){15}
//: {16}(370,617)(370,625)(403,625){17}
supply0 w5; //: /sn:0 {0}(500,637)(500,643)(501,643)(501,650){1}
wire w6; //: /sn:0 {0}(264,270)(325,270){1}
//: {2}(329,270)(336,270)(358,270)(459,270){3}
//: {4}(327,272)(327,376)(345,376){5}
wire w7; //: /sn:0 {0}(378,386)(370,386)(370,407)(319,407){1}
wire [7:0] b; //: /sn:0 {0}(703,165)(765,165){1}
//: {2}(769,165)(795,165){3}
//: {4}(767,163)(767,154){5}
wire [7:0] s0; //: /sn:0 {0}(691,548)(691,562)(659,562){1}
//: {2}(657,560)(657,333)(581,333)(581,102)(643,102)(643,116){3}
//: {4}(655,562)(586,562){5}
wire [1:0] w16; //: /sn:0 {0}(445,305)(569,305)(569,171){1}
//: {2}(571,169)(606,169){3}
//: {4}(567,169)(563,169)(563,167){5}
wire w14; //: /sn:0 {0}(439,310)(284,310){1}
//: {2}(280,310)(269,310)(269,310)(264,310){3}
//: {4}(282,312)(282,516)(313,516){5}
wire h; //: /sn:0 {0}(691,186)(691,211)(696,211){1}
wire w19; //: /sn:0 {0}(378,381)(364,381)(364,392)(337,392){1}
wire w15; //: /sn:0 {0}(439,300)(288,300){1}
//: {2}(284,300)(271,300)(271,300)(264,300){3}
//: {4}(286,302)(286,506)(313,506){5}
wire w4; //: /sn:0 {0}(361,376)(378,376){1}
wire [7:0] w3; //: /sn:0 {0}(258,285)(240,285){1}
//: {2}(238,283)(238,273)(238,273)(238,232){3}
//: {4}(236,285)(220,285){5}
wire w0; //: /sn:0 {0}(623,186)(623,391)(408,391){1}
//: {2}(406,389)(406,388)(406,388)(406,384){3}
//: {4}(408,382)(417,382)(417,372){5}
//: {6}(406,380)(406,381)(399,381){7}
//: {8}(406,393)(406,511){9}
wire [7:0] val; //: /sn:0 {0}(615,666)(615,673)(673,673)(673,610)(611,610){1}
wire w24; //: /sn:0 {0}(492,675)(514,675)(514,637){1}
wire w23; //: /sn:0 {0}(603,615)(603,622)(630,622)(630,547)(620,547){1}
wire w20; //: /sn:0 {0}(665,186)(665,211)(663,211){1}
wire w1; //: /sn:0 {0}(264,320)(274,320){1}
//: {2}(278,320)(361,320){3}
//: {4}(276,322)(276,526)(313,526){5}
wire [7:0] w18; //: /sn:0 {0}(595,610)(562,610){1}
//: {2}(560,608)(560,562)(570,562){3}
//: {4}(558,610)(539,610)(539,610)(524,610){5}
wire rw; //: /sn:0 {0}(604,547)(580,547){1}
//: {2}(576,547)(510,547){3}
//: {4}(508,545)(508,537)(494,537){5}
//: {6}(508,549)(508,565)(508,565)(508,561){7}
//: {8}(510,559)(517,559)(517,572)(507,572)(507,587){9}
//: {10}(506,559)(467,559)(467,675)(476,675){11}
//: {12}(578,549)(578,561)(578,561)(578,557){13}
wire [2:0] w22; //: /sn:0 {0}(319,516)(398,516){1}
wire [2:0] w17; //: /sn:0 {0}(403,635)(342,635)(342,540)(444,540)(444,516)(414,516){1}
wire [2:0] ope0; //: /sn:0 {0}(823,116)(823,58)(509,58){1}
//: {2}(507,56)(507,52)(507,52)(507,52){3}
//: {4}(505,58)(476,58)(476,260)(465,260){5}
wire w12; //: /sn:0 {0}(459,250)(301,250){1}
//: {2}(301,250)(303,250)(264,250){3}
//: {4}(299,252)(299,407)(303,407){5}
wire w11; //: /sn:0 {0}(264,280)(418,280){1}
wire [7:0] w2; //: /sn:0 {0}(895,155)(942,155)(942,507){1}
wire w10; //: /sn:0 {0}(418,290)(264,290){1}
wire [1:0] w13; //: /sn:0 {0}(424,285)(549,285)(549,133)(555,133){1}
//: {2}(559,133)(606,133){3}
//: {4}(557,135)(557,139)(557,139)(557,126){5}
wire [7:0] a; //: /sn:0 {0}(703,133)(737,133){1}
//: {2}(741,133)(795,133){3}
//: {4}(739,131)(739,126){5}
wire w9; //: /sn:0 {0}(321,392)(314,392)(314,262){1}
//: {2}(316,260)(459,260){3}
//: {4}(312,260)(264,260){5}
wire [7:0] w26; //: /sn:0 {0}(489,610)(409,610){1}
//: enddecls
bufif1 g4 (.Z(w18), .I(val), .E(w23)); //: @(605,610) /sn:0 /R:2 /w:[ 0 1 0 ]
//: switch g8 (w20) @(646,211) /sn:0 /w:[ 1 ] /st:1
//: joint g58 (w0) @(406, 391) /w:[ 1 2 -1 8 ]
led g55 (.I(b)); //: @(767,147) /sn:0 /w:[ 5 ] /type:1
led g51 (.I(ope0)); //: @(507,45) /sn:0 /w:[ 3 ] /type:1
not g13 (.I(w6), .Z(w4)); //: @(351,376) /sn:0 /w:[ 5 0 ]
unite_centrale g3 (.ope(ope0), .b(b), .a(a), .s(w2)); //: @(796, 117) /sz:(98, 70) /sn:0 /p:[ Ti0>0 Li0>3 Li1>3 Ro0<0 ]
not g34 (.I(rw), .Z(w24)); //: @(482,675) /sn:0 /w:[ 11 0 ]
concat g37 (.I0(w17), .I1(w31), .I2(w31), .I3(w31), .I4(w31), .I5(w31), .Z(w26)); //: @(408,610) /sn:0 /w:[ 0 17 15 11 0 5 1 ] /dr:0
clock g2 (.Z(h)); //: @(709,212) /sn:0 /R:2 /w:[ 1 ] /omega:100 /phi:0 /duty:50
concat g1 (.I0(w1), .I1(w14), .I2(w15), .I3(w10), .I4(w11), .I5(w6), .I6(w9), .I7(w12), .Z(w3)); //: @(259,285) /sn:0 /R:2 /w:[ 0 3 3 1 0 0 5 3 0 ] /dr:1
not g16 (.I(w12), .Z(w7)); //: @(309,407) /sn:0 /w:[ 5 1 ]
concat g11 (.I0(w14), .I1(w15), .Z(w16)); //: @(444,305) /sn:0 /w:[ 0 0 0 ] /dr:0
//: joint g50 (w16) @(569, 169) /w:[ 2 -1 4 1 ]
led g28 (.I(w0)); //: @(417,365) /sn:0 /w:[ 5 ] /type:0
concat g10 (.I0(w10), .I1(w11), .Z(w13)); //: @(423,285) /sn:0 /w:[ 0 1 0 ] /dr:0
led g27 (.I(s0)); //: @(691,541) /sn:0 /w:[ 0 ] /type:1
and g19 (.I0(w4), .I1(w19), .I2(w7), .Z(w0)); //: @(389,381) /sn:0 /w:[ 1 0 0 7 ]
//: supply0 g32 (w5) @(501,656) /sn:0 /w:[ 1 ]
concat g6 (.I0(w6), .I1(w9), .I2(w12), .Z(ope0)); //: @(464,260) /sn:0 /w:[ 3 3 0 5 ] /dr:0
//: supply0 g38 (w31) @(358,603) /sn:0 /w:[ 7 ]
led g53 (.I(a)); //: @(739,119) /sn:0 /w:[ 5 ] /type:1
regg g7 (.w(s0), .a2(w16), .a1(w13), .clear(w20), .rw(w0), .h(h), .s2(b), .s1(a)); //: @(607, 117) /sz:(95, 68) /sn:0 /p:[ Ti0>3 Li0>3 Li1>3 Bi0>0 Bi1>0 Bi2>0 Ro0<0 Ro1<0 ]
//: joint g20 (w6) @(327, 270) /w:[ 2 -1 1 4 ]
//: joint g15 (w12) @(299, 250) /w:[ 1 2 -1 4 ]
//: joint g31 (w3) @(238, 285) /w:[ 1 2 4 -1 ]
//: joint g39 (rw) @(578, 547) /w:[ 1 -1 2 12 ]
ram g43 (.A(w26), .D(w18), .WE(rw), .OE(w24), .CS(w5)); //: @(507,611) /sn:0 /w:[ 0 5 9 1 0 ]
//: joint g48 (w31) @(370, 615) /w:[ 14 13 -1 16 ]
//: joint g29 (w0) @(406, 382) /w:[ 4 3 -1 6 ]
//: joint g25 (w1) @(276, 320) /w:[ 2 -1 1 4 ]
//: joint g17 (w9) @(314, 260) /w:[ 2 -1 4 1 ]
//: joint g52 (ope0) @(507, 58) /w:[ 1 2 4 -1 ]
not g42 (.I(rw), .Z(w23)); //: @(610,547) /sn:0 /w:[ 0 1 ]
//: joint g56 (b) @(767, 165) /w:[ 2 4 1 -1 ]
//: switch g14 (rw) @(477,537) /sn:0 /w:[ 5 ] /st:1
led g5 (.I(w2)); //: @(942,514) /sn:0 /R:2 /w:[ 1 ] /type:1
//: joint g44 (rw) @(508, 559) /w:[ 8 -1 10 7 ]
//: joint g47 (w31) @(370, 605) /w:[ 10 9 -1 12 ]
//: joint g24 (w15) @(286, 300) /w:[ 1 -1 2 4 ]
bufif1 g21 (.Z(w17), .I(w22), .E(w0)); //: @(404,516) /sn:0 /w:[ 1 1 9 ]
//: joint g36 (w18) @(560, 610) /w:[ 1 2 4 -1 ]
//: joint g41 (w13) @(557, 133) /w:[ 2 -1 1 4 ]
//: joint g23 (w14) @(282, 310) /w:[ 1 -1 2 4 ]
//: joint g54 (a) @(739, 133) /w:[ 2 4 1 -1 ]
led g40 (.I(w13)); //: @(557,119) /sn:0 /w:[ 5 ] /type:1
//: dip g26 (val) @(615,656) /sn:0 /w:[ 0 ] /st:3
concat g22 (.I0(w1), .I1(w14), .I2(w15), .Z(w22)); //: @(318,516) /sn:0 /w:[ 5 5 5 0 ] /dr:0
//: dip g0 (w3) @(182,285) /sn:0 /R:1 /w:[ 5 ] /st:108
bufif1 g35 (.Z(s0), .I(w18), .E(rw)); //: @(576,562) /sn:0 /w:[ 5 3 13 ]
//: joint g45 (w31) @(370, 585) /w:[ 4 -1 6 3 ]
//: joint g46 (w31) @(370, 595) /w:[ 1 2 -1 8 ]
//: joint g12 (s0) @(657, 562) /w:[ 1 2 4 -1 ]
not g18 (.I(w9), .Z(w19)); //: @(327,392) /sn:0 /w:[ 0 1 ]
led g30 (.I(w3)); //: @(238,225) /sn:0 /w:[ 3 ] /type:1
//: joint g33 (rw) @(508, 547) /w:[ 3 4 -1 6 ]
led g49 (.I(w16)); //: @(563,160) /sn:0 /w:[ 5 ] /type:1
endmodule
module d_latch(clk, s, e);
//: interface /sz:(40, 40) /bd:[ ]
input clk; //: /sn:0 {0}(18,299)(-1,299)(-1,315)(42,315){1}
//: {2}(46,315)(76,315){3}
//: {4}(44,313)(44,278)(102,278){5}
output s; //: /sn:0 /dp:1 {0}(151,316)(129,316)(129,296)(169,296)(169,282)(179,282){1}
//: {2}(183,282)(205,282)(205,265)(223,265)(223,246)(177,246){3}
//: {4}(181,280)(181,281)(173,281){5}
input e; //: /sn:0 {0}(-21,229)(-35,229)(-35,265)(-5,265)(38,265){1}
//: {2}(42,265)(50,265){3}
//: {4}(40,267)(40,310)(76,310){5}
wire w38; //: /sn:0 /dp:1 {0}(66,265)(94,265)(94,273)(102,273){1}
wire w41; //: /sn:0 {0}(123,276)(139,276)(139,278)(152,278){1}
wire w40; //: /sn:0 {0}(97,313)(111,313)(111,321)(151,321){1}
wire w42; //: /sn:0 {0}(172,319)(185,319)(185,303)(135,303)(135,283)(152,283){1}
//: enddecls
//: joint g3 (s) @(181, 282) /w:[ 2 -1 1 4 ]
and g76 (.I0(w38), .I1(clk), .Z(w41)); //: @(113,276) /sn:0 /w:[ 1 5 0 ]
nor g77 (.I0(s), .I1(w40), .Z(w42)); //: @(162,319) /sn:0 /w:[ 0 1 0 ]
//: input g2 (clk) @(20,299) /sn:0 /R:2 /w:[ 0 ]
//: output g1 (s) @(180,246) /sn:0 /R:2 /w:[ 3 ]
nor g87 (.I0(w41), .I1(w42), .Z(s)); //: @(163,281) /sn:0 /w:[ 1 1 5 ]
and g75 (.I0(e), .I1(clk), .Z(w40)); //: @(87,313) /sn:0 /w:[ 5 3 0 ]
not g74 (.I(e), .Z(w38)); //: @(56,265) /sn:0 /w:[ 3 0 ]
//: joint g80 (clk) @(44, 315) /w:[ 2 4 1 -1 ]
//: input g0 (e) @(-19,229) /sn:0 /R:2 /w:[ 0 ]
//: joint g82 (e) @(40, 265) /w:[ 2 -1 1 4 ]
endmodule
module divv(s, b, a);
//: interface /sz:(40, 40) /bd:[ ]
input [7:0] b; //: /sn:0 /dp:1 {0}(330,296)(330,260)(397,260)(397,215)(387,215){1}
output [7:0] s; //: /sn:0 {0}(313,411)(307,411)(307,374)(324,374)(324,325){1}
input [7:0] a; //: /sn:0 /dp:1 {0}(298,296)(298,268)(251,268)(251,224)(241,224){1}
wire [7:0] w0; //: /sn:0 {0}(304,344)(304,325){1}
//: enddecls
//: output g3 (s) @(310,411) /sn:0 /w:[ 0 ]
//: input g2 (b) @(385,215) /sn:0 /w:[ 1 ]
div g1 (.A(a), .B(b), .Q(s), .R(w0)); //: @(314,312) /sn:0 /w:[ 0 0 1 1 ]
//: input g0 (a) @(239,224) /sn:0 /w:[ 1 ]
endmodule