Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does the equality operator == do?
Think about how we check if two things are the same.
What will if (5 < 10) return?
Use a number line to visualize!
What does the inequality operator != do?
Remember, it's the opposite of equality!
True or False: The expression 5 >= 3 will evaluate to false.
Think about how greater than or equal works.
Design a small Verilog code snippet that uses relational operators to implement a functionality where it compares three input values and outputs the largest value.
Think about how to check each value against the others.
Create a Verilog conditional that tests the weight of an item and activates a warning if it exceeds a specified limit.
Use proper thresholds as defined variables.
5 more questions in this section. Enroll free to practise them all.
Enroll free