Splitter: to merge/split wires:
Splitter under WiringProperties panelConstants: to achieve the effect of sending a constant value:
1⚬Constant under WiringProperties)Splitter: to achieve the effect of splitting wires in HDL you write:
for the case when left,rightarein/outpins:
- widths have to match
left,rightcannot be mixed type,
i.e. onein, otheroutis not allowedrange version 1-bit version left[i..j]=rightleft[i]=rightleft=right[p..q]left=right[p]left[i..j]=right[p..q]left[i]=right[p]
for the case when rightis local wire:
- the first creates a local wire of the given width
- the second uses already created wire
- local wire cannot have
[], it inherits assigned width,
but can create several local wires as in last steprange version 1-bit version outPin[i..j]=wireoutPin[i]=wire← creates local wire inPin[i..j]=wireinPin[i]=wire← attaches created wire ...,outPin[i0..j0]=wire0,
outPin[i1..j1]=wire1,
outPin[i2]=wire2,...← creates several local wires
from same output pin
Constants: to achieve the effect of sending the constant values 1 or 0 to a pin in HDL you write:
inPin[i..j]=trueinPin[i..j]=falseinPin[i]=trueinPin[i]=falseinPin=trueinPin=false← assign all bit lines