- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have wires a[5..0] and b[5..0] and wish to combine into a 12 bit bus. What should I label the resulting bus in the schematic file? or do I have to do this in code?
ThanksLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can copy a[] and b[] bit vectors to e. g. c[5..0] and c[11..6] using the wire net connector symbol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The simplest way I know is to concatenate the signals with a comma, i.e.
edit the properties of your 12 bit bus and name it a[5..0],b[5..0]. This will create a 12 bit bus with a[5..0] as the top half of the bus and b[5..0] as the bottom half.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page