i have a inout port and i wanna assign it to other varibale at AL and top but it does not work.
Error : inout port illegal connection for port to reg type.
At AL.svh
inout [31:0] DATA;
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
At top.svh
AL AL_0(
.DATA(bus_if.DATA)
);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
At bus_if.sv
logic [31:0] DATA;
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
i tried to fix much more but it does not work, could you help me? Thanks.