bharundi
Member level 5
- Joined
- Dec 31, 1999
- Messages
- 90
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,288
- Activity points
- 670
Hi All,
I have a performance related question here regarding packed array vs. unpacked array. I am trying to determine which one would give better performance in terms of simulation using one of the following simulators:
-- Synopsys VCS
-- Mentor Graphics Questa
-- Cadence IUS
Note, I don't have a concern about visibility or synthesizability with either usage. I have parameterized instances of a block, where sideband signals and standard buses of these instances are bundled in a set of arrays (i.e. logic [N-1:0] clk; logic [N-1:0][63:0] data, etc., where N is a number of instances). I tried using packed array (for no good reason, just wanted to started out with one), but there seems to be some performance degradation with this approach (vs. having independence interconnects -- i.e. separate wires for each instance of the block). Would unpacked array be better instead, of course performance wise? How does a simulator handle packed array vs. unpacked array vs. traditional sets of wires? Can anyone shed light on this?
Thanks.
I have a performance related question here regarding packed array vs. unpacked array. I am trying to determine which one would give better performance in terms of simulation using one of the following simulators:
-- Synopsys VCS
-- Mentor Graphics Questa
-- Cadence IUS
Note, I don't have a concern about visibility or synthesizability with either usage. I have parameterized instances of a block, where sideband signals and standard buses of these instances are bundled in a set of arrays (i.e. logic [N-1:0] clk; logic [N-1:0][63:0] data, etc., where N is a number of instances). I tried using packed array (for no good reason, just wanted to started out with one), but there seems to be some performance degradation with this approach (vs. having independence interconnects -- i.e. separate wires for each instance of the block). Would unpacked array be better instead, of course performance wise? How does a simulator handle packed array vs. unpacked array vs. traditional sets of wires? Can anyone shed light on this?
Thanks.