Hi James,
On Fri, 2024-03-01 at 13:58 +0000, 'James Jackson' via KiCad Developers
wrote:
>
> So I think the primary source of grouping information will be through
> integration with DRC constraints. For example, for a wide bus like you
> describe, one could have a constraint such as:
>
> (rule "AddressBus"
> (constraint length (min 39mm) (max 40mm) (opt 39.5mm))
> (condition "A.NetClass == 'DDR_Addr' && A.fromTo('IC1-*','IC2-*' )")
>
> The Net Inspector would group all nets matching this constraint. Likewise for
> skew constraints (although length + skew constraints matching the same
> criteria I'll aim to display on the same line). There's probably some
> complexity here with nested constraints (e.g. a net which matches a bulk bus
> constraint like that above, but which also contains differential pair
> constraints within), but we'll solve those when we get to them.
>
> I also I intend to leave the option to group by a freetext field searching on
> netclass and net names, sort of as exists currently, and the option to just
> group by netclass, for cases where constraints have not been defined.
>
> For signal constraints, it'll be very similar - but signals are currently not
> really defined at all, so I won't say much more other than I'd expect signals
> to group by constraints and / or signal name patterns too.
>
> Hope that all makes sense?
>
Thanks for the explanation. Yes, this sounds good -- establishing net
groups in some rule file. Of course in practice, it all depends on how
complex the "condition" expression is allowed to be.
The support data structures to have those things working fast in/with the
tree view thing can be a bit annoying to figure out, from what I remember...
Best regards,
Oleg Endo
--
You received this message because you are subscribed to the Google Groups
"KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/kicad.org/d/msgid/devlist/eff97a03cc5b19ee1e37647f61249bcfa3e8c6ad.camel%40gmail.com.