Synplify now reads the defparam 'INIT' used for instantiated SRLs, so you can initialize the value of the SRL16 for both simulation and synthesis with a single defparam. However, I'm wondering if there is a way to infer SRL16 Johnson rings or shift registers with an initial value. This can be done with registers by setting the 'reset' value of the register to the desired value, but you can't have a reset clause with SRLs or they won't get inferred as SRLs. It would be nice to be able to infer a Johnson ring because if you want to instantiate SRLs you need to instantiate one for each 16 bits of the register which makes it hard to parameterize it.
18 years ago