|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
module jtSIG(
clk,
reset_n,
g,
jtsignal
);
input clk,reset_n,g;
output [1:0]jtsignal;
reg [1:0]jt;
always@( posedge clk or negedge reset_n )
begin
if(g==0)
begin
jt<=2'b00;
end
else
begin
jt<=2'b01;
end
end
assign jtsignal=jt;
endmodule
Error (10200): Verilog HDL Conditional Statement error at jtSIG.v(13): cannot match operand(s) in the condition to the corresponding edges in the enclosing event control of the always construct
Error (12152): Can't elaborate user hierarchy "jtSIG:JTSIG" |
|