Are Unpacked Array Supported in Platform Designer's Component Editor?
Hello,
I'm trying to design an Avalon MM Slave and turn it into a component for use inside of platform designer using the component editor.
In my top level HDL file, I have these two ports which are multidimensional. They are both unpacked arrays of vectors
input logic [AVALON_BUS_WIDTH - 1 : 0] coe_status_reg [NUM_STATUS_REG - 1 : 0], output logic [AVALON_BUS_WIDTH - 1 : 0] coe_control_reg [NUM_CONTROL_REG - 1 : 0]
I load the appropriate HDL file into Synthesis Files section of the Component Editor's Files tab. When analyzing synthesis files, I run into these errors.
Error: Verilog HDL or VHDL XML Interface error at avalon_mm_adapter.sv(46): port "coe_status_reg" has an unsupported type File: /users/223063335/documents/projects/xxx/hdl/hdl/avalon_mm_adapter.sv Line: 46
Error: Verilog HDL or VHDL XML Interface error at avalon_mm_adapter.sv(58): port "coe_control_reg" has an unsupported type File: /users/223063335/documents/projects/xxx/hdl/hdl/avalon_mm_adapter.sv Line: 58
My questions are:
- Is the unpacked dimension causing this error?
- Is it possible to have a multidimensional array as a port in the Component Editor.
- If the answer is yet to Q2, how do I resolve this error?
- If the answer is no to Q2, how can I get around this without hardcoding the number of ports I need?
May I know which version of Quartus are you using, Standard or Pro?
I'm afraid that if you are using Quartus Standard, there is limited support for the System Verilog language.
The recommendations are as follows:
Upgrade to Quartus Pro.- Modify the design code by converting the multidimensional arrays into single-dimensional arrays.
Unfortunately, the engineering team has no plans to enhance Quartus Standard.
We apologize for any inconvenience caused by the limitations of the tool.
Best Regards,
Richard Tan
Edited: Platform Designer does not support 2D arrays.