No.67558 作者:lty_lyfx 邮件:lty_lyfx@126.com ID:28341 登陆:1次 文章数:1篇 最后登陆IP:221.6.29.69 最后登陆:2004/11/30 12:56:14 注册:2004/11/30 0:33:53 财富:107 发帖时间:2004/11/30 0:44:57 发贴者IP:221.6.29.69 标题:lty_lyfx:max+plus新人求解 摘要:No.67558max+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 不知道是哪里出的问题,在项目中要这么一个简单的逻辑,时间紧,以前又没学过,还请各位指正。 ......
>>返回讨论的主题
|