By the way, I've pushed some fixes to the github archive of the verilog-6502. You'll need to merge those with your own forks.
Thanks - just done my merges, I'm all up to date with your core now.
I had to do one additional change - you seem to have dropped an 'end' in the fix to the I reg update.
EEye: I haven't picked up any of your work in git, as our code has diverged quite a bit - mostly in small ways, but it makes it fiddly to see where the interesting differences are. I think we have
- you removed BCD textually, where i used defines
- you also removed SED and CLD, and the D flag
- you did a lot a reformatting
- you init the stack pointer and registers
- you re-indexed AXYS
- you did some additional change from <= to = (in cond_code, on June 8)
- finally, you added PHX, PHY, PLX, PLY (again, without defines)
Those last three changes I think I'd like to pick up on. I'm not sure I have the git commands to do that by inheriting your history. I think I need cherry-picking.
Generally, I would like to add some 65C02 instructions, but I'd do it with defines to make them configurable. (Just as I keep BCD, but as a configuration option.)
First though, I think I need some kind of debug port, maybe with single-stepping using RDY, because something isn't quite right with my SoC.
Cheers
Ed