URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
[/] [a-z80/] [trunk/] [resources/] [process-pla.py] - Diff between revs 8 and 22
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 22 |
Line 99... |
Line 99... |
|
|
# Write the ID number, text decode and description
|
# Write the ID number, text decode and description
|
fOut.write(seg[0] + "\t" + seg[21] + "\t" + ' '.join(seg[23:len(seg)]) + "\n")
|
fOut.write(seg[0] + "\t" + seg[21] + "\t" + ' '.join(seg[23:len(seg)]) + "\n")
|
|
|
# The original PLA table passes individual opcode bits that are needed to decode many
|
# The original PLA table passes individual opcode bits that are needed to decode many
|
# instructions but it does not contain concrete entries
|
# instructions but it does not contain concrete single-bit entries
|
# We append those bits to the end of our PLA table
|
# We append those bits to the end of our PLA table
|
fOut.write("....... ...............1\t-\t99\txxxxxxx1\topcode[0]\n")
|
fOut.write("....... ...............1\t-\t99\txxxxxxx1\topcode[0]\n")
|
fOut.write("....... .............1..\t-\t100\txxxxxx1x\topcode[1]\n")
|
fOut.write("....... .............1..\t-\t100\txxxxxx1x\topcode[1]\n")
|
fOut.write("....... ...........1....\t-\t101\txxxxx1xx\topcode[2]\n")
|
fOut.write("....... ...........1....\t-\t101\txxxxx1xx\topcode[2]\n")
|
fOut.write("....... .........1......\t-\t102\txxxx1xxx\topcode[3]\n")
|
fOut.write("....... .........1......\t-\t102\txxxx1xxx\topcode[3]\n")
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.