Verilog HDL Program for BCD to GRAY conversion

Verilog HDL Program for BCD to GRAY conversion.

1
2
3
4
5
6
7
8
9
10
11
module bcd2gray(o,i);
    output [2:0]o;
    input [2:0]i;
    reg [2:0]o;
    always @(i)
    begin
        o[2]=i[2];
        o[1]=i[2]^i[1];
        o[0]=i[1]^i[0];
    end
endmodule
Simulated Waveform for BCD to GRAY conversion
Simulated Waveform for BCD to GRAY conversion
Ansten Lobo

One thought on “Verilog HDL Program for BCD to GRAY conversion

  1. Nevertheless, they’re often ignorant that you’ll find in fact numerous types of
    LED lighting that significantly possess a magnificent effect in your room.
    Our top priority ended up being search to the kiddie coaster (which was
    supposed to be called Dragon) when it existed. Led light bar ip67 To access the notification panel, press the status bar and slide your finger downward.

    Sequoia acknowledged this as she sent the ship out in the
    pocket and back to space. The first thing you notice in regards to the phone is
    it a really busy phone, you’ll find buttons just about everywhere, there
    is just not an inch of the Clout left bare (except the trunk).

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in