a problem About verilog hdl

Thread Starter

Nec

Joined Nov 21, 2008
6
i have a project about programming a circuit with verilog,but i am callow about it.I wanna use if statement but it give error
i define a variable called a and i use it like below

if(a)------------>in this point,give parse error
begin
statement1
statement2
end------------>in this point,give parse error too

where is the fault here?

pls help me
 
Last edited:
Top