VHDL, Verilog, SystemVerilog for Visual Studio

Documentation

V3S | Coding | Number Conversion


Support

  VHDL
  Verilog/SystemVerilog

How to Access

Mouse-hover in code-editor window

Description

Numbers, Bitstring, Binary String, etc. are converted to decimal, hex, binary formats and displayed as quickinfo. Floats are displayed as IEEE single/double precision floating point number.

Documentation

One can also use V3S to quickly convert numbers of different representations and different bases. Just hove the mouse over a number, bit-string or based-literal to get a QuickInfo window with common conversions of the respective number. For example, the following code results in the below QuickInfo windows if the mouse is hovered over the numbers after the :=.
Notice that there is a specialty for real numbers: They are converted to single and double precision IEEE floating point representations. The format is split into three groups (from left to right): Sign, exponent, significand.

Example Code

"10100110"
8UX"CD"
123
10#123.345#e2
10#123.345#e3
50.0
© 2013 - 2018 by ViDE-Software Contact | Terms | Imprint