Multiplier using Vhdl

Moderator (Company: Titel) #2418449
Rate this post
• ▲ useful
▼ not useful
> No the code is not secret :)
And the testbench?
What results do you get?

> architecture behaviour2 of multiplier4X3 is ...
Your description ist AVSOLUTY NOT a behavioural description. Ist a 
completly STRUCTURAL description. So why is the name of your architectur 
"behaviour2"?

BTW:
Why does everybody around the world write a half adder and a full adder 
and a multiplier (and even a AND gate...) on their own?
Why not just using the VHDL operators + AND *?
OP #2418583
Rate this post
• ▲ useful
▼ not useful
About the name that is correct my mistake, i should change it. Now about 
the half adder etc i wanted to do it like this so i can fresh my memory 
about vhdl.
About the code i tried to changed it a little and i added a new signal 
ztemp at the end of the code. The four lines named stage0-3 are replaced 
with
1
stage0: fulladder4 port map (x(3 downto 0)=>k(3 downto 0), y(3 downto 0)=> l(3 downto 0),ztemp(3 downto 0)=>(z(3 downto 1)=>n(3 downto 1), z(0)=>P(1), Cout=>Cout1);
Still i get errors and i can't get it simulated like before, at all.
But here are the results of the simulation before, attached
Thank u!
Attached files:

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.