Skip to content

Instantly share code, notes, and snippets.

@axayjha
Created April 8, 2019 19:47
Show Gist options
  • Save axayjha/962bdbb2aa8f3d94c42ae06ba9c0aa5d to your computer and use it in GitHub Desktop.
Save axayjha/962bdbb2aa8f3d94c42ae06ba9c0aa5d to your computer and use it in GitHub Desktop.
module comparator (eqz, data);
input [15:0] data;
output eqz;
assign eqz = (data == 0);
endmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment