Describe digital logic circuit on behavioral and gate level

Assignment Help Electrical Engineering
Reference no: EM13897033

1. Functional Specifications

Design a Verilog program that performs the basic arithmetic and logic operations (ALU) on two

3-bit binary inputs, and displays the outcome on 7-segments.

• Arithmetic operations: addition and subtraction

• Logic operations: AND and OR

• Displaying results:

- For addition and subtraction: display the result using decimal digits

- For logic AND and OR: display the result using binary digits

2 Objectives

Demonstrate the ability to

1. program in Verilog to describe digital logic circuit on behavioral and gate level;

2. use Xilinx ISE for coding and synthesizing the logic design;

3. use Spartan 3 development board to implement and verify the design.

i want like this cods to use in the Xilinx program
this is Example

module seg7(bcd, leds, control, enable);

input [3:0] bcd;

input [1:0] control;

output reg [1:7] leds;

output reg [3:0] enable;

always @ (control)

case (control)

2'b00: enable = 4'b1110;

2'b01: enable = 4'b1101;

2'b10: enable = 4'b1011;

2'b11: enable = 4'b0111;

endcase

always @ (bcd)

case (bcd)

4'b0000: leds = 7'b0000001;

4'b0001: leds = 7'b1001111;

4'b0010: leds = 7'b0010010;

4'b0011: leds = 7'b0000110;

4'b0100: leds = 7'b1001100;

4'b0101: leds = 7'b0100100;

4'b0110: leds = 7'b0100000;

4'b0111: leds = 7'b0001111;

4'b1000: leds = 7'b0000000;

4'b1001: leds = 7'b0000100;

4'b1010: leds = 7'b0001000;

4'b1011: leds = 7'b1100000;

4'b1100: leds = 7'b0110001;

4'b1101: leds = 7'b1000010;

4'b1110: leds = 7'b0010000;

4'b1111: leds = 7'b0111000;

default: leds = 7'bx;

endcase

endmodule

Reference no: EM13897033

Questions Cloud

Koto corporation began the month of june : Koto Corporation began the month of June with $ 300,000 of current assets, a current ratio of 2.5:1, and an acid test ratio of 1.4:1.
General equilibrium-contract curve for initial allocation : Bert has an initial endowment of 10 units of food and 10 units of clothing. Ernie’s initial endowment consists of 10 units of food and 20 units of clothing. Represent these initial endowments in an Edge worth Box. Describe the set of allocations that..
Write an essay on judicial activism : Write an essay on (or discuss) judicial activism. Present the arguments on both sides of the question as to whether judges should interpret or simply apply the Constitution. Provide more current examples (the current Supreme Court docket) and predict..
Calculate the monthly usage index for each month : Calculate the monthly usage index for each month. Use simple linear regression to forecast total usage of pallets for year 5. Forecast the seasonally adjusted usage for pallets for each month in year 5.
Describe digital logic circuit on behavioral and gate level : describe digital logic circuit on behavioral and gate level;
What is the nash equilibrium-equilibria of game : Consider Bertrand competition with homogeneous products. Two firms, 1 and 2, produce an identical product and compete by choosing price. Consumers buy from the firm with the lower price. Write out the best response function of firm 1 for any price th..
Does negotiated rulemaking result in better regulations : Does negotiated rulemaking result in better regulations and is it perceived as more valid by the interested parties? Why is it a better process than regulations generated through traditional notices and comment rulemaking?
Substantial budget deficit : The United States Federal Government has been running a substantial budget deficit since the 1970s and national savings levels have been steadily falling. Given this, can you explain why investment has remained positive and has been growing steadily ..
Discuss concepts of productive employee behavior : Evaluate the different employee motivation theories and discuss some applications to organizational settings. Examine the concepts of job satisfaction and how it applies to a success or failure. Discuss concepts of productive employee behavior

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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