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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now