fix small chip compile bug that wired dummy signals to each other

This commit is contained in:
Michael Schubmehl 2014-02-08 14:01:35 -06:00
parent 780c774bbd
commit b7cbd94232

View File

@ -99,7 +99,7 @@ public ChipCompiler(PrototypeChip pc, SmallChip sc)
for (int ap=1; ap<4; ap++) // For every output Signal in the Node for (int ap=1; ap<4; ap++) // For every output Signal in the Node
{ {
Signal s1 = gate1.portSignals[ap].externalSignal; Signal s1 = gate1.portSignals[ap].externalSignal;
if (s1!= null) if (s1!= null && s1!=dummy)
{ {
for (int b=0; b<sc.gates.size(); b++) // For every other Gate in the Chip for (int b=0; b<sc.gates.size(); b++) // For every other Gate in the Chip
{ {