Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

BCD 2 digit Adder

Altera_Forum
Honored Contributor II
3,952 Views

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 

 

https://alteraforum.com/forum/attachment.php?attachmentid=14059&stc=1  

 

https://alteraforum.com/forum/attachment.php?attachmentid=14060&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=14061&stc=1  

 

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
Altera_Forum
Honored Contributor II
2,515 Views

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?
0 Kudos
Reply