digsim-engine 1.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. digsim/circuit/__init__.py +7 -0
  2. digsim/circuit/_circuit.py +764 -0
  3. digsim/circuit/_native.py +1029 -0
  4. digsim/circuit/_waves_writer.py +131 -0
  5. digsim/circuit/components/__init__.py +52 -0
  6. digsim/circuit/components/_arithmetic.py +266 -0
  7. digsim/circuit/components/_bus_bits.py +103 -0
  8. digsim/circuit/components/_button.py +61 -0
  9. digsim/circuit/components/_buzzer.py +64 -0
  10. digsim/circuit/components/_circuit_port.py +293 -0
  11. digsim/circuit/components/_clock.py +105 -0
  12. digsim/circuit/components/_counter.py +147 -0
  13. digsim/circuit/components/_decoder.py +140 -0
  14. digsim/circuit/components/_dip_switch.py +91 -0
  15. digsim/circuit/components/_flip_flops.py +162 -0
  16. digsim/circuit/components/_gates.py +408 -0
  17. digsim/circuit/components/_hd44780.py +451 -0
  18. digsim/circuit/components/_hd44780_rom.py +118 -0
  19. digsim/circuit/components/_hexdigit.py +107 -0
  20. digsim/circuit/components/_ic.py +96 -0
  21. digsim/circuit/components/_label_wire.py +204 -0
  22. digsim/circuit/components/_led.py +66 -0
  23. digsim/circuit/components/_led_bar.py +67 -0
  24. digsim/circuit/components/_logic_analyzer.py +111 -0
  25. digsim/circuit/components/_memory.py +517 -0
  26. digsim/circuit/components/_memstdout.py +60 -0
  27. digsim/circuit/components/_note.py +40 -0
  28. digsim/circuit/components/_on_off_switch.py +64 -0
  29. digsim/circuit/components/_probe.py +90 -0
  30. digsim/circuit/components/_seven_segment.py +47 -0
  31. digsim/circuit/components/_splitter.py +214 -0
  32. digsim/circuit/components/_static_level.py +54 -0
  33. digsim/circuit/components/_static_value.py +97 -0
  34. digsim/circuit/components/_subcircuit.py +439 -0
  35. digsim/circuit/components/_tristate_buffer.py +81 -0
  36. digsim/circuit/components/_verilog_component.py +26 -0
  37. digsim/circuit/components/_yosys_atoms.py +1373 -0
  38. digsim/circuit/components/_yosys_component.py +1126 -0
  39. digsim/circuit/components/_yosys_functional.py +1714 -0
  40. digsim/circuit/components/atoms/__init__.py +28 -0
  41. digsim/circuit/components/atoms/_component.py +329 -0
  42. digsim/circuit/components/atoms/_digsim_exception.py +8 -0
  43. digsim/circuit/components/atoms/_port.py +708 -0
  44. digsim/circuit/components/ic/4017.json +1062 -0
  45. digsim/circuit/components/ic/4021.json +286 -0
  46. digsim/circuit/components/ic/4029.json +1447 -0
  47. digsim/circuit/components/ic/4094.json +584 -0
  48. digsim/circuit/components/ic/4511.json +1071 -0
  49. digsim/circuit/components/ic/74138.json +763 -0
  50. digsim/circuit/components/ic/74139.json +610 -0
  51. digsim/circuit/components/ic/74148.json +1368 -0
  52. digsim/circuit/components/ic/74151.json +303 -0
  53. digsim/circuit/components/ic/74157.json +248 -0
  54. digsim/circuit/components/ic/74161.json +674 -0
  55. digsim/circuit/components/ic/74162.json +631 -0
  56. digsim/circuit/components/ic/74163.json +673 -0
  57. digsim/circuit/components/ic/74164.json +267 -0
  58. digsim/circuit/components/ic/74165.json +319 -0
  59. digsim/circuit/components/ic/74173.json +403 -0
  60. digsim/circuit/components/ic/74181.json +2002 -0
  61. digsim/circuit/components/ic/74182.json +893 -0
  62. digsim/circuit/components/ic/74193.json +1386 -0
  63. digsim/circuit/components/ic/74194.json +919 -0
  64. digsim/circuit/components/ic/74245.json +466 -0
  65. digsim/circuit/components/ic/74283.json +732 -0
  66. digsim/circuit/components/ic/74374.json +395 -0
  67. digsim/circuit/components/ic/7448.json +834 -0
  68. digsim/circuit/components/ic/74574.json +395 -0
  69. digsim/circuit/components/ic/74595.json +603 -0
  70. digsim/circuit/components/ic/7485.json +1042 -0
  71. digsim/storage_model/__init__.py +19 -0
  72. digsim/storage_model/_app.py +159 -0
  73. digsim/storage_model/_circuit.py +266 -0
  74. digsim/synth/__init__.py +12 -0
  75. digsim/synth/__main__.py +111 -0
  76. digsim/synth/_synthesis.py +529 -0
  77. digsim/utils/__init__.py +25 -0
  78. digsim/utils/_netlist_graph.py +199 -0
  79. digsim/utils/_yosys_netlist.py +251 -0
  80. digsim/verilog/__init__.py +19 -0
  81. digsim/verilog/__main__.py +78 -0
  82. digsim/verilog/_formatter.py +225 -0
  83. digsim/verilog/_lexer.py +218 -0
  84. digsim_engine-1.13.0.dist-info/METADATA +59 -0
  85. digsim_engine-1.13.0.dist-info/RECORD +88 -0
  86. digsim_engine-1.13.0.dist-info/WHEEL +5 -0
  87. digsim_engine-1.13.0.dist-info/licenses/LICENSE.md +32 -0
  88. digsim_engine-1.13.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1042 @@
