I want to lower an ESI connection to a SV interface and connect its modports it to an RTL module. The RTL dialect’s
ModuleOp only takes
Types as ports whereas the SV dialect models interfaces’ modports as instructions… How should I do this? (It doesn’t seem possible currently.) Should I be trying this?
More generally, how should the SV and RTL dialects inter-operate? Should it be RTL -> SV only? I had imagined them being supplementary.
(Tagging @mikeurbach since he did the InterfaceOp for the SV dialect.)