A DIGITAL TRIGGER FOR HEAVY-ION EXPERIMENTS AT LNS RID G-5625-2010 RID C-4085-2009