P
Pleg
Guest
Hi everybody, I was playing a little with ModelSim (it's the first time I
use it), I was compiling an old file for a simple 32 bits ALU. I have
correctly compiled the "alu_cell.v", which is a single bit cell, and I need
32 istances of it in the "alu32.v". So I wrote
alu_cell cell[31:0] (.d(d), .g(g), .p(p), .a(a), .b(b), .c(c), .S(S));
and the compiler said "** Error: alu32.v(11): near "cell": expecting:
IDENT"
What does it mean? The syntax I used worked perfectly on a different
compiler (I don't remember which), why is it not working here?
Thanks,
Pleg
use it), I was compiling an old file for a simple 32 bits ALU. I have
correctly compiled the "alu_cell.v", which is a single bit cell, and I need
32 istances of it in the "alu32.v". So I wrote
alu_cell cell[31:0] (.d(d), .g(g), .p(p), .a(a), .b(b), .c(c), .S(S));
and the compiler said "** Error: alu32.v(11): near "cell": expecting:
IDENT"
What does it mean? The syntax I used worked perfectly on a different
compiler (I don't remember which), why is it not working here?
Thanks,
Pleg