Closed fenugrec closed 6 years ago
The interrupt status behavior isn't based on the behavior of the cb7210.2, it's just something that seemed like the right thing to do at the time. It was probably a mistake though, better to keep it simple and compatible. Fixed in commit 8cc5b8a3d687c3663fd4ba5466afdd3c02ad052f
Hi, more of a question than an issue, but :
in src/frontends/frontend_cb7210p2.vhd : lines 495+
Shouldn't the ISR bits reflect the condition of the interrupt regardless of the enable bit ? I'm assuming the cb7210 would behave the same as the NAT7210 / NEC 7210 but I don't have any data on that. NAT7210 docs describe it as "Bits in ISR1 are set and cleared regardless of the status of the Interrupt bits in IMR1."
I found those comments amusing -- I'm sure they were the result of much head-scratching ! I noticed in some cases the NAT7210 ref manual was correct; but I understand you called this a "cb7210 frontend", not "generic 7210-compatible frontend". Did you notice serious discrepancies between cb7210 behavior and the original NEC part ?