grep initial HW implementation

Change-Id: I47638ec932a0545b4a7ac1766d41ce8016d85f60