mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
bin
This commit is contained in:
parent
e4e0389375
commit
9d1df2d432
@ -222,9 +222,9 @@ binary string representation is often needed. Therefore, they also
|
||||
have a method that converts to a binary string:
|
||||
|
||||
\begin{methoddesc}[intbv]{bin}{\optional{width}}
|
||||
Return a representation as a binary string, that is, a string that
|
||||
only contains '0's or '1's. If \var{width} is provided, the string is
|
||||
padded so that it has the desired width.
|
||||
Return a representation as a binary string, that is, a string
|
||||
containing only '0's or '1's. If \var{width} is provided, the string is
|
||||
padded with the sign bit so that it has the desired width.
|
||||
\end{methoddesc}
|
||||
|
||||
In addition, an \class{intbv} object supports the iterator protocol. This
|
||||
|
Loading…
x
Reference in New Issue
Block a user