Question

Design a module using Verilog’s behavioral design method that can perform a BCD to seven segment...

  1. Design a module using Verilog’s behavioral design method that can perform a BCD to seven segment display decoder. This module receives a 4-bit binary input and generates the seven output signals (a - g) plus DP (dot pixel) for the display.

module bcd_to_seven( bin_in, sseg_out);

input wire [3:0] bin_in;

output reg [7:0] sseg_out;

endmodule

The inputs bin_in should be binary 0 to 15. The outputs of sseg_out should drive a seven segment display to indicate a number from 0 - F hexadecimal.

Homework Answers

Answer #1

Answered the question below.

If you have any doubt ask in the comment section.

Please rate if you like my answer.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Design a module that can perform a binary-coded decimal (BCD) addition. You have two 4-bit BCD...
Design a module that can perform a binary-coded decimal (BCD) addition. You have two 4-bit BCD (decimal digits 0 to 9) inputs “a” and “b” and an 8-bit output “x” which represents a two digit BCD number. X [7:4] represents the upper BCD digits X [3:0] represents the lower BCD digits In the Verilog file, please code a BCD adder. It should follow the following format. module bcd_adder( a,b,x ); input wire [3:0] a; input wire [3:0] b; output reg...
An ABCD-to-seven-segment decoder is a combinational circuit that converts a decimal digit in BCD to an...
An ABCD-to-seven-segment decoder is a combinational circuit that converts a decimal digit in BCD to an appropriate code for the selection af segments in an indicator used to display the decimal digit in a familiar form The seven outputs of the decoder (a, a a de,t g select the corresponding segments in the display, as shown below. The numeric display chosen to represent the decimal digit is shown below. Using a truth table and Kamaugh maps (for segments g and...
Implement an octal to 7-segment decoder, using only a single 3-to-8 decoder module (with active-low outputs)...
Implement an octal to 7-segment decoder, using only a single 3-to-8 decoder module (with active-low outputs) plus seven additional gates – one gate per output. Each gate should have as few inputs as possible. Show your work and sketch the circuit.
Trying to make a seven segment driver on vivado using verilog. I have all 7 components...
Trying to make a seven segment driver on vivado using verilog. I have all 7 components module coded some as logical gates some as decoders and muxs. they all tested and workout. When I implement them i get an error [HDL 9-3756] overwriting previous definition of module 'schematic1'. All seven modules I want to make them all into one module they all share same 4 bit binary input different outputs. How do i make these seven modules into one acting...
We wish to design a 4-bit PWM to control the brightness of a 7-segment LED display....
We wish to design a 4-bit PWM to control the brightness of a 7-segment LED display. A PWM circuit will be constructed with a 74163 (4-bit binary counter) and a 7485 (4-bit magnitude comparator). The inputs and output are:  clk: DE1 50 MHz clock signal.  d: 4-bit input control signal specifying the duty cycle of output pulse.  p: 1-bit output pulse with the specified duty cycle. The d signal is treated as a 4-bit unsigned binary number....
A barrel shifter is a digital subsystem that can shift multiple bits in a vectors positions...
A barrel shifter is a digital subsystem that can shift multiple bits in a vectors positions at once. In a single pass through the shifter, the input can rotate from 0 to 7 positions. Barrel shifters are useful for implementing bit extraction operations supported in many computer instruction sets. The subsystem has eight data inputs, D7, D6, , D0, eight data outputs, O7, O6, …,O0, and three control inputs, S2, S1, S0. The control inputs specify the number of positions...
Design a FSM for a Vending Machine In this task, you will design a FSM for...
Design a FSM for a Vending Machine In this task, you will design a FSM for a simple (albeit strange) vending machine of office supplies. The vending machine sells three possible items, each at a different cost: Item Cost Pencil 10 cents Eraser 20 cents Pen 30 cents The vending machines accepts nickels (worth 5 cents), dimes (worth 10 cents), and quarters (worth 25 cents). Physically, it is only possible to insert a single coin at a time. The vending...
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...