How to create this in Simulink? std_logic_vector16 vec[0:3]
Show older comments
I want to create an array that can hold 4 elements, each of which is a 16-bit vector as an input to an IP block so that when I generate ip from a subsystem, the input is std_logic_vector16 vec[0:3] and not one 64-bit vector which is what I get now with hdlcoder when I send the data in as a either a [4,1] or [1,4] 2-D column or row array. How do I do this in Simulink so that the code generated gives me a 4 element fixed point array?
Accepted Answer
More Answers (0)
Categories
Find more on Vendor-Specific Component Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!