find the max value between a given inputs

Moderator (Company: Titel) #3596179
Rate this post
• ▲ useful
▼ not useful
tamara wrote:
> i need a vhdl code to find the max value from integer input where i have
> a four input ??
Did you read your question? Do you understand it?

What do you have as input?
What do you want as output?
(this two questions can easily be answered with a entity declaration)
And what should happen in between?

And then for those thinking one step further:
Is it just for simulation?
Or must the result be synthesizeable for/on hardware?
If so: what data rates do you have to achieve?

You see: I have 8 questions to you. Please answer them. Then maybe we 
can find a solution for your problem...
Guest #3598398
Rate this post
• ▲ useful
▼ not useful
Lothar Miller wrote:
> tamara wrote:
>> i need a vhdl code to find the max value from integer input where i have
>> a four input ??
> Did you read your question? Do you understand it?
>
> What do you have as input?
i have a 4 inputs every input has only one value such as
a => 100
b => 200
c => 300
d => 400
> What do you want as output?
i want to find max between a,b,c,d should find d <= 400
> (this two questions can easily be answered with a entity declaration)
> And what should happen in between?
> i think it some thing like comparator
> And then for those thinking one step further:
> Is it just for simulation?
yes
> Or must the result be synthesize-able for/on hardware?
> If so: what data rates do you have to achieve?
is it difficult to be implemented
>
> You see: I have 8 questions to you. Please answer them. Then maybe we
> can find a solution for your problem...
forgive me if i not clear my question in the beginning
and if i write and think aout not logic problem,you are our vhdl teacher 
and we definitely learn from you
thanks a lot

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.