I used coregen to develop a divider core. Here are the steps I tried to use that divider in my design (not sure if its quite correct): 1) copied wrapper (core_name.v), .ngc file, and .veo file into main design folder 2) instantiate the core in my main verilog module using the veo template: core_name u1(.a(a_p), .b(b_p), .c(c_p), .d(d_p); whenever I need the divide function in my main verilog module 3) `include "core_name.v"
When I do a syntax check I get: "core_name.v" line 1 expecting 'endmodule', found 'module'
Please advise on the steps needed to instantiate the core in my ISE design and synthesize it.
Thank you.