Currently, fault requires you to use magma_output to set the magma compile target, but this may be confusing to user who is using magma_opts to passthrough arguments to m.compile (where they might think they can pass output as one of those arguments). We should either catch this case and raise an error (require the user to use magma_output), or allow the user to override the default magma_output using magma_opts (in this case, we can error if the user sets both magma_output and inside magma_opts since we don't necessarily know which one to use).
Currently, fault requires you to use
magma_output
to set the magma compile target, but this may be confusing to user who is usingmagma_opts
to passthrough arguments tom.compile
(where they might think they can passoutput
as one of those arguments). We should either catch this case and raise an error (require the user to usemagma_output
), or allow the user to override the defaultmagma_output
usingmagma_opts
(in this case, we can error if the user sets bothmagma_output
and insidemagma_opts
since we don't necessarily know which one to use).