aboutsummaryrefslogtreecommitdiffstats
path: root/stopwatch/stopwatch.bdf
blob: 79adb712093cc1a8e5664090169047f5ff012372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2013 Altera Corporation
Your use of Altera Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files from any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Altera Program License 
Subscription Agreement, Altera MegaCore Function License 
Agreement, or other applicable license agreement, including, 
without limitation, that your use is for the sole purpose of 
programming logic devices manufactured by Altera and sold by 
Altera or its authorized distributors.  Please refer to the 
applicable agreement for further details.
*/
(header "graphic" (version "1.4"))
(pin
	(input)
	(rect 128 512 296 528)
	(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
	(text "Start" (rect 5 0 28 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 84 12)(pt 109 12))
		(line (pt 84 4)(pt 109 4))
		(line (pt 113 8)(pt 168 8))
		(line (pt 84 12)(pt 84 4))
		(line (pt 109 4)(pt 113 8))
		(line (pt 109 12)(pt 113 8))
	)
	(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 72 528 128 544))
)
(pin
	(input)
	(rect 128 528 296 544)
	(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
	(text "Reset" (rect 5 0 34 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 84 12)(pt 109 12))
		(line (pt 84 4)(pt 109 4))
		(line (pt 113 8)(pt 168 8))
		(line (pt 84 12)(pt 84 4))
		(line (pt 109 4)(pt 113 8))
		(line (pt 109 12)(pt 113 8))
	)
	(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 72 544 128 560))
)
(pin
	(input)
	(rect 192 624 360 640)
	(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
	(text "Split" (rect 5 0 26 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 84 12)(pt 109 12))
		(line (pt 84 4)(pt 109 4))
		(line (pt 113 8)(pt 168 8))
		(line (pt 84 12)(pt 84 4))
		(line (pt 109 4)(pt 113 8))
		(line (pt 109 12)(pt 113 8))
	)
	(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 144 640 192 656))
)
(pin
	(input)
	(rect 168 376 336 392)
	(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
	(text "DE0CLOCK" (rect 5 0 64 12)(font "Arial" ))
	(pt 168 8)
	(drawing
		(line (pt 84 12)(pt 109 12))
		(line (pt 84 4)(pt 109 4))
		(line (pt 113 8)(pt 168 8))
		(line (pt 84 12)(pt 84 4))
		(line (pt 109 4)(pt 113 8))
		(line (pt 109 12)(pt 113 8))
	)
	(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
	(annotation_block (location)(rect 112 392 168 408))
)
(pin
	(output)
	(rect 920 656 1096 672)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "DIG0[6..0]" (rect 90 0 141 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8))
		(line (pt 52 4)(pt 78 4))
		(line (pt 52 12)(pt 78 12))
		(line (pt 52 12)(pt 52 4))
		(line (pt 78 4)(pt 82 8))
		(line (pt 82 8)(pt 78 12))
		(line (pt 78 12)(pt 82 8))
	)
	(annotation_block (location)(rect 1096 672 1152 688))
)
(pin
	(output)
	(rect 920 688 1096 704)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "DIG1[6..0]" (rect 90 0 141 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8))
		(line (pt 52 4)(pt 78 4))
		(line (pt 52 12)(pt 78 12))
		(line (pt 52 12)(pt 52 4))
		(line (pt 78 4)(pt 82 8))
		(line (pt 82 8)(pt 78 12))
		(line (pt 78 12)(pt 82 8))
	)
	(annotation_block (location)(rect 1096 704 1152 720))
)
(pin
	(output)
	(rect 920 720 1096 736)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "DIG2[6..0]" (rect 90 0 141 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8))
		(line (pt 52 4)(pt 78 4))
		(line (pt 52 12)(pt 78 12))
		(line (pt 52 12)(pt 52 4))
		(line (pt 78 4)(pt 82 8))
		(line (pt 82 8)(pt 78 12))
		(line (pt 78 12)(pt 82 8))
	)
	(annotation_block (location)(rect 1096 736 1152 752))
)
(pin
	(output)
	(rect 920 752 1096 768)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "DIG3[6..0]" (rect 90 0 141 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8))
		(line (pt 52 4)(pt 78 4))
		(line (pt 52 12)(pt 78 12))
		(line (pt 52 12)(pt 52 4))
		(line (pt 78 4)(pt 82 8))
		(line (pt 82 8)(pt 78 12))
		(line (pt 78 12)(pt 82 8))
	)
	(annotation_block (location)(rect 1096 768 1152 784))
)
(pin
	(output)
	(rect 920 800 1096 816)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "Point" (rect 90 0 114 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8))
		(line (pt 52 4)(pt 78 4))
		(line (pt 52 12)(pt 78 12))
		(line (pt 52 12)(pt 52 4))
		(line (pt 78 4)(pt 82 8))
		(line (pt 82 8)(pt 78 12))
		(line (pt 78 12)(pt 82 8))
	)
	(annotation_block (location)(rect 1096 816 1152 832))
)
(symbol
	(rect 1144 224 1208 304)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst7" (rect 3 68 26 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1144 320 1208 400)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst10" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1144 416 1208 496)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst11" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1144 512 1208 592)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst12" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1312 224 1376 304)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst13" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1312 320 1376 400)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst14" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1312 416 1376 496)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst15" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1312 512 1376 592)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst16" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1480 224 1544 304)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst17" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1480 320 1544 400)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst18" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1480 416 1544 496)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst19" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1480 512 1544 592)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst20" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1656 224 1720 304)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst21" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1656 320 1720 400)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst22" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1656 416 1720 496)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst23" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 1656 512 1720 592)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst24" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 504 512 568 592)
	(text "LATCH" (rect 1 0 31 10)(font "Arial" (font_size 6)))
	(text "inst28" (rect 3 68 32 80)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24))
	)
	(port
		(pt 0 40)
		(input)
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(text "ENA" (rect 14 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 12 40))
	)
	(port
		(pt 64 32)
		(output)
		(text "Q" (rect 45 28 50 40)(font "Courier New" (bold)))
		(text "Q" (rect 44 28 49 40)(font "Courier New" (bold)))
		(line (pt 53 32)(pt 64 32))
	)
	(drawing
		(line (pt 12 12)(pt 52 12))
		(line (pt 12 68)(pt 52 68))
		(line (pt 12 68)(pt 12 12))
		(line (pt 52 68)(pt 52 12))
	)
)
(symbol
	(rect 424 504 488 552)
	(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "inst31" (rect 3 37 32 49)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 15 32))
	)
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 15 16))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 48 24)(pt 64 24))
	)
	(drawing
		(line (pt 14 36)(pt 25 36))
		(line (pt 14 13)(pt 25 13))
		(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
		(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
		(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
	)
)
(symbol
	(rect 640 176 776 272)
	(text "ten_counter" (rect 5 0 73 14)(font "Arial" (font_size 8)))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 27 44 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 136 32)
		(output)
		(text "count[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "count[3..0]" (rect 55 27 115 41)(font "Arial" (font_size 8)))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 91 43 115 57)(font "Arial" (font_size 8)))
		(line (pt 136 48)(pt 120 48))
	)
	(drawing
		(rectangle (rect 16 16 120 80))
	)
)
(symbol
	(rect 640 296 776 392)
	(text "ten_counter" (rect 5 0 73 14)(font "Arial" (font_size 8)))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 27 44 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 136 32)
		(output)
		(text "count[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "count[3..0]" (rect 55 27 115 41)(font "Arial" (font_size 8)))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 91 43 115 57)(font "Arial" (font_size 8)))
		(line (pt 136 48)(pt 120 48))
	)
	(drawing
		(rectangle (rect 16 16 120 80))
	)
)
(symbol
	(rect 640 416 776 512)
	(text "ten_counter" (rect 5 0 73 14)(font "Arial" (font_size 8)))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 27 44 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 136 32)
		(output)
		(text "count[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "count[3..0]" (rect 55 27 115 41)(font "Arial" (font_size 8)))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 91 43 115 57)(font "Arial" (font_size 8)))
		(line (pt 136 48)(pt 120 48))
	)
	(drawing
		(rectangle (rect 16 16 120 80))
	)
)
(symbol
	(rect 640 536 776 632)
	(text "ten_counter" (rect 5 0 73 14)(font "Arial" (font_size 8)))
	(text "inst8" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 27 44 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 136 32)
		(output)
		(text "count[3..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "count[3..0]" (rect 55 27 115 41)(font "Arial" (font_size 8)))
		(line (pt 136 32)(pt 120 32)(line_width 3))
	)
	(port
		(pt 136 48)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 91 43 115 57)(font "Arial" (font_size 8)))
		(line (pt 136 48)(pt 120 48))
	)
	(drawing
		(rectangle (rect 16 16 120 80))
	)
)
(symbol
	(rect 368 352 464 448)
	(text "one_hertz_clock" (rect 5 0 99 14)(font "Arial" (font_size 8)))
	(text "inst9" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 27 44 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 96 32)
		(output)
		(text "1_Hz" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "1_Hz" (rect 46 27 75 41)(font "Arial" (font_size 8)))
		(line (pt 96 32)(pt 80 32))
	)
	(drawing
		(rectangle (rect 16 16 80 80))
	)
)
(symbol
	(rect 872 792 904 824)
	(text "GND" (rect 6 8 16 29)(font "Arial" (font_size 6))(vertical))
	(text "inst279" (rect -1 3 11 38)(font "Arial" )(vertical)(invisible))
	(port
		(pt 32 16)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 20 18 32 23)(font "Courier New" (bold))(vertical)(invisible))
		(line (pt 24 16)(pt 32 16))
	)
	(drawing
		(line (pt 24 8)(pt 16 16))
		(line (pt 16 16)(pt 24 24))
		(line (pt 24 8)(pt 24 24))
	)
	(rotate270)
)
(symbol
	(rect 376 552 440 600)
	(text "NAND2" (rect 1 0 32 10)(font "Arial" (font_size 6)))
	(text "inst29" (rect 3 37 32 49)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 15 32))
	)
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 15 16))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 52 24)(pt 64 24))
	)
	(drawing
		(line (pt 15 37)(pt 32 37))
		(line (pt 15 12)(pt 32 12))
		(line (pt 15 36)(pt 15 12))
		(arc (pt 32 36)(pt 32 12)(rect 20 12 45 37))
		(circle (rect 44 20 52 28))
	)
)
(symbol
	(rect 368 520 416 552)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst30" (rect 3 21 32 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16))
	)
	(drawing
		(line (pt 13 25)(pt 13 7))
		(line (pt 13 7)(pt 31 16))
		(line (pt 13 25)(pt 31 16))
		(circle (rect 31 12 39 20))
	)
)
(symbol
	(rect 856 176 1040 272)
	(text "bcd_to_display" (rect 5 0 91 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "BCDin[3..0]" (rect 0 0 62 14)(font "Arial" (font_size 8)))
		(text "BCDin[3..0]" (rect 21 27 83 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "DISPout[6..0]" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "DISPout[6..0]" (rect 92 27 163 41)(font "Arial" (font_size 8)))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80))
	)
)
(symbol
	(rect 856 296 1040 392)
	(text "bcd_to_display" (rect 5 0 91 14)(font "Arial" (font_size 8)))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "BCDin[3..0]" (rect 0 0 62 14)(font "Arial" (font_size 8)))
		(text "BCDin[3..0]" (rect 21 27 83 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "DISPout[6..0]" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "DISPout[6..0]" (rect 92 27 163 41)(font "Arial" (font_size 8)))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80))
	)
)
(symbol
	(rect 856 416 1040 512)
	(text "bcd_to_display" (rect 5 0 91 14)(font "Arial" (font_size 8)))
	(text "inst4" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "BCDin[3..0]" (rect 0 0 62 14)(font "Arial" (font_size 8)))
		(text "BCDin[3..0]" (rect 21 27 83 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "DISPout[6..0]" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "DISPout[6..0]" (rect 92 27 163 41)(font "Arial" (font_size 8)))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80))
	)
)
(symbol
	(rect 856 536 1040 632)
	(text "bcd_to_display" (rect 5 0 91 14)(font "Arial" (font_size 8)))
	(text "inst5" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "BCDin[3..0]" (rect 0 0 62 14)(font "Arial" (font_size 8)))
		(text "BCDin[3..0]" (rect 21 27 83 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "DISPout[6..0]" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "DISPout[6..0]" (rect 92 27 163 41)(font "Arial" (font_size 8)))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80))
	)
)
(connector
	(pt 368 384)
	(pt 336 384)
)
(connector
	(pt 544 384)
	(pt 464 384)
)
(connector
	(pt 544 208)
	(pt 544 384)
)
(connector
	(pt 776 224)
	(pt 800 224)
)
(connector
	(pt 800 224)
	(pt 800 280)
)
(connector
	(pt 800 280)
	(pt 616 280)
)
(connector
	(pt 640 328)
	(pt 616 328)
)
(connector
	(pt 616 328)
	(pt 616 280)
)
(connector
	(pt 776 344)
	(pt 800 344)
)
(connector
	(pt 800 344)
	(pt 800 400)
)
(connector
	(pt 800 400)
	(pt 616 400)
)
(connector
	(pt 640 448)
	(pt 616 448)
)
(connector
	(pt 616 448)
	(pt 616 400)
)
(connector
	(pt 776 464)
	(pt 800 464)
)
(connector
	(pt 800 464)
	(pt 800 520)
)
(connector
	(pt 800 520)
	(pt 616 520)
)
(connector
	(pt 640 568)
	(pt 616 568)
)
(connector
	(pt 616 568)
	(pt 616 520)
)
(connector
	(pt 640 224)
	(pt 592 224)
)
(connector
	(pt 640 584)
	(pt 592 584)
)
(connector
	(pt 640 344)
	(pt 592 344)
)
(connector
	(pt 592 224)
	(pt 592 344)
)
(connector
	(pt 640 208)
	(pt 544 208)
)
(connector
	(text "Q0[3..0]" (rect 777 192 817 204)(font "Arial" ))
	(pt 776 208)
	(pt 800 208)
	(bus)
)
(connector
	(text "Q1[3..0]" (rect 784 312 824 324)(font "Arial" ))
	(pt 776 328)
	(pt 800 328)
	(bus)
)
(connector
	(text "Q2[3..0]" (rect 784 432 824 444)(font "Arial" ))
	(pt 776 448)
	(pt 800 448)
	(bus)
)
(connector
	(text "Q3[3..0]" (rect 784 552 824 564)(font "Arial" ))
	(pt 776 568)
	(pt 808 568)
	(bus)
)
(connector
	(text "Q0[0]" (rect 1123 232 1150 244)(font "Arial" ))
	(pt 1104 248)
	(pt 1144 248)
)
(connector
	(text "M0[0]" (rect 1216 240 1243 252)(font "Arial" ))
	(pt 1208 256)
	(pt 1232 256)
)
(connector
	(text "EN" (rect 1112 248 1127 260)(font "Arial" ))
	(pt 1144 264)
	(pt 1104 264)
)
(connector
	(text "EN" (rect 1112 440 1127 452)(font "Arial" ))
	(pt 1144 456)
	(pt 1104 456)
)
(connector
	(text "EN" (rect 1112 536 1127 548)(font "Arial" ))
	(pt 1144 552)
	(pt 1104 552)
)
(connector
	(text "EN" (rect 1280 248 1295 260)(font "Arial" ))
	(pt 1312 264)
	(pt 1272 264)
)
(connector
	(text "EN" (rect 1280 344 1295 356)(font "Arial" ))
	(pt 1312 360)
	(pt 1272 360)
)
(connector
	(text "EN" (rect 1280 440 1295 452)(font "Arial" ))
	(pt 1312 456)
	(pt 1272 456)
)
(connector
	(text "EN" (rect 1280 536 1295 548)(font "Arial" ))
	(pt 1312 552)
	(pt 1272 552)
)
(connector
	(text "EN" (rect 1448 248 1463 260)(font "Arial" ))
	(pt 1480 264)
	(pt 1440 264)
)
(connector
	(text "EN" (rect 1448 344 1463 356)(font "Arial" ))
	(pt 1480 360)
	(pt 1440 360)
)
(connector
	(text "EN" (rect 1448 440 1463 452)(font "Arial" ))
	(pt 1480 456)
	(pt 1440 456)
)
(connector
	(text "EN" (rect 1448 536 1463 548)(font "Arial" ))
	(pt 1480 552)
	(pt 1440 552)
)
(connector
	(text "EN" (rect 1624 248 1639 260)(font "Arial" ))
	(pt 1656 264)
	(pt 1616 264)
)
(connector
	(text "EN" (rect 1624 344 1639 356)(font "Arial" ))
	(pt 1656 360)
	(pt 1616 360)
)
(connector
	(text "EN" (rect 1624 440 1639 452)(font "Arial" ))
	(pt 1656 456)
	(pt 1616 456)
)
(connector
	(text "EN" (rect 1624 536 1639 548)(font "Arial" ))
	(pt 1656 552)
	(pt 1616 552)
)
(connector
	(text "EN" (rect 1112 344 1127 356)(font "Arial" ))
	(pt 1144 360)
	(pt 1104 360)
)
(connector
	(text "Q2[0]" (rect 1123 424 1150 436)(font "Arial" ))
	(pt 1104 440)
	(pt 1144 440)
)
(connector
	(text "Q3[0]" (rect 1123 520 1150 532)(font "Arial" ))
	(pt 1104 536)
	(pt 1144 536)
)
(connector
	(text "Q1[0]" (rect 1123 328 1150 340)(font "Arial" ))
	(pt 1104 344)
	(pt 1144 344)
)
(connector
	(text "Q0[1]" (rect 1291 232 1318 244)(font "Arial" ))
	(pt 1272 248)
	(pt 1312 248)
)
(connector
	(text "Q1[1]" (rect 1291 328 1318 340)(font "Arial" ))
	(pt 1272 344)
	(pt 1312 344)
)
(connector
	(text "Q2[1]" (rect 1291 424 1318 436)(font "Arial" ))
	(pt 1272 440)
	(pt 1312 440)
)
(connector
	(text "Q3[1]" (rect 1291 520 1318 532)(font "Arial" ))
	(pt 1272 536)
	(pt 1312 536)
)
(connector
	(text "M1[0]" (rect 1216 336 1243 348)(font "Arial" ))
	(pt 1208 352)
	(pt 1232 352)
)
(connector
	(text "M2[0]" (rect 1216 432 1243 444)(font "Arial" ))
	(pt 1208 448)
	(pt 1232 448)
)
(connector
	(text "M3[0]" (rect 1216 528 1243 540)(font "Arial" ))
	(pt 1208 544)
	(pt 1232 544)
)
(connector
	(text "M0[1]" (rect 1384 240 1411 252)(font "Arial" ))
	(pt 1376 256)
	(pt 1400 256)
)
(connector
	(text "M1[1]" (rect 1384 336 1411 348)(font "Arial" ))
	(pt 1376 352)
	(pt 1400 352)
)
(connector
	(text "M2[1]" (rect 1384 432 1411 444)(font "Arial" ))
	(pt 1376 448)
	(pt 1400 448)
)
(connector
	(text "M3[1]" (rect 1384 528 1411 540)(font "Arial" ))
	(pt 1376 544)
	(pt 1400 544)
)
(connector
	(text "Q0[2]" (rect 1459 232 1486 244)(font "Arial" ))
	(pt 1440 248)
	(pt 1480 248)
)
(connector
	(text "Q1[2]" (rect 1459 328 1486 340)(font "Arial" ))
	(pt 1440 344)
	(pt 1480 344)
)
(connector
	(text "Q2[2]" (rect 1459 424 1486 436)(font "Arial" ))
	(pt 1440 440)
	(pt 1480 440)
)
(connector
	(text "Q3[2]" (rect 1459 520 1486 532)(font "Arial" ))
	(pt 1440 536)
	(pt 1480 536)
)
(connector
	(text "M0[2]" (rect 1552 240 1579 252)(font "Arial" ))
	(pt 1544 256)
	(pt 1568 256)
)
(connector
	(text "M1[2]" (rect 1552 336 1579 348)(font "Arial" ))
	(pt 1544 352)
	(pt 1568 352)
)
(connector
	(text "M2[2]" (rect 1552 432 1579 444)(font "Arial" ))
	(pt 1544 448)
	(pt 1568 448)
)
(connector
	(text "M3[2]" (rect 1552 528 1579 540)(font "Arial" ))
	(pt 1544 544)
	(pt 1568 544)
)
(connector
	(text "Q0[3]" (rect 1635 232 1662 244)(font "Arial" ))
	(pt 1616 248)
	(pt 1656 248)
)
(connector
	(text "Q1[3]" (rect 1635 328 1662 340)(font "Arial" ))
	(pt 1616 344)
	(pt 1656 344)
)
(connector
	(text "Q2[3]" (rect 1635 424 1662 436)(font "Arial" ))
	(pt 1616 440)
	(pt 1656 440)
)
(connector
	(text "Q3[3]" (rect 1635 520 1662 532)(font "Arial" ))
	(pt 1616 536)
	(pt 1656 536)
)
(connector
	(text "M0[3]" (rect 1728 240 1755 252)(font "Arial" ))
	(pt 1720 256)
	(pt 1744 256)
)
(connector
	(text "M1[3]" (rect 1728 336 1755 348)(font "Arial" ))
	(pt 1720 352)
	(pt 1744 352)
)
(connector
	(text "M2[3]" (rect 1728 432 1755 444)(font "Arial" ))
	(pt 1720 448)
	(pt 1744 448)
)
(connector
	(text "M3[3]" (rect 1728 528 1755 540)(font "Arial" ))
	(pt 1720 544)
	(pt 1744 544)
)
(connector
	(text "M0[3..0]" (rect 824 184 864 196)(font "Arial" ))
	(pt 856 208)
	(pt 840 208)
	(bus)
)
(connector
	(text "M2[3..0]" (rect 824 424 864 436)(font "Arial" ))
	(pt 856 448)
	(pt 840 448)
	(bus)
)
(connector
	(text "M1[3..0]" (rect 821 312 861 324)(font "Arial" ))
	(pt 856 328)
	(pt 840 328)
	(bus)
)
(connector
	(text "M3[3..0]" (rect 823 552 863 564)(font "Arial" ))
	(pt 856 568)
	(pt 840 568)
	(bus)
)
(connector
	(text "Out0[6..0]" (rect 1047 192 1096 204)(font "Arial" ))
	(pt 1040 208)
	(pt 1064 208)
	(bus)
)
(connector
	(text "Out1[6..0]" (rect 1051 312 1100 324)(font "Arial" ))
	(pt 1040 328)
	(pt 1064 328)
	(bus)
)
(connector
	(text "Out2[6..0]" (rect 1052 432 1101 444)(font "Arial" ))
	(pt 1040 448)
	(pt 1064 448)
	(bus)
)
(connector
	(text "Out3[6..0]" (rect 1047 552 1096 564)(font "Arial" ))
	(pt 1064 568)
	(pt 1040 568)
	(bus)
)
(connector
	(pt 592 464)
	(pt 640 464)
)
(connector
	(pt 592 344)
	(pt 592 464)
)
(connector
	(pt 568 544)
	(pt 592 544)
)
(connector
	(pt 592 464)
	(pt 592 544)
)
(connector
	(pt 592 544)
	(pt 592 584)
)
(connector
	(text "Out0[6..0]" (rect 905 648 954 660)(font "Arial" ))
	(pt 920 664)
	(pt 896 664)
	(bus)
)
(connector
	(text "Out1[6..0]" (rect 903 680 952 692)(font "Arial" ))
	(pt 920 696)
	(pt 896 696)
	(bus)
)
(connector
	(text "Out2[6..0]" (rect 910 712 959 724)(font "Arial" ))
	(pt 920 728)
	(pt 896 728)
	(bus)
)
(connector
	(text "Out3[6..0]" (rect 911 744 960 756)(font "Arial" ))
	(pt 920 760)
	(pt 896 760)
	(bus)
)
(connector
	(pt 920 808)
	(pt 904 808)
)
(connector
	(pt 504 552)
	(pt 496 552)
)
(connector
	(pt 376 568)
	(pt 344 568)
)
(connector
	(pt 376 584)
	(pt 320 584)
)
(connector
	(pt 320 584)
	(pt 320 536)
)
(connector
	(pt 440 576)
	(pt 496 576)
)
(connector
	(pt 496 552)
	(pt 496 576)
)
(connector
	(pt 496 536)
	(pt 496 528)
)
(connector
	(pt 504 536)
	(pt 496 536)
)
(connector
	(pt 496 528)
	(pt 488 528)
)
(connector
	(pt 344 520)
	(pt 344 568)
)
(connector
	(text "EN" (rect 396 616 411 628)(font "Arial" ))
	(pt 400 632)
	(pt 360 632)
)
(connector
	(pt 416 536)
	(pt 424 536)
)
(connector
	(pt 296 536)
	(pt 320 536)
)
(connector
	(pt 320 536)
	(pt 368 536)
)
(connector
	(pt 296 520)
	(pt 344 520)
)
(connector
	(pt 344 520)
	(pt 424 520)
)
(junction (pt 592 344))
(junction (pt 592 464))
(junction (pt 592 544))
(junction (pt 344 520))
(junction (pt 320 536))