Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
That's called concatenation......
reg [2:0] x; assign x = {a,b,c}; - Altera_Forum
Honored Contributor
You might want to have a look at this:
http://www.asic-world.com/verilog/verilog_one_day.html I found it very useful way back when I was staring out with Verilog. - Altera_Forum
Honored Contributor
i work with fpga in block diagram environment not in hdl language.. so please u may suggest me the concatenation technique in block diagrame environment....
- Altera_Forum
Honored Contributor
You can name a wire something like x[2:0]
Then the ones you want individually can then be named: x[0] x[1] x[2] And it should concatenate and associate them together at compile time. NOTE: You should NOT connect the wires together.