Open dpetrisko opened 2 years ago
Doubtful that this will break anything as synth memories should never be explicitly instantiated anywhere, and not-synth mems will not be setting this unused parameter
Great suggested change. Do we have an error or warning that fires when if harden_p=1 and it is going to a non-hardened module?
If it is non-leaf, then it should pass harden_p along, rather than swallowing it. This way we don't have to clone the code for intermediate modules that would not be hardened, but whose children are hardened.
Do we have an error or warning that fires when if harden_p=1 and it is going to a non-hardened module?
Can add!
If it is non-leaf, then it should pass harden_p along, rather than swallowing it. This way we don't have to clone the code for intermediate modules that would not be hardened, but whose children are hardened.
Not sure what you mean here. Are you proposing
Aside $warn vs $error?
@taylor-bsg clarification on the above?
Standardizing the harden_p scheme for memories.
This means 1) removing harden_p from _synth memories 2) Adding harden_p to all other mems 3) In hardened directories default harden_p = 1 4) In non-hardened directories default harden_p = 0