Answered step by step
Verified Expert Solution
Link Copied!

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 add_sub). Based on the state
definitions given above, complete the following truth table.
State RdX RdY WrX Ain Gin Extern Gout add_sub
IDLE 00000000
LOAD 00100100
READ_Y
READ_X
ADD
SUB
MV
WRITE_X
DONE 00000000
III. LAB PROCEDURE
(i) The first thing to do with your lab partner is reconcile your pre-labs. 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 (l2_sm.v). The first one is about state transitions while the
other is to implement the truth table you completed in your pre-lab.1
(iii)In 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 l2_tb.v).
2
(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.
1 See pages 34-38 of the Verilog reference for the syntax of always and case statements,
2 See pages 29 and 30 for of the Veril

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

New Trends In Databases And Information Systems Adbis 2019 Short Papers Workshops Bbigap Qauca Sembdm Simpda M2p Madeisd And Doctoral Consortium Bled Slovenia September 8 11 2019 Proceedings

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Robert Wrembel ,Mirjana Ivanovic ,Johann Gamper ,Mikolaj Morzy ,Theodoros Tzouramanis ,Jerome Darmont

1st Edition

3030302776, 978-3030302771

More Books

Students also viewed these Databases questions