Gray code: Difference between revisions

Content added Content deleted
Line 4,720: Line 4,720:
localparam aw = 8;
localparam aw = 8;


//------------------------------------------------------
// Functions
//------------------------------------------------------
function [aw:0] binary_to_gray;
function [aw:0] binary_to_gray;
input [aw:0] binn;
input [aw:0] binn;