1
+ {
2
+ "creator": "Yosys 0.70 (git sha1 28ba3cb92, Release, Clang /workspace/YoWASP/yosys/wasi-sdk-33.0-x86_64-linux/share/cmake/../..//bin/clang++ 22.1.0)",
3
+ "modules": {
4
+ "ttl_7485": {
5
+ "attributes": {
6
+ "hdlname": "ttl_7485",
7
+ "top": "00000000000000000000000000000001",
8
+ "src": "verilog/74xx/7485.v:8.1-22.10"
9
+ },
10
+ "ports": {
11
+ "A": {
12
+ "direction": "input",
13
+ "bits": [ 2, 3, 4, 5 ]
14
+ },
15
+ "B": {
16
+ "direction": "input",
17
+ "bits": [ 6, 7, 8, 9 ]
18
+ },
19
+ "I_AgtB": {
20
+ "direction": "input",
21
+ "bits": [ 10 ]
22
+ },
23
+ "I_AeqB": {
24
+ "direction": "input",
25
+ "bits": [ 11 ]
26
+ },
27
+ "I_AltB": {
28
+ "direction": "input",
29
+ "bits": [ 12 ]
30
+ },
31
+ "O_AgtB": {
32
+ "direction": "output",
33
+ "bits": [ 13 ]
34
+ },
35
+ "O_AeqB": {
36
+ "direction": "output",
37
+ "bits": [ 14 ]
38
+ },
39
+ "O_AltB": {
40
+ "direction": "output",
41
+ "bits": [ 15 ]
42
+ }
43
+ },
44
+ "cells": {
45
+ "$auto$simplemap.cc:106:simplemap_bitop$101": {
46
+ "hide_name": 1,
47
+ "type": "$_AND_",
48
+ "parameters": {
49
+ },
50
+ "attributes": {
51
+ "src": "verilog/74xx/7485.v:19.20-19.34"
52
+ },
53
+ "port_directions": {
54
+ "A": "input",
55
+ "B": "input",
56
+ "Y": "output"
57
+ },
58
+ "connections": {
59
+ "A": [ 16 ],
60
+ "B": [ 11 ],
61
+ "Y": [ 14 ]
62
+ }
63
+ },
64
+ "$auto$simplemap.cc:106:simplemap_bitop$115": {
65
+ "hide_name": 1,
66
+ "type": "$_AND_",
67
+ "parameters": {
68
+ },
69
+ "attributes": {
70
+ "src": "verilog/74xx/7485.v:20.31-20.56"
71
+ },
72
+ "port_directions": {
73
+ "A": "input",
74
+ "B": "input",
75
+ "Y": "output"
76
+ },
77
+ "connections": {
78
+ "A": [ 17 ],
79
+ "B": [ 18 ],
80
+ "Y": [ 19 ]
81
+ }
82
+ },
83
+ "$auto$simplemap.cc:106:simplemap_bitop$116": {
84
+ "hide_name": 1,
85
+ "type": "$_OR_",
86
+ "parameters": {
87
+ },
88
+ "attributes": {
89
+ "src": "verilog/74xx/7485.v:20.20-20.57"
90
+ },
91
+ "port_directions": {
92
+ "A": "input",
93
+ "B": "input",
94
+ "Y": "output"
95
+ },
96
+ "connections": {
97
+ "A": [ 20 ],
98
+ "B": [ 19 ],
99
+ "Y": [ 13 ]
100
+ }
101
+ },
102
+ "$auto$simplemap.cc:106:simplemap_bitop$124": {
103
+ "hide_name": 1,
104
+ "type": "$_AND_",
105
+ "parameters": {
106
+ },
107
+ "attributes": {
108
+ "src": "verilog/74xx/7485.v:21.31-21.46"
109
+ },
110
+ "port_directions": {
111
+ "A": "input",
112
+ "B": "input",
113
+ "Y": "output"
114
+ },
115
+ "connections": {
116
+ "A": [ 16 ],
117
+ "B": [ 21 ],
118
+ "Y": [ 17 ]
119
+ }
120
+ },
121
+ "$auto$simplemap.cc:106:simplemap_bitop$126": {
122
+ "hide_name": 1,
123
+ "type": "$_AND_",
124
+ "parameters": {
125
+ },
126
+ "attributes": {
127
+ "src": "verilog/74xx/7485.v:21.31-21.56"
128
+ },
129
+ "port_directions": {
130
+ "A": "input",
131
+ "B": "input",
132
+ "Y": "output"
133
+ },
134
+ "connections": {
135
+ "A": [ 17 ],
136
+ "B": [ 22 ],
137
+ "Y": [ 23 ]
138
+ }
139
+ },
140
+ "$auto$simplemap.cc:106:simplemap_bitop$127": {
141
+ "hide_name": 1,
142
+ "type": "$_OR_",
143
+ "parameters": {
144
+ },
145
+ "attributes": {
146
+ "src": "verilog/74xx/7485.v:21.20-21.57"
147
+ },
148
+ "port_directions": {
149
+ "A": "input",
150
+ "B": "input",
151
+ "Y": "output"
152
+ },
153
+ "connections": {
154
+ "A": [ 24 ],
155
+ "B": [ 23 ],
156
+ "Y": [ 15 ]
157
+ }
158
+ },
159
+ "$auto$simplemap.cc:106:simplemap_bitop$128": {
160
+ "hide_name": 1,
161
+ "type": "$_OR_",
162
+ "parameters": {
163
+ },
164
+ "attributes": {
165
+ },
166
+ "port_directions": {
167
+ "A": "input",
168
+ "B": "input",
169
+ "Y": "output"
170
+ },
171
+ "connections": {
172
+ "A": [ 24 ],
173
+ "B": [ 25 ],
174
+ "Y": [ 26 ]
175
+ }
176
+ },
177
+ "$auto$simplemap.cc:106:simplemap_bitop$200": {
178
+ "hide_name": 1,
179
+ "type": "$_AND_",
180
+ "parameters": {
181
+ },
182
+ "attributes": {
183
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.26-205.31"
184
+ },
185
+ "port_directions": {
186
+ "A": "input",
187
+ "B": "input",
188
+ "Y": "output"
189
+ },
190
+ "connections": {
191
+ "A": [ 4 ],
192
+ "B": [ 27 ],
193
+ "Y": [ 28 ]
194
+ }
195
+ },
196
+ "$auto$simplemap.cc:106:simplemap_bitop$202": {
197
+ "hide_name": 1,
198
+ "type": "$_XOR_",
199
+ "parameters": {
200
+ },
201
+ "attributes": {
202
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.14-205.19"
203
+ },
204
+ "port_directions": {
205
+ "A": "input",
206
+ "B": "input",
207
+ "Y": "output"
208
+ },
209
+ "connections": {
210
+ "A": [ 2 ],
211
+ "B": [ 29 ],
212
+ "Y": [ 30 ]
213
+ }
214
+ },
215
+ "$auto$simplemap.cc:106:simplemap_bitop$203": {
216
+ "hide_name": 1,
217
+ "type": "$_XOR_",
218
+ "parameters": {
219
+ },
220
+ "attributes": {
221
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.14-205.19"
222
+ },
223
+ "port_directions": {
224
+ "A": "input",
225
+ "B": "input",
226
+ "Y": "output"
227
+ },
228
+ "connections": {
229
+ "A": [ 3 ],
230
+ "B": [ 31 ],
231
+ "Y": [ 32 ]
232
+ }
233
+ },
234
+ "$auto$simplemap.cc:106:simplemap_bitop$204": {
235
+ "hide_name": 1,
236
+ "type": "$_XOR_",
237
+ "parameters": {
238
+ },
239
+ "attributes": {
240
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.14-205.19"
241
+ },
242
+ "port_directions": {
243
+ "A": "input",
244
+ "B": "input",
245
+ "Y": "output"
246
+ },
247
+ "connections": {
248
+ "A": [ 4 ],
249
+ "B": [ 27 ],
250
+ "Y": [ 33 ]
251
+ }
252
+ },
253
+ "$auto$simplemap.cc:106:simplemap_bitop$207": {
254
+ "hide_name": 1,
255
+ "type": "$_OR_",
256
+ "parameters": {
257
+ },
258
+ "attributes": {
259
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.12-240.41"
260
+ },
261
+ "port_directions": {
262
+ "A": "input",
263
+ "B": "input",
264
+ "Y": "output"
265
+ },
266
+ "connections": {
267
+ "A": [ 34 ],
268
+ "B": [ 35 ],
269
+ "Y": [ 36 ]
270
+ }
271
+ },
272
+ "$auto$simplemap.cc:106:simplemap_bitop$208": {
273
+ "hide_name": 1,
274
+ "type": "$_AND_",
275
+ "parameters": {
276
+ },
277
+ "attributes": {
278
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
279
+ },
280
+ "port_directions": {
281
+ "A": "input",
282
+ "B": "input",
283
+ "Y": "output"
284
+ },
285
+ "connections": {
286
+ "A": [ 37 ],
287
+ "B": [ 38 ],
288
+ "Y": [ 35 ]
289
+ }
290
+ },
291
+ "$auto$simplemap.cc:106:simplemap_bitop$209": {
292
+ "hide_name": 1,
293
+ "type": "$_AND_",
294
+ "parameters": {
295
+ },
296
+ "attributes": {
297
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:241.12-241.34"
298
+ },
299
+ "port_directions": {
300
+ "A": "input",
301
+ "B": "input",
302
+ "Y": "output"
303
+ },
304
+ "connections": {
305
+ "A": [ 39 ],
306
+ "B": [ 33 ],
307
+ "Y": [ 37 ]
308
+ }
309
+ },
310
+ "$auto$simplemap.cc:106:simplemap_bitop$210": {
311
+ "hide_name": 1,
312
+ "type": "$_OR_",
313
+ "parameters": {
314
+ },
315
+ "attributes": {
316
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.12-240.41"
317
+ },
318
+ "port_directions": {
319
+ "A": "input",
320
+ "B": "input",
321
+ "Y": "output"
322
+ },
323
+ "connections": {
324
+ "A": [ 40 ],
325
+ "B": [ 41 ],
326
+ "Y": [ 34 ]
327
+ }
328
+ },
329
+ "$auto$simplemap.cc:106:simplemap_bitop$211": {
330
+ "hide_name": 1,
331
+ "type": "$_AND_",
332
+ "parameters": {
333
+ },
334
+ "attributes": {
335
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
336
+ },
337
+ "port_directions": {
338
+ "A": "input",
339
+ "B": "input",
340
+ "Y": "output"
341
+ },
342
+ "connections": {
343
+ "A": [ 39 ],
344
+ "B": [ 28 ],
345
+ "Y": [ 41 ]
346
+ }
347
+ },
348
+ "$auto$simplemap.cc:106:simplemap_bitop$229": {
349
+ "hide_name": 1,
350
+ "type": "$_AND_",
351
+ "parameters": {
352
+ },
353
+ "attributes": {
354
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.26-205.31"
355
+ },
356
+ "port_directions": {
357
+ "A": "input",
358
+ "B": "input",
359
+ "Y": "output"
360
+ },
361
+ "connections": {
362
+ "A": [ 2 ],
363
+ "B": [ 29 ],
364
+ "Y": [ 42 ]
365
+ }
366
+ },
367
+ "$auto$simplemap.cc:106:simplemap_bitop$230": {
368
+ "hide_name": 1,
369
+ "type": "$_AND_",
370
+ "parameters": {
371
+ },
372
+ "attributes": {
373
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.26-205.31"
374
+ },
375
+ "port_directions": {
376
+ "A": "input",
377
+ "B": "input",
378
+ "Y": "output"
379
+ },
380
+ "connections": {
381
+ "A": [ 3 ],
382
+ "B": [ 31 ],
383
+ "Y": [ 43 ]
384
+ }
385
+ },
386
+ "$auto$simplemap.cc:106:simplemap_bitop$232": {
387
+ "hide_name": 1,
388
+ "type": "$_AND_",
389
+ "parameters": {
390
+ },
391
+ "attributes": {
392
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.26-205.31"
393
+ },
394
+ "port_directions": {
395
+ "A": "input",
396
+ "B": "input",
397
+ "Y": "output"
398
+ },
399
+ "connections": {
400
+ "A": [ 5 ],
401
+ "B": [ 44 ],
402
+ "Y": [ 40 ]
403
+ }
404
+ },
405
+ "$auto$simplemap.cc:106:simplemap_bitop$236": {
406
+ "hide_name": 1,
407
+ "type": "$_XOR_",
408
+ "parameters": {
409
+ },
410
+ "attributes": {
411
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:292.26-292.70|/share/techmap.v:205.14-205.19"
412
+ },
413
+ "port_directions": {
414
+ "A": "input",
415
+ "B": "input",
416
+ "Y": "output"
417
+ },
418
+ "connections": {
419
+ "A": [ 5 ],
420
+ "B": [ 44 ],
421
+ "Y": [ 39 ]
422
+ }
423
+ },
424
+ "$auto$simplemap.cc:106:simplemap_bitop$244": {
425
+ "hide_name": 1,
426
+ "type": "$_OR_",
427
+ "parameters": {
428
+ },
429
+ "attributes": {
430
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.12-240.41"
431
+ },
432
+ "port_directions": {
433
+ "A": "input",
434
+ "B": "input",
435
+ "Y": "output"
436
+ },
437
+ "connections": {
438
+ "A": [ 43 ],
439
+ "B": [ 45 ],
440
+ "Y": [ 38 ]
441
+ }
442
+ },
443
+ "$auto$simplemap.cc:106:simplemap_bitop$245": {
444
+ "hide_name": 1,
445
+ "type": "$_AND_",
446
+ "parameters": {
447
+ },
448
+ "attributes": {
449
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
450
+ },
451
+ "port_directions": {
452
+ "A": "input",
453
+ "B": "input",
454
+ "Y": "output"
455
+ },
456
+ "connections": {
457
+ "A": [ 32 ],
458
+ "B": [ 46 ],
459
+ "Y": [ 45 ]
460
+ }
461
+ },
462
+ "$auto$simplemap.cc:106:simplemap_bitop$246": {
463
+ "hide_name": 1,
464
+ "type": "$_OR_",
465
+ "parameters": {
466
+ },
467
+ "attributes": {
468
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:293.27-293.63|/share/techmap.v:231.10-231.28"
469
+ },
470
+ "port_directions": {
471
+ "A": "input",
472
+ "B": "input",
473
+ "Y": "output"
474
+ },
475
+ "connections": {
476
+ "A": [ 42 ],
477
+ "B": [ 30 ],
478
+ "Y": [ 46 ]
479
+ }
480
+ },
481
+ "$auto$simplemap.cc:106:simplemap_bitop$88": {
482
+ "hide_name": 1,
483
+ "type": "$_XOR_",
484
+ "parameters": {
485
+ },
486
+ "attributes": {
487
+ "src": "verilog/74xx/7485.v:18.17-18.23"
488
+ },
489
+ "port_directions": {
490
+ "A": "input",
491
+ "B": "input",
492
+ "Y": "output"
493
+ },
494
+ "connections": {
495
+ "A": [ 2 ],
496
+ "B": [ 6 ],
497
+ "Y": [ 47 ]
498
+ }
499
+ },
500
+ "$auto$simplemap.cc:106:simplemap_bitop$89": {
501
+ "hide_name": 1,
502
+ "type": "$_XOR_",
503
+ "parameters": {
504
+ },
505
+ "attributes": {
506
+ "src": "verilog/74xx/7485.v:18.17-18.23"
507
+ },
508
+ "port_directions": {
509
+ "A": "input",
510
+ "B": "input",
511
+ "Y": "output"
512
+ },
513
+ "connections": {
514
+ "A": [ 3 ],
515
+ "B": [ 7 ],
516
+ "Y": [ 48 ]
517
+ }
518
+ },
519
+ "$auto$simplemap.cc:106:simplemap_bitop$90": {
520
+ "hide_name": 1,
521
+ "type": "$_XOR_",
522
+ "parameters": {
523
+ },
524
+ "attributes": {
525
+ "src": "verilog/74xx/7485.v:18.17-18.23"
526
+ },
527
+ "port_directions": {
528
+ "A": "input",
529
+ "B": "input",
530
+ "Y": "output"
531
+ },
532
+ "connections": {
533
+ "A": [ 4 ],
534
+ "B": [ 8 ],
535
+ "Y": [ 49 ]
536
+ }
537
+ },
538
+ "$auto$simplemap.cc:106:simplemap_bitop$91": {
539
+ "hide_name": 1,
540
+ "type": "$_XOR_",
541
+ "parameters": {
542
+ },
543
+ "attributes": {
544
+ "src": "verilog/74xx/7485.v:18.17-18.23"
545
+ },
546
+ "port_directions": {
547
+ "A": "input",
548
+ "B": "input",
549
+ "Y": "output"
550
+ },
551
+ "connections": {
552
+ "A": [ 5 ],
553
+ "B": [ 9 ],
554
+ "Y": [ 50 ]
555
+ }
556
+ },
557
+ "$auto$simplemap.cc:157:simplemap_reduce$130": {
558
+ "hide_name": 1,
559
+ "type": "$_AND_",
560
+ "parameters": {
561
+ },
562
+ "attributes": {
563
+ "src": "verilog/74xx/7485.v:20.21-20.26"
564
+ },
565
+ "port_directions": {
566
+ "A": "input",
567
+ "B": "input",
568
+ "Y": "output"
569
+ },
570
+ "connections": {
571
+ "A": [ 30 ],
572
+ "B": [ 32 ],
573
+ "Y": [ 51 ]
574
+ }
575
+ },
576
+ "$auto$simplemap.cc:157:simplemap_reduce$133": {
577
+ "hide_name": 1,
578
+ "type": "$_AND_",
579
+ "parameters": {
580
+ },
581
+ "attributes": {
582
+ "src": "verilog/74xx/7485.v:20.21-20.26"
583
+ },
584
+ "port_directions": {
585
+ "A": "input",
586
+ "B": "input",
587
+ "Y": "output"
588
+ },
589
+ "connections": {
590
+ "A": [ 51 ],
591
+ "B": [ 37 ],
592
+ "Y": [ 25 ]
593
+ }
594
+ },
595
+ "$auto$simplemap.cc:157:simplemap_reduce$95": {
596
+ "hide_name": 1,
597
+ "type": "$_OR_",
598
+ "parameters": {
599
+ },
600
+ "attributes": {
601
+ "src": "verilog/74xx/7485.v:18.17-18.23"
602
+ },
603
+ "port_directions": {
604
+ "A": "input",
605
+ "B": "input",
606
+ "Y": "output"
607
+ },
608
+ "connections": {
609
+ "A": [ 47 ],
610
+ "B": [ 48 ],
611
+ "Y": [ 52 ]
612
+ }
613
+ },
614
+ "$auto$simplemap.cc:157:simplemap_reduce$96": {
615
+ "hide_name": 1,
616
+ "type": "$_OR_",
617
+ "parameters": {
618
+ },
619
+ "attributes": {
620
+ "src": "verilog/74xx/7485.v:18.17-18.23"
621
+ },
622
+ "port_directions": {
623
+ "A": "input",
624
+ "B": "input",
625
+ "Y": "output"
626
+ },
627
+ "connections": {
628
+ "A": [ 49 ],
629
+ "B": [ 50 ],
630
+ "Y": [ 53 ]
631
+ }
632
+ },
633
+ "$auto$simplemap.cc:157:simplemap_reduce$98": {
634
+ "hide_name": 1,
635
+ "type": "$_OR_",
636
+ "parameters": {
637
+ },
638
+ "attributes": {
639
+ "src": "verilog/74xx/7485.v:18.17-18.23"
640
+ },
641
+ "port_directions": {
642
+ "A": "input",
643
+ "B": "input",
644
+ "Y": "output"
645
+ },
646
+ "connections": {
647
+ "A": [ 52 ],
648
+ "B": [ 53 ],
649
+ "Y": [ 54 ]
650
+ }
651
+ },
652
+ "$auto$simplemap.cc:227:simplemap_lognot$100": {
653
+ "hide_name": 1,
654
+ "type": "$_NOT_",
655
+ "parameters": {
656
+ },
657
+ "attributes": {
658
+ "src": "verilog/74xx/7485.v:18.17-18.23"
659
+ },
660
+ "port_directions": {
661
+ "A": "input",
662
+ "Y": "output"
663
+ },
664
+ "connections": {
665
+ "A": [ 54 ],
666
+ "Y": [ 16 ]
667
+ }
668
+ },
669
+ "$auto$simplemap.cc:46:simplemap_not$114": {
670
+ "hide_name": 1,
671
+ "type": "$_NOT_",
672
+ "parameters": {
673
+ },
674
+ "attributes": {
675
+ "src": "verilog/74xx/7485.v:20.49-20.56"
676
+ },
677
+ "port_directions": {
678
+ "A": "input",
679
+ "Y": "output"
680
+ },
681
+ "connections": {
682
+ "A": [ 12 ],
683
+ "Y": [ 18 ]
684
+ }
685
+ },
686
+ "$auto$simplemap.cc:46:simplemap_not$123": {
687
+ "hide_name": 1,
688
+ "type": "$_NOT_",
689
+ "parameters": {
690
+ },
691
+ "attributes": {
692
+ "src": "verilog/74xx/7485.v:21.39-21.46"
693
+ },
694
+ "port_directions": {
695
+ "A": "input",
696
+ "Y": "output"
697
+ },
698
+ "connections": {
699
+ "A": [ 11 ],
700
+ "Y": [ 21 ]
701
+ }
702
+ },
703
+ "$auto$simplemap.cc:46:simplemap_not$125": {
704
+ "hide_name": 1,
705
+ "type": "$_NOT_",
706
+ "parameters": {
707
+ },
708
+ "attributes": {
709
+ "src": "verilog/74xx/7485.v:21.49-21.56"
710
+ },
711
+ "port_directions": {
712
+ "A": "input",
713
+ "Y": "output"
714
+ },
715
+ "connections": {
716
+ "A": [ 10 ],
717
+ "Y": [ 22 ]
718
+ }
719
+ },
720
+ "$auto$simplemap.cc:46:simplemap_not$134": {
721
+ "hide_name": 1,
722
+ "type": "$_NOT_",
723
+ "parameters": {
724
+ },
725
+ "attributes": {
726
+ "src": "verilog/74xx/7485.v:20.21-20.26"
727
+ },
728
+ "port_directions": {
729
+ "A": "input",
730
+ "Y": "output"
731
+ },
732
+ "connections": {
733
+ "A": [ 36 ],
734
+ "Y": [ 24 ]
735
+ }
736
+ },
737
+ "$auto$simplemap.cc:46:simplemap_not$138": {
738
+ "hide_name": 1,
739
+ "type": "$_NOT_",
740
+ "parameters": {
741
+ },
742
+ "attributes": {
743
+ "src": "verilog/74xx/7485.v:20.21-20.26"
744
+ },
745
+ "port_directions": {
746
+ "A": "input",
747
+ "Y": "output"
748
+ },
749
+ "connections": {
750
+ "A": [ 26 ],
751
+ "Y": [ 20 ]
752
+ }
753
+ },
754
+ "$auto$simplemap.cc:46:simplemap_not$169": {
755
+ "hide_name": 1,
756
+ "type": "$_NOT_",
757
+ "parameters": {
758
+ },
759
+ "attributes": {
760
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:279.31-279.37"
761
+ },
762
+ "port_directions": {
763
+ "A": "input",
764
+ "Y": "output"
765
+ },
766
+ "connections": {
767
+ "A": [ 6 ],
768
+ "Y": [ 29 ]
769
+ }
770
+ },
771
+ "$auto$simplemap.cc:46:simplemap_not$170": {
772
+ "hide_name": 1,
773
+ "type": "$_NOT_",
774
+ "parameters": {
775
+ },
776
+ "attributes": {
777
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:279.31-279.37"
778
+ },
779
+ "port_directions": {
780
+ "A": "input",
781
+ "Y": "output"
782
+ },
783
+ "connections": {
784
+ "A": [ 7 ],
785
+ "Y": [ 31 ]
786
+ }
787
+ },
788
+ "$auto$simplemap.cc:46:simplemap_not$171": {
789
+ "hide_name": 1,
790
+ "type": "$_NOT_",
791
+ "parameters": {
792
+ },
793
+ "attributes": {
794
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:279.31-279.37"
795
+ },
796
+ "port_directions": {
797
+ "A": "input",
798
+ "Y": "output"
799
+ },
800
+ "connections": {
801
+ "A": [ 8 ],
802
+ "Y": [ 27 ]
803
+ }
804
+ },
805
+ "$auto$simplemap.cc:46:simplemap_not$185": {
806
+ "hide_name": 1,
807
+ "type": "$_NOT_",
808
+ "parameters": {
809
+ },
810
+ "attributes": {
811
+ "src": "verilog/74xx/7485.v:21.21-21.26|/share/techmap.v:279.31-279.37"
812
+ },
813
+ "port_directions": {
814
+ "A": "input",
815
+ "Y": "output"
816
+ },
817
+ "connections": {
818
+ "A": [ 9 ],
819
+ "Y": [ 44 ]
820
+ }
821
+ }
822
+ },
823
+ "netnames": {
824
+ "$and$verilog/74xx/7485.v:20$5_Y": {
825
+ "hide_name": 1,
826
+ "bits": [ 17 ],
827
+ "attributes": {
828
+ "src": "verilog/74xx/7485.v:20.31-20.46"
829
+ }
830
+ },
831
+ "$and$verilog/74xx/7485.v:20$7_Y": {
832
+ "hide_name": 1,
833
+ "bits": [ 19 ],
834
+ "attributes": {
835
+ "src": "verilog/74xx/7485.v:20.31-20.56"
836
+ }
837
+ },
838
+ "$and$verilog/74xx/7485.v:21$13_Y": {
839
+ "hide_name": 1,
840
+ "bits": [ 23 ],
841
+ "attributes": {
842
+ "src": "verilog/74xx/7485.v:21.31-21.56"
843
+ }
844
+ },
845
+ "$auto$simplemap.cc:148:simplemap_reduce$129": {
846
+ "hide_name": 1,
847
+ "bits": [ 51, 37 ],
848
+ "attributes": {
849
+ }
850
+ },
851
+ "$auto$simplemap.cc:148:simplemap_reduce$94": {
852
+ "hide_name": 1,
853
+ "bits": [ 52, 53 ],
854
+ "attributes": {
855
+ }
856
+ },
857
+ "$auto$simplemap.cc:271:simplemap_eqne$86": {
858
+ "hide_name": 1,
859
+ "bits": [ 47, 48, 49, 50 ],
860
+ "attributes": {
861
+ }
862
+ },
863
+ "$auto$simplemap.cc:277:simplemap_eqne$92": {
864
+ "hide_name": 1,
865
+ "bits": [ 54 ],
866
+ "attributes": {
867
+ }
868
+ },
869
+ "$gt$verilog/74xx/7485.v:20$3_Y": {
870
+ "hide_name": 1,
871
+ "bits": [ 20 ],
872
+ "attributes": {
873
+ "src": "verilog/74xx/7485.v:20.21-20.26"
874
+ }
875
+ },
876
+ "$lt$verilog/74xx/7485.v:21$9_Y": {
877
+ "hide_name": 1,
878
+ "bits": [ 24 ],
879
+ "attributes": {
880
+ "src": "verilog/74xx/7485.v:21.21-21.26"
881
+ }
882
+ },
883
+ "$not$verilog/74xx/7485.v:20$4_Y": {
884
+ "hide_name": 1,
885
+ "bits": [ 21 ],
886
+ "attributes": {
887
+ "src": "verilog/74xx/7485.v:20.39-20.46"
888
+ }
889
+ },
890
+ "$not$verilog/74xx/7485.v:20$6_Y": {
891
+ "hide_name": 1,
892
+ "bits": [ 18 ],
893
+ "attributes": {
894
+ "src": "verilog/74xx/7485.v:20.49-20.56"
895
+ }
896
+ },
897
+ "$not$verilog/74xx/7485.v:21$12_Y": {
898
+ "hide_name": 1,
899
+ "bits": [ 22 ],
900
+ "attributes": {
901
+ "src": "verilog/74xx/7485.v:21.49-21.56"
902
+ }
903
+ },
904
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.BB": {
905
+ "hide_name": 1,
906
+ "bits": [ 29, 31, 27, 44 ],
907
+ "attributes": {
908
+ "force_downto": "00000000000000000000000000000001",
909
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:279.21-279.23"
910
+ }
911
+ },
912
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.CO": {
913
+ "hide_name": 1,
914
+ "bits": [ 46, 38, 55, 36 ],
915
+ "attributes": {
916
+ "force_downto": "00000000000000000000000000000001",
917
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:274.23-274.25"
918
+ }
919
+ },
920
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.P": {
921
+ "hide_name": 1,
922
+ "bits": [ 30, 32, 33, 39 ],
923
+ "attributes": {
924
+ "force_downto": "00000000000000000000000000000001",
925
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:287.21-287.22"
926
+ }
927
+ },
928
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.fa.X": {
929
+ "hide_name": 1,
930
+ "bits": [ 42, 43, 28, 40 ],
931
+ "attributes": {
932
+ "force_downto": "00000000000000000000000000000001",
933
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:292.26-292.70|/share/techmap.v:200.21-200.22"
934
+ }
935
+ },
936
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$rtlil.cc:3248:ReduceAnd$109": {
937
+ "hide_name": 1,
938
+ "bits": [ 25 ],
939
+ "attributes": {
940
+ }
941
+ },
942
+ "$techmap$gt$verilog/74xx/7485.v:20$3.$auto$rtlil.cc:3294:Or$111": {
943
+ "hide_name": 1,
944
+ "bits": [ 26 ],
945
+ "attributes": {
946
+ }
947
+ },
948
+ "$techmap$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.lcu.$and$/share/techmap.v:240$153_Y": {
949
+ "hide_name": 1,
950
+ "bits": [ 45 ],
951
+ "attributes": {
952
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
953
+ }
954
+ },
955
+ "$techmap$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.lcu.$and$/share/techmap.v:240$156_Y": {
956
+ "hide_name": 1,
957
+ "bits": [ 41 ],
958
+ "attributes": {
959
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
960
+ }
961
+ },
962
+ "$techmap$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.lcu.$and$/share/techmap.v:240$159_Y": {
963
+ "hide_name": 1,
964
+ "bits": [ 35 ],
965
+ "attributes": {
966
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.19-240.41"
967
+ }
968
+ },
969
+ "$techmap$techmap$gt$verilog/74xx/7485.v:20$3.$auto$alumacc.cc:578:replace_alu$103.lcu.$or$/share/techmap.v:240$157_Y": {
970
+ "hide_name": 1,
971
+ "bits": [ 34 ],
972
+ "attributes": {
973
+ "src": "verilog/74xx/7485.v:20.21-20.26|/share/techmap.v:293.27-293.63|/share/techmap.v:240.12-240.41"
974
+ }
975
+ },
976
+ "A": {
977
+ "hide_name": 0,
978
+ "bits": [ 2, 3, 4, 5 ],
979
+ "attributes": {
980
+ "src": "verilog/74xx/7485.v:9.17-9.18"
981
+ }
982
+ },
983
+ "B": {
984
+ "hide_name": 0,
985
+ "bits": [ 6, 7, 8, 9 ],
986
+ "attributes": {
987
+ "src": "verilog/74xx/7485.v:10.17-10.18"
988
+ }
989
+ },
990
+ "I_AeqB": {
991
+ "hide_name": 0,
992
+ "bits": [ 11 ],
993
+ "attributes": {
994
+ "src": "verilog/74xx/7485.v:12.11-12.17"
995
+ }
996
+ },
997
+ "I_AgtB": {
998
+ "hide_name": 0,
999
+ "bits": [ 10 ],
1000
+ "attributes": {
1001
+ "src": "verilog/74xx/7485.v:11.11-11.17"
1002
+ }
1003
+ },
1004
+ "I_AltB": {
1005
+ "hide_name": 0,
1006
+ "bits": [ 12 ],
1007
+ "attributes": {
1008
+ "src": "verilog/74xx/7485.v:13.11-13.17"
1009
+ }
1010
+ },
1011
+ "O_AeqB": {
1012
+ "hide_name": 0,
1013
+ "bits": [ 14 ],
1014
+ "attributes": {
1015
+ "src": "verilog/74xx/7485.v:15.12-15.18"
1016
+ }
1017
+ },
1018
+ "O_AgtB": {
1019
+ "hide_name": 0,
1020
+ "bits": [ 13 ],
1021
+ "attributes": {
1022
+ "src": "verilog/74xx/7485.v:14.12-14.18"
1023
+ }
1024
+ },
1025
+ "O_AltB": {
1026
+ "hide_name": 0,
1027
+ "bits": [ 15 ],
1028
+ "attributes": {
1029
+ "src": "verilog/74xx/7485.v:16.12-16.18"
1030
+ }
1031
+ },
1032
+ "equal": {
1033
+ "hide_name": 0,
1034
+ "bits": [ 16 ],
1035
+ "attributes": {
1036
+ "src": "verilog/74xx/7485.v:18.9-18.14"
1037
+ }
1038
+ }
1039
+ }
1040
+ }
1041
+ }
1042
+ }