Hi Edgar,
On 19:31 Fri 12 Sep , Edgar E. Iglesias wrote:
> > +int versal_get_num_can(VersalVersion version)
> > +{
> > + const VersalMap *map = VERSION_TO_MAP[version];
> > +
> > + return map->num_canfd;
> > +}
>
> Is there a QOM way to do this? Like a read-only prop?
> Or do we usually handle these kind of things by non-QOM side interfaces?Yes I think it would be possible but again, I don't see much gain in doing so given the use-case here. Thanks -- Luc
