tudortimi / constraints

Reusable constraints
Apache License 2.0
3 stars 1 forks source link

Add support for scoped constraints #5

Open tudortimi opened 2 years ago

tudortimi commented 2 years ago

It would be very useful to add constraints to only parts of a UVM hierarchy. For example, if we were to have a DUT with two AHB interfaces, we might want to constrain them individually. Global constraints are too blunt and instance constraints require the test writer to add hooks to inject constraints.

tudortimi commented 2 years ago

Should not create a permanent dependency on UVM. Should be able to compile the package without UVM, but not get scoped constraints.