Question

Design a system that can invert one single bit in a 4-bit input data, given its index. The index is a 2-bit value that specifies which bit to invert in the 4-bit input. a) (3 pt.) Draw a hierarchical design of the circuit using any kind of combinational logic blocks presented in class. For each reused logic block, specify its exact name and size, and label its complete interface. Label the interface of the design circuit, too, matching the inputs and output. The output should be the modified 4-bit value. b) (3 pt.) Write a SystemVerilog module for the circuit design using a structural model. If your circuit uses any auxiliary combinational blocks (multiplexer, decoder, ...) you can use any other implementation model for its SystemVerilog module (behavioral: continuous assignment or procedural). c) (3 pt.) Write a high level SystemVerilog module for the design using a behavioral procedural model. d) (3 pt.) Write a SystemVerilog test-bench for your two circuit design modules, exploring at least four different combinations for the inputs. e) (2 pt.) Simulate your test-bench and show the terminal output of the simulator from testing both modules

          Design a system that can invert one single bit in a 4-bit input data, given its index. The index is a 2-bit value that specifies which bit to invert in the 4-bit input.

a) (3 pt.) Draw a hierarchical design of the circuit using any kind of combinational logic blocks presented in class. For each reused logic block, specify its exact name and size, and label its complete interface. Label the interface of the design circuit, too, matching the inputs and output. The output should be the modified 4-bit value.

b) (3 pt.) Write a SystemVerilog module for the circuit design using a structural model. If your circuit uses any auxiliary combinational blocks (multiplexer, decoder, ...) you can use any other implementation model for its SystemVerilog module (behavioral: continuous assignment or procedural).

c) (3 pt.) Write a high level SystemVerilog module for the design using a behavioral procedural model.

d) (3 pt.) Write a SystemVerilog test-bench for your two circuit design modules, exploring at least four different combinations for the inputs.

e) (2 pt.) Simulate your test-bench and show the terminal output of the simulator from testing both modules
        
Show more…

Added by Justin R.

Computer Science and Information Technology
Computer Science and Information Technology
Trishna Knowledge Systems 2018 Edition
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
Design a system that can invert one single bit in a 4-bit input data, given its index. The index is a 2-bit value that specifies which bit to invert in the 4-bit input. a) (3 pt.) Draw a hierarchical design of the circuit using any kind of combinational logic blocks presented in class. For each reused logic block, specify its exact name and size, and label its complete interface. Label the interface of the design circuit, too, matching the inputs and output. The output should be the modified 4-bit value. b) (3 pt.) Write a SystemVerilog module for the circuit design using a structural model. If your circuit uses any auxiliary combinational blocks (multiplexer, decoder, ...) you can use any other implementation model for its SystemVerilog module (behavioral: continuous assignment or procedural). c) (3 pt.) Write a high level SystemVerilog module for the design using a behavioral procedural model. d) (3 pt.) Write a SystemVerilog test-bench for your two circuit design modules, exploring at least four different combinations for the inputs. e) (2 pt.) Simulate your test-bench and show the terminal output of the simulator from testing both modules
Close icon
Play audio
Feedback
Powered by NumerAI
Ivan Kochetkov Kathleen Carty
David Collins verified

Adi S and 61 other subject AP CS educators are ready to help you.

Ask a new question

*

Labs

-

Want to see this concept in action?

NEW

Explore this concept interactively to see how it behaves as you change inputs.

View Labs

*

Key Concepts

-
Key Concept
Premium Feature
Explore the core concept behind this problem.
Play button
Key Concept
Premium Feature
Explore the core concept behind this problem.
Your browser does not support the video tag.

*

Recommended Videos

-
design-three-versions-of-the-combinational-circuit-whose-input-is-a-4-bit-number-and-whose-output-is-the-2s-complement-of-the-input-number-for-each-of-the-following-cases-a-the-circuit-is-a-99799

Design three versions of the combinational circuit whose input is a 4-bit number and whose output is the 2's complement of the input number, for each of the following cases: (a) The circuit is a simplified two-level circuit, plus inverters as needed for the input variables. (b) The circuit is made up of four identical two-output cells, one for each bit. The cells are connected in cascade, with lines similar to a carry between them. The value applied to the rightmost carry bit is 0. (c) The circuit is redesigned with carry lookahead-like logic in order to speed up the circuit in part (b) for use in larger circuits with 4n input bits.

Adi S.

create-a-limited-alu-arithmetic-logic-unit-circuit-using-logism-that-implements-a-full-adder-circuit-capable-of-adding-2-4-bit-binary-numbers-and-subtracting-2-4-bit-binary-numbers-you-must-50148

Create a limited ALU (Arithmetic Logic Unit) circuit using Logism that implements a Full Adder circuit capable of adding 2-4 bit binary numbers and subtracting 2-4 bit binary numbers. You must also implement the ability to select a bitwise AND operation and a bitwise OR operation. For the ALU, it is acceptable to use the Adder and Subtractor circuits that are listed under the "Arithmetic" folder in Logism. Your circuit must use a multiplexer that will select between the add, subtract, AND, and OR operations. The multiplexer will select the operations using 2 bits for the selection as follows: 00 - Add 01 - Subtract 10 - AND 11 - OR Your circuit should look similar to the following diagram with the two binary numbers to be added on the left and a bit selector that will select the operation to be performed. When it is 0, the adder circuit should be selected, and when it is 1, the subtraction circuit should be selected. The output of the computation should be on the right. Your circuit should follow this basic format, but you must design all of the actual circuits to perform addition and subtraction. You must design the actual connections between components. The image below is just to give an idea of where to put the inputs, outputs, and processing that occurs in between.

Akash M.

digital-logic-please-show-the-circuit-with-the-correct-number-of-inputs-and-clearly-label-all-circuit-elements-create-a-new-design-sourcedesignimplementand-test-a-digital-system-that-wil-acc-33208

Sri K.


*

Recommended Textbooks

-
Computer Science and Information Technology

Computer Science and Information Technology

Trishna Knowledge Systems 2018 Edition
achievement 1,480 solutions
Introduction to Programming Using Python

Introduction to Programming Using Python

Y. Daniel Liang 1st Edition
achievement 1,684 solutions
Computer Science - An Overview

Computer Science - An Overview

Glenn Brookshear, Dennis Brylow 12th Edition
achievement 1,364 solutions

*

Transcript

-
00:01 Here in this question first we can write down a given data that is the two level circuit is given so we have to find out so what will be the gate is used in this circuit so now the gate is and gate or gate and a not gate is used for this circuit for the combinational circuit…
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Join the community

18,000,000+

Students on Numerade


Trusted by students at 8,000+ universities

Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever