2106 - LatticeXP2: When re-configuring the TAG memory, how to preserve it so it will not overwritten the initial content the next time the user re-load the original bitstream?

2106 - LatticeXP2: When re-configuring the TAG memory, how to preserve it so it will not overwritten the initial content the next time the user re-load the original bitstream?

Bitstream loads an initial TAG memory content. 
There is no software option to  "write-protect" the content of the TAG memory when you re-load a bitstream that includes an initial TAG memory configuration. Your only option is to use two bitstreams:
  •  bitstream1: this bitstream provides original design settings, but does not configure an initial TAG memory content
  •  bitstream2: this bitstream provides the same original design settings as bitsream1. In addition, it preloads the TAG memory with an initial configuration patten

Your configuration flow should follow the following steps:

  1. Download bitstream2 which includes the initial TAG memory configuration
  2. Reconfigure the TAG memory ,as part of a field update, for example
  3. To revert to the original design settings while preserving the TAG memory content from step 2 above, load bitstream1