An Optimal and Flexible TCAM Software Simulation Algorithm | IEEE Conference Publication | IEEE Xplore