Skip to content

KnightRider-hash/2bit-gray-code-converter-rtl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binary to gray converter verilog

Its a 2 bit binary to gray converter written in verilog

input and output

input b1,b0(wire data type) and output g1,g0(reg data type)

Expected Output 2-bit Binary to Gray Code Converter

Binary (b1 b0) Gray (g1 g0) Decimal
0 0 0 0 0 -> 0
0 1 0 1 1 -> 1
1 0 1 1 2 -> 3
1 1 1 0 3 -> 2
=====================================

Module Interface

Inputs

b1 (wire) - Binary input MSB b0 (wire) - Binary input LSB

Outputs

g1 (reg) - Gray code output MSB g0 (reg) - Gray code output LSB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors