Demo entry 4424933

verilog casting bug

   

Submitted by Joe Hass on Apr 10, 2016 at 16:54
Language: verilog. Code size: 153 Bytes.

//
// The $signed cast should be highlighted just like
// the $display function.
//
assign Foo = Bar + $signed(CarryIn);
$display("Foo is %h", Foo);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).