|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 xxxsaa 于 2014-5-6 17:37 编辑
无知新人求问题出在那???
- module x1121_chip( U, d ,Code_A,RESET);
- input U, d;
- input RESET;
- output [1:4]Code_A;
- reg [1:4]A;
- always@(posedge U,posedge d, posedge RESET ) // the block of A
- begin //the number will be up_overflow and auto become 0;
- if(RESET)
- A=8;
- else if(U)
- A=A+1;
- else
- A=A-1;
- end
- assign Code_A=A;
- endmodule
复制代码 这玩意综合后的图形太坑了...当U变成高电平时候,..Code_A居然变成了条麻花藤
受不鸟了..求大神指点..(单击图片可放大)
v
|
|