Create 8 bit subtractor in verilog

Assignment Help Electrical Engineering
Reference no: EM13802934

1. Create 8 bit subtractor in Verilog that uses a 8-bit adder Write a test bench that will test the code with 2 sets of numbers made up of the ASCII Values of the first 2 letters of your first name and the first 2 letters of your last name as the 2 sets of & bit numbers. In each case subtract the 1st letter from the second letter in the test bench and use the $dispLay command to print the results and paste in a screen shot and the code.

2. Write Verilog code for a module called JKFF(JK Flip Flop) that has inputs J, K ClrN, SetN, ClK and outputs Q and QN. Make the gja asynchronous Write a test bench to simulate all combinations of J and K for the single FF. Then create a module that uses 4 instantiations of the JKFF to create a register that can hold 4 bits, but do not write test bench for the 4 bits. Submit code and test bench code.

Reference no: EM13802934

Questions Cloud

Assessing online learners with disabilities : Assessing Online Learners with Disabilities
What you think film the man who was not there saying about : What do you think these films The Postman Always Rings Twice are saying about the pattern of behavior they followed to get them where they wound up in the end, as well as why they followed these patterns of behavior in the first place?
Educational content : Educational Content
Write an application that prompts for person information : Write an application that prompts for the person's information, instantiates an object of class HealthProfile for that person
Create 8 bit subtractor in verilog : In each case subtract the 1st letter from the second letter in the test bench and use the $dispLay command to print the results and paste in a screen shot and the code.
How quentin tarantinos use of thematic device of violence : What I'd like you to think about and then respond to this week is how does Quentin Tarantino's use of the thematic device of violence as social ccommentary in Reservoir Dogs.
Write a program that creates a scintillation grid : Write a program that creates a scintillation grid
Brainstorm about specific positive effects of computers : Brainstorm about specific positive and negative effects computers have had on your personal, professional, and academic life. Create a one-page list of your ideas.
Write a paper about the movie capitalism a love story : Write a paper about the movie "capitalism: A love story".

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What would be sampling frequency fs used in a cd player

Typically, a speech signal that can be understood over a telephone shows frequencies from about 100 Hz to about 5 KHz. What would the sampling frequency fs (samples/ sec) that would be used to sample a speech without aliasing

  What is the overall transfer function in v-amp

In a certain system, an electrical heating element was found to increase the temperature of a piece of metal 7o for each amp of current. The metal expands 0.004 in./deg and pushes on a load sensor that outputs 1 V/0.003 in.

  Ups system wiring circuit diagram

How Automatic UPS system wiring circuit diagram for Home or Office works in both cases when the supply is available and when its not .

  Determine range of values for t that allow complete recovery

Let y(t) he the signal at the output of the LTI system when x(t) is the input signal. The following signals are sampled using a train of impulses with periodicity T, signal x(t) is sampled to obtain xc(t), and signal y(t) is sampled to obtain yc(t..

  Determine the percent power efficiency of induction motor

An induction motor has the following specifications: a 8-polesquirrel cage rotor, operates at 25 hp off of a 220 V line-to-line3-phase service, 60 Hz, 64 amps of line current, and under fullload runs at 830 RPM. The motor draws 20.8 kW at full loa..

  What is the rms amplitude after it has traveled

A coaxial cable has a loss of 5.6 dB at a frequency f. A signal at f has ans rms amplitude of 1.7 mV at the cable input. What is the rms amplitude after it has traveled the length of the cable

  What is the minimum donor doping required

What is the minimum donor doping required to convert Silicon into a conductor? What is the minimum acceptor doping required to convert Silicon into a conductor?

  Determine the electric potential halfway between charges

Two positive charges of 250 microcoulombs each are 20cm apart. Determine the electric potential halfway between them.

  Difference between synchronous and asynchronous machines

Investigate and produce a report on the main different logic families and their requirements - Describe with the use of circuit diagrams the difference between TTL (74 series) and CMOS (4000) integrated circuits.

  What is total power and apparant power supplied by source

A 250V rms system is supplying three parallel loads. One draws a 20kW at unity power factor, a second uses 25kVA at PF=.8 lagging, and the third requires a power of 30kW at a lagging PF of.75

  Determine what is the simplest recovery mechanism

Although this forms PNP and NPN transistors, the bias of the regions isdesigned so the junctions are reverse biased and the electric fieldeffects on the channel are supposed to control the MOS-FETtransistors operations.

  Draw the voltage and current reflection diagrams of line

A d-c voltage Vo is applied att = 0 directly to the input terminals of a lossless air dielectric transmission line of length l. The line has a  characteristice resistance Ro and is terminated in a load resistanceRL =2Ro.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd