Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to combine outputs???

Status
Not open for further replies.

Salil Vaidya

Newbie level 6
Joined
Feb 27, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
109
If i have p0,p1,p2.......p15 as separate 1 bit outputs,thencan i make a 16 bit bus [15:0] using all these individua outputs???
I m making a 8*8 wallace multiplier and i want to combine all these 1 bit outputs to make a 16 bit output.how to do that???
 

Yes, you can just define a suitable signal for this purpose. In VHDL, you could use something like this:
Code:
signal p : std_logic_vector(15 downto 0);

...

p(0) <= p0;
p(1) <= p1;
...
p(15) <= p15;
 
Why are they all separate in the first place?
 

because if i take them as a bus and write my code...it shows me warning for each product term...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top