hi
i check your file but now i have some problem ,with load your code hdl builer is inactive in menu.
i build some thing like your code with my blocks.some problems=>
1if you build hdl of each block then mix them is better for ex. digital filter.lms filter
2some problem refer to sine wave ,for build your hdl you most choose in properties look-up table that can impelement on your code. but i delete this and replace with a source then in code you can assign number to this pin.
3your table is not impelement in code and it is better to delete them when your creat your code.