Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In HW 3 you designed a circuit that converted the code for a valid 2421 code (or Aiken code) into the excess- 3 BCD code

image text in transcribed

In HW 3 you designed a circuit that converted the code for a valid 2421 code (or Aiken code) into the excess- 3 BCD code for the same decimal digit. Here is one representation for the converter: a. (a, b, c, d) = a x(a, b, c, d) - a'b + a'c+ a'dbcd yla, b, c, d) - a'c'd' + a'cd+ ac'd acd' Z(a, b, c, d)- d' Write a structural model for the circuit using Verilog primitive gates. Use the following module declaration and port declaration to define your circuit: module code converter structural (a, b, c, d, w, x, y, z); input a, b, c, d; output W, x, y, z; // INSERT THE CODE FOR YOUR CODE CONVERER HERE endmodule Add wire declarations as needed by the structure of the circuit you are describing in Verilog. You may use AND gates, OR gates, and inverters. Your AND gates and OR gates may have any number of inputs. To connect w to a, use the Verilog primitive buf. This primitive represents a non-inverting buffer. For the following buffer: buf bl (out, in) The value of out will equal the value of in. A buffer is like an inverter, but it doesn't invert. b. Compile and simulate the circuit in Quartus. Submit the waveform showing all inputs and outputs. In HW 3 you designed a circuit that converted the code for a valid 2421 code (or Aiken code) into the excess- 3 BCD code for the same decimal digit. Here is one representation for the converter: a. (a, b, c, d) = a x(a, b, c, d) - a'b + a'c+ a'dbcd yla, b, c, d) - a'c'd' + a'cd+ ac'd acd' Z(a, b, c, d)- d' Write a structural model for the circuit using Verilog primitive gates. Use the following module declaration and port declaration to define your circuit: module code converter structural (a, b, c, d, w, x, y, z); input a, b, c, d; output W, x, y, z; // INSERT THE CODE FOR YOUR CODE CONVERER HERE endmodule Add wire declarations as needed by the structure of the circuit you are describing in Verilog. You may use AND gates, OR gates, and inverters. Your AND gates and OR gates may have any number of inputs. To connect w to a, use the Verilog primitive buf. This primitive represents a non-inverting buffer. For the following buffer: buf bl (out, in) The value of out will equal the value of in. A buffer is like an inverter, but it doesn't invert. b. Compile and simulate the circuit in Quartus. Submit the waveform showing all inputs and outputs

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_2

Step: 3

blur-text-image_3

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

Q.No.1 Explain Large scale map ? Q.No.2 Explain small scale map ?

Answered: 1 week ago

Question

1. Signs and symbols of the map Briefly by box ?

Answered: 1 week ago

Question

Types of physical Maps?

Answered: 1 week ago