, , , , , IEEE 1364-2001 verilog . , Tim - , , , .
, , Verilog "" . , , . reg/wire, , , .
module mod;
reg reg1;
wire wire1;
assign wire1 = 0;
always reg1 = 0;
parameter con1 = 0;
case(con1)
0:mod2 inst1(reg1);
1:mod3 inst1(reg1);
2:mod4 inst1(reg1);
endcase
endmodule
-, , . , , , .
module mod2;
reg a;
always
begin
a = 0;
end
initial
a = 0;
function func1(input arg1);
case (arg1)
0:func1 = 0;
default:func1 = 9;
endcase
endfunction
endmodule
2001 Verilog case, case-. , , . case . , case .
verilog, 1364-2005, , 2001 generate..endgenerate. IEEE 1364-2001, , , .
user597225