Skip to content

Instantly share code, notes, and snippets.

@jz5
Created Dec 8, 2013
Embed
What would you like to do?
convertion
reg [63:0] val;
integer code;
code = $sscanf("FFFF_FFFF_FFFF_FFFF", "%h", val);
$display("%h", val);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment