Commit 0c3041f
committed
Update
- Any Gate with a user-specified name is never inlined.
- Unnamed constant Gates are always inlined.
- Unnamed non-constant Gates are inlined if:
- The Gate has one user, AND
- The Gate is not a MemBlock read, AND
- The Gate is not an arg to a bit-select Gate.
Also:
- Update `output_verilog_testbench` to use `GateGraph`.
- Define `GateGraph.__iter__` to make it easier to iterate over all Gates.
- Delete some disabled tests in `test_aes.py`.output_to_verilog to inline single-use temporaries, using GateGraph:1 parent 3deeedd commit 0c3041f
4 files changed
Lines changed: 670 additions & 856 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
0 commit comments