Multiplier using Vhdl

Moderator (Company: Titel) #2418449
> 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
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:
Moderator (Company: Titel) #2418759
> I only have it on bmp type. Can you open it?
Yes. And you are right: it looks like complete nonsense...

Does your full adder work properly?
Whats the theory behind your multiplier?
Do you have a schematic (with your signal names in it)?

Reply

A question of your own? This thread is over 15 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.