On Fri, 29 Nov 2024 at 03:33, Tomoyuki HIROSE <tomoyuki.hir...@igel.co.jp> wrote: > OK, thanks! I got understand. I thought MemoryRegionOps had to be > 'static const' . > I will try to improve code so that it does not require the use of > memaccess-testdev.h.inc .
Great. The other thing I thought of this weekend is that we should document the behaviour in docs/devel/memory.rst. We could have a new section there that describes how the core memory code synthesizes accesses that are permitted by the .valid settings but not handled by the .impl settings. That way device model authors can know what happens without having to read the source code. thanks -- PMM