Verilog HDL错误Error (10110)程序如下:module miaobiao(clk_100Hz,rst,start,min,sec,ssec);input clk_100Hz;input rst,start;output [7:0] min;output [7:0] sec;output [7:0] ssec;reg[7:0] min;reg[7:0] sec;reg[7:0] ssec;always@(posedge clk_100Hz or po
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 02:56:10
Verilog HDL错误Error (10110)程序如下:module miaobiao(clk_100Hz,rst,start,min,sec,ssec);input clk_100Hz;input rst,start;output [7:0] min;output [7:0] sec;output [7:0] ssec;reg[7:0] min;reg[7:0] sec;reg[7:0] ssec;always@(posedge clk_100Hz or po
Verilog HDL错误Error (10110)
程序如下:
module miaobiao(clk_100Hz,rst,start,min,sec,ssec);
input clk_100Hz;
input rst,start;
output [7:0] min;
output [7:0] sec;
output [7:0] ssec;
reg[7:0] min;
reg[7:0] sec;
reg[7:0] ssec;
always@(posedge clk_100Hz or posedge rst or negedge start)
begin
if(rst)
begin
min[7:0]
Verilog HDL错误Error (10110)程序如下:module miaobiao(clk_100Hz,rst,start,min,sec,ssec);input clk_100Hz;input rst,start;output [7:0] min;output [7:0] sec;output [7:0] ssec;reg[7:0] min;reg[7:0] sec;reg[7:0] ssec;always@(posedge clk_100Hz or po
就是说你的sec在程序中有时是用非阻塞赋值,有时是用阻塞赋值,这样是不允许的.
sec[3:0]