Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i ) The control logic specified in a Moore machine above, has two inputs ( operation and exec ) and eight outputs ( RdX ,
i The control logic specified in a Moore machine above, has two inputs operation and exec and
eight outputs RdX RdY WrX Ain, Gin, Extern, Gout, and addsub Based on the state
definitions given above, complete the following truth table.
State RdX RdY WrX Ain Gin Extern Gout addsub
IDLE
LOAD
READY
READX
ADD
SUB
MV
WRITEX
DONE
III. LAB PROCEDURE
i The first thing to do with your lab partner is reconcile your prelabs. Compare your state
diagrams and truth tables. If they are somewhat different, discuss with each other what made
the differences and make a decision between the two of you about which state diagram you
will try to implement.
ii Since only one person can really type up a Verilog module, one of you should get started on
coding up the state machine that you have decided to pursue. You are to fill in two always
statements in the given skeleton lsmv The first one is about state transitions while the
other is to implement the truth table you completed in your prelab
iiiIn the meantime, the other person can bring up Vivado and start pulling in the other pieces
of the system, which the TA will make available to you. Make all connections that are not
dependent on the state machine being instantiated in ltbv
iv Once the state machine is coded, import this into Vivado and finish making the connections.
v The TA will provide a testbench, which will cause the design to be simulated across a
number of cycles and will cause each of the four operations to exercised. After running the
simulation, examine the resulting waveforms to see if you can determine if your design is
functioning properly.
vi Once you have determined that your design appears to be working properly, demonstrate to
the TA
See pages of the Verilog reference for the syntax of always and case statements,
See pages and for of the Veril
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started