max+plus新人求解
很简单的一个逻辑:输入四个状态发生跳变,输出就跳变,可在管脚连接后编译显示
Info:Reserved unused input pin 'A' for future use because it has a pin assignment - pin is tri-stated and must be connected to your board.
源程序如下:
module test(A,B,C,D,out);
input A,B,C,D;
output out;
reg out;
initial
begin
out = 0;
end
always @(A or B or C or D)
begin
out = ~out;
end
endmodule
不知道是哪里出的问题,在项目中要这么一个简单的逻辑,时间紧,以前又没学过,还请各位指正。
发表时间:2004年11月30日0:44:57