8 bit full adder issue (i'm newbie in vhdl)

OP #7395145
Rate this post
• ▲ useful
▼ not useful

i was following my teacher lecture and i copied his code. His compiler didn't gave any warning or error, but when i try to compile it with my PC, it turns out some warning about non-bounded components. I tryied to use also std_logic instead of bit, but nothing (idk i tryied it all). I'm starting hating vhdl and i don't know what i have to do. Do you guys have any idea? Thank you all in advance

Attached files:
Moderator (Company: Titel) #7395175
Rate this post
• ▲ useful
▼ not useful

Marco wrote:

and i copied his code.

Not all of it. The entity for component cfa is missing. Maybe its your job to write it.

Do you guys have any idea?

Start on your own with a simple counter.

I'm starting hating vhdl and i don't know what i have to do.

Wrong order. But however, its simple to cure: learn it. And be sure: Verilog won't be any better.

OP #7395201
Rate this post
• ▲ useful
▼ not useful

Lothar M. wrote:

Not all of it. The entity for component cfa is missing. Maybe its your job to write it.

Thank you for the answer. May i ask some more? What i thought was that my entity "addern" was like a black box where inside the are 8 full adder that i declared with "component". Are you telling me that i have to create an entity for the single full adder and from that use the component to make the 8-bit F-A? Briefly, i have to make a F-A? Thank you

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.