It should work by switching the line:
if True then
to
if (glock='0') then
, as in every other register. I don't have a working TCE environment right now so can't test it.
It should work by switching the line:
if True then
to
if (glock='0') then
, as in every other register. I don't have a working TCE environment right now so can't test it.