Electronic Engineer Discuss

View: 5088|Reply: 0
Print Prev. thread Next thread

Combine several signals to a bus in System Generator

[Copy link]

56

Threads

67

Posts

67

Credits

注册会员

Rank: 2

Credits
67
Jump to specified page
1#
Post time 2017-12-5 21:34:52 | Show the author posts only Reply Awards |Descending |Read mode
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


Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-4-28 06:17 GMT+8 , Processed in 0.203697 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list