Question: i need a Verilog code that correspond with the design i made ? I should get the infomation from my switch one ( 0 :
i need a Verilog code that correspond with the design i made
I should get the infomation from my switch one : and the other : and the FSM is to select the operation which are bit number that the ALU going to preform using button like how i have it the middle change mode while the four select the opration. i should use all four segment as well so it should display in two place led and segment.
Your design should allow the user to select the following operations: addition, subtraction, multiplication, division need to handle dividebyzero logical shift either left or right bitwise
AND, and bitwise OR It should only allow at most one operation to be conducted at a time. You
may assume inputs are unsigned numbers. Display the output on the seven segment display in
decimal or hexadecimal as well as on the LED lights in binary. You should consider reusing Verilog
modules you designed in this course, such as the sevensegment display, etc. Note, you may use
behavioral Verilog to implement the operations instead of a structural implementation. This means
you can use the & operators rather than having a module that does the operation
from the ground up You may choose to use all DIP switches on your Basys board for inputs,
and use buttons to encode the operations. Or use DIP switches in combination with buttons to
load different registers then use DIP switches to encode the operation.
components are
register
a Faint state machine how it design is button in the middle change mode while the one on the side choose Mode one and Mode two shift right, shift left, bitwise OR bitwise AND
check statement before a ALU for the
ALU
segment and display on led
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
