the two types of module port connections,by ordered list and by name,shall not be mixed

我的case明明是按端口来链接的,但是却报错

mixed port connection is not allowed
the two types of module port connections,by ordered list and by name,shall not be mixed

这种原因是因为例化的端口中少了一个   .     ,比如a a(.clk(clk), rst(rst),.data(data));中间的rst没有加 . ,所以会报错

the two types of module port connections,by ordered list and by name,shall not be mixed,应该改成a a(.clk(clk), .rst(rst),.data(data));

你可能感兴趣的:(systemverilog)