On Identifying Patterns in Code Repositories to Assist the Generation of Hardware Templates | IEEE Conference Publication | IEEE Xplore