Showing results for 
Search instead for 
Did you mean: 
Honored Contributor I

BCD 2 digit Adder

Hi guys, im doing a project for a course. 

we are making a BCD adder ( first by making full adder , 4 bits adder, then use 4 bit adder to make the BCD adder) 

the system will add 6 if the sum is more than 10 

i have problems with adding 6 here's a photo  


i have that problem b[2], b[1] drives an input pin. 


i learned to use quartus today. Sadly my instructor asked us to learn it by ourselves and i got tried can you help me. Thanks in advance.
0 Kudos
1 Reply
Honored Contributor I

Well, since this is now over a month old, I'll try to point you in the right direction.  

Most of these problems can be solved by carefully reading the error messages.  

In this case it says Signal "b[2]" drives an input pin. What this means is that vector (or multi-bit) signal is used to drive(output) a signal on an input pin.  

You cannot use an input pin as an output, only as an input. You can only use it to drive an input of a module lower in the hierarchy (such as the 4bitadder). 


A tip for the next time, just post the errors in text, the image resolution makes it difficult to read. 


p.s. Do you study at the HHS by any chance?