After debugging another project for a while I finally got it to work - by replacing the ATF22v10C with a Lattice 22v10B. Same programmer, same jed file, etc.
The problem was that the ATF22v10 completely shut down, and produced logic levels at the output that had absolutely no relation to the inputs. I tracked it down to a high signal on pin 4. According to the data sheet this is a "power down" mode...
I never configured this in WinCUPL, and the TopALL software has no separate "power down" mode device for the 22v10. I did notice that the JED file has 5856 fuses, while the view in TopAll has only 5828 fuses. So I assume some important information at the end of the JED file gets cut off.
Unfortunately the developer for the TopALL software has fallen off the internet... Or is there a newer version than 8.37?
The problem was that the ATF22v10 completely shut down, and produced logic levels at the output that had absolutely no relation to the inputs. I tracked it down to a high signal on pin 4. According to the data sheet this is a "power down" mode...
I never configured this in WinCUPL, and the TopALL software has no separate "power down" mode device for the 22v10. I did notice that the JED file has 5856 fuses, while the view in TopAll has only 5828 fuses. So I assume some important information at the end of the JED file gets cut off.
Unfortunately the developer for the TopALL software has fallen off the internet... Or is there a newer version than 8.37?