Changed makefile and updated vivado code.