projects
/
debian
/
gnuradio
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updated wiki url
[debian/gnuradio]
/
usrp2
/
fpga
/
control_lib
/
bin2gray.v
1
2
3
module bin2gray
4
#(parameter WIDTH=8)
5
(input [WIDTH-1:0] bin,
6
output [WIDTH-1:0] gray);
7
8
assign gray = (bin >> 1) ^ bin;
9
10
endmodule // bin2gray