# EECE 343 Condition Code Checker

EECE 343 Activity 2 Fall 2020

Activity 2

Condition Code Checker

Prof. Kredo

Due: 23:59 September 4

In this activity you will accomplish several goals:

• Develop a combinational block in Verilog using dataflow modeling • Run a simulation to verify correct operation

Work individually for this activity using your computer.

Prelab

Ensure you have Quartus Prime Lite installed and that you are able to program your board as required in Activity 1.

Derive the Boolean equation for the satisfied output described in Table 1. You may minimize the equations, but this is not required.

Introduction

Your goal for this activity is to implement a condition code checker, which evaluates a processor’s condition flags based on a selected condition and determines if the condition is satisfied. A condition code checker might be used in a processor to determine whether or not to take a conditional branch. For example, if the processor executes BEQ (branch on equal), the condition code checker determines if the previous operation resulted in an “equal” condition.

The condition code checker you will build has these inputs

code the 4-bit condition to check Z,N,C,V four 1-bit values indicating the processor flags (Z)ero, (N)egative, (C)arry, and o(V)erflow

and this output

satisfied a 1-bit value which is high (1) when the condition is met and low (0) otherwise

Table 1 lists the conditions you have to implement for this assignment. For example, if the code equals 0011 and the C input is low, then the condition code checker should output a high value. If the code equals 0101 and the N input is high, then the condition code checker should output a low value.

EECE 343 Activity 2 Fall 2020

Condition Name code NZCV satisfied

Equal 0000 X0XX 0

X1XX 1

Not Equal 0001 X0XX 1

X1XX 0

Carry Set 0010 XX0X 0

XX1X 1

Carry Clear 0011 XX0X 1

XX1X 0

Minus 0100 0XXX 0

1XXX 1

Plus 0101 0XXX 1

1XXX 0

Overflow Set 0110 XXX0 0

XXX1 1

Overflow Clear 0111 XXX0 1

XXX1 0

Unused 1XXX XXXX X

Table 1: Condition Code Checker Truth Table

Implementation

You are to implement the condition code checker in SystemVerilog as combinational logic using dataflow modeling. That means you may only use:

• assign statements • primitives

A module definition and testbench have been provided in the activity2.qar file available on Blackboard Learn. Implement your module and verify that it works correctly by running an RTL simulation using the testbench provided in your project. Correct any errors until you pass the simulation.

Submit your code checker.sv file through Blackboard Learn.

Page 2 of 2

We confidently assure you high-quality work. We engage a number of strategies in to guarantee top-level assignments. The projects go through a thorough system of control prior to being submitted to the customers. Studentscoursework.com guarantees that the assignments delivered are 100 percent plagiarism-free.

We never share or resell customer’s work. Therefore, once it is checked using our plagiarism software, the assignment will be original. In terms of assignment completion, we adhere to the guidelines given by you and assign the work to the most suitable writer. We assign our writers based on various factors such as academic qualification, previous customer feedback, etc.

First and foremost, we provide high-quality work. However, in case you require extra-brilliance, here is what you can do. First, select a top writer who is proficient in a certain discipline. Second, you can seek our editing services.

Our team of editors revises the assignments, checking them to ensure they comply with the standards of academic writings. Additionally, editing may entail refining the language, adding more reference material, and making sure the formatting part is properly done. The editors may also enhance papers completed by yourself in to meet your needs.

We guarantee the following quality in our work to you:

• Properly cited scholarly sources from assigned or outside reading and research.
• No wordy, vague or poorly constructed sentences
• Clearly written and structurally sound sentences, with no grammar, spelling and/or punctuation errors.
• Assignments with proper syntax, which demonstrates mastery of the subject and with clear organization flow.
• Strict adherence to requested citation styles (i.e. APA, MLA, HARVARD, CHICAGO/TURABIAN)
• Proper page numbering, heading, spacing and margins.
• Parenthetical citations are in the proper format, are properly punctuated and are used at appropriate points to document source material.
• Plagiarism free guaranteed work.

We use the following tools to crosscheck our assignments:

• Turnitin
• Grammarly

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

### Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Order your paper today and save 30% with the discount code HAPPY

X
You can contact our live agent via WhatsApp! Via + 1 323 412 5597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code HAPPY