Electronic Engineer Discuss

Title: Combine several signals to a bus in System Generator [Print this page]

Author: breckjensen    Time: 2017-12-5 21:34
Title: Combine several signals to a bus in System Generator
Hello,

in a signal processing System Generator model I process incoming messages in a pipelined fashion. For each message I have many items I forward from one pipeline stage to the next.

To make the System Generator model cleaner and easier to read I group all message items with a Simulink Bus Creator together to virtual bus. If I want to process a specific message item I select it from the virtual bus by a Simulink Bus Selector. Thats fine so far.

Sometimes I need to register (with or without clock enable) the virtual bus. This can not be accomplished by System Generator blocks anymore because System Generator can not work with virtual busses. Therefore I created dedicated delay elements where I feaze the virtual bus in its individual message items (1), delay these individual message items with standard System Generator blocks (2) and combine the delayed message items again together to a virtual bus (3).

My current approach is feasable but painful because I have to create for each specific case (number of message items, enable port yes/no) a seperate delay element.

Is there a better way of combining several signals together to something like a bus?


Please Help.

Thanks !

I didn't find the right solution from the internet.

References:

https://forums.xilinx.com/t5/DSP ... nerator/td-p/149510

Startup Video







Welcome to Electronic Engineer Discuss (https://www.eediscuss.com/) Powered by Discuz! X3.2