Implement populate_candidates() in verilog version