I do not know how to get this resolved..Appreciate your help...
THX.
You can get additional information about NC-Verilog messages from nchelp
by giving it the tool and the error mnemonic. For example
nchelp ncvlog WANOTL
will print
ncvlog/WANOTL =
A net cannot be used as an lvalue in behavioral assignments
or as an lvalue in an 'assign' statement.
This gives you more detail, but still assumes that you know enough
about the Verilog language to understand your mistake when it is
explained. You have declared cin as a wire and are using it as the
left-hand-side value (lvalue in C terminology) of a behavioral
assignment. This is illegal in Verilog. Nets must be driven by
drivers, such as a gate or continuous assignment.
Depending on what you are trying to do, you can replace your
behavioral block with a continuous assignment. Alternately, you
can declare cin as a reg so you can use a behavioral assignment
to it. If it is a reg attached to a port, an implicit continuous
assignment to the net leaving the port will be added.