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
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
|