R
raghu
Guest
module simp();
output [3:0] s;
reg [3:0] s;
reg [5:0] k;
initial
s = k[5-:4];
endmodule
when I compile this program i get an error as: near ":": expecting:
IDENT
can anyone please tell where the program has gone wrong? how to remove
the error?.
Thanks a ton in advance.
Regards,
Raghu
output [3:0] s;
reg [3:0] s;
reg [5:0] k;
initial
s = k[5-:4];
endmodule
when I compile this program i get an error as: near ":": expecting:
IDENT
can anyone please tell where the program has gone wrong? how to remove
the error?.
Thanks a ton in advance.
Regards,
Raghu