S
sridhar
Guest
The following compiles fine, but I am getting an error when I try to
simulate(using aldec hdl6.2).
module x;
parameter n = 3;
wire [num:0]a1,a2,a3;
//this is where the problem comes
and a[num:0](a1,{a2[num-1:0],1'b1},{a3[num-1:0],1'b1});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
endmodule
Is this allowed?
TIA
-sridhar
simulate(using aldec hdl6.2).
module x;
parameter n = 3;
wire [num:0]a1,a2,a3;
//this is where the problem comes
and a[num:0](a1,{a2[num-1:0],1'b1},{a3[num-1:0],1'b1});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
endmodule
Is this allowed?
TIA
-sridhar