Open info-rchitect opened 6 years ago
Also the need for this is so we can create flow conditionals that are test module specific.
func :jtag_ore_enable if dut.jtag.ft?
The #1 workaround is ugly and yes we should fix it to remove the need to do that.
For #2, I think you are saying that if you setup an object to track the parameter context of another object and then the master object sets a context that the follower doesn't have, then it raises an error.
It's not clear what the follower object should do in that case, is that not a condition that it is worth alerting the user to via an error message?
@ginty wrt #2, let me explain our use case. We have multiple test modules that are direct'children' of the DUT. Each test module has to decide if their test content is common to all test insertions, specific to a an actual insertion (e.g. WS1) or specific to an insertion platform (e.g. WS or FT) but not an actual insertion in the manufacturing flow. When the user uses the --job option they are directing the DUT to tell their test module to generate job specific content versus the default common content. Other test modules may not respond to that job but we think that is OK. I guess it is comparable to the on_mode_changed callback. When the DUT changes modes, if the test module calls the callback then it cares about the mode change, if not then no error.
Hi,
We use the Origen::Parameters API a lot and it really works great most of the time but some problems have arisen:
1 Workaround
2 Ruby code
2 error
My proposal is that checking parameter contexts works regardless if no sets are defined. Secondly, that context inheritance does not force a parameter set to be defined, rather it is just a broadcast message that just sets the context and let's the object decide if it wants to listen. I think the fix for #1 will fix #2 as well. Thoughts?
thx