Altera_Forum
Honored Contributor
17 years agoProblem when synthesizing top module with quartus II
I just start to build my first project using this software. The top module has a function of counting pulse to 100 and then return to 0. To simplify it, I use two decimal counter named decimal to build it,
decimal m1(clk,en,ret,data,cout_mid),m2(cout_mid,en,ret,data,cout); but the top module fails when synthesized. Errors listed below: Error (10228): Verilog HDL error at decimal.v(1): module "decimal" cannot be declared more than once It’s really weird, can somebody help me? Thank u