|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
module watch ( select ,r_p ,clk ,reset ,time_out );
...
output [3:0] time_out[7:0];----35
reg [3:0] time_out[7:0];-----36
语法检查老是说我的time_out定义的不对。
# Error: VCP2000 watch.v : (35, 23): Syntax error. Unexpected token: [. Expected tokens: '.' , ')' , ',' , ';' .
# Error: VCP2563 watch.v : (36, 1): Invalid type for declaration of port time_out.
# Error: VCP2565 watch.v : (25, 1): Undefined direction of external port time_out.
# Error: VCP2567 watch.v : (25, 1): Undefined direction of internal port time_out.
后面的程序应该没有问题,就是这里不明白:(
|
|