Creating Latches in ABEL
out = data & latch
out0 node istype ‘reg’;
Equations
out0 := data0;
out0.lh = latch_enable; `` transparent high
// Combinatorial Latches
out0 node istype ‘com, retain’;
`` retain attribute turns off Boolean minimization in
`` ABEL compiler and CPLD fitter to retain redundant
`` product terms
# out & !latch `` latch data on falling edge
# out & data; `` redundant product term