HELP-VHDL-CODE

OP (Company: student) #6681454
Rate this post
• ▲ useful
▼ not useful
Hello everyone! I need help for this task, so if anyone can help me, I 
will be grateful 🙏

The digital system has 6 inputs (in0, in1, in2, in3, in4, in5) and two 
outputs (out0, out1).
Out0 will be in state "1" if an odd number "1" is detected at the 
inputs, while output out1 will be in "1" if at least three bits are in 
the state "1".
Develop a VHDL model of a given digital system and write a testbench 
probram that will determine the output of system for all possible input 
bit combinations.
Guest #6681640
Rate this post
• ▲ useful
▼ not useful
You did not ask any specific question.
A general answer to your 'question' would be: You need to write code 
that sets Out0 high, if there is an odd number of ones on the input and 
set Out1 high, if at least three of the inputs are high.

If you have more specific questions, you can ask, of course.

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.