Altera_Forum
Honored Contributor
9 years agoPassing array as a port via hw.tcl file
Hello,
System Verilog supports using array as a port. We are creating our own component which uses System Verilog. That component is going to be used in Qsys. So, we will need to use hw.tcl file to tell Qsys about our component. Let me try to elaborate it with one example, If my port is simply vector ( output logic [31:0] my_data_o ), then I could use following in hw.tcl: add_interface_port my_conduit my_data_o export Output 32. But if my port is array ( output logic [31:0] my_data__arr_o[1:0] ), how can I declare it in hw.tcl file? Thank you for your time. Regards, Bhaumik