Skip to Main Content
Digital Integrated Circuit Design Using Verilog and Systemverilog
book

Digital Integrated Circuit Design Using Verilog and Systemverilog

by Ronald W. Mehler
September 2014
Intermediate to advanced content levelIntermediate to advanced
448 pages
9h 45m
English
Newnes
Content preview from Digital Integrated Circuit Design Using Verilog and Systemverilog

Appendix C

Number systems

Digital circuits all work in binary, where each digit can only take the values of zero or one. Despite this seeming limitation, any arithmetic problem can be solved to any arbitrary level of precision, if enough resources are brought to bear.

In binary numbers, each digit represents a power of two. For a four-digit number, the maximum value will be 15, as the value will be d0 × 20 + d1 × 21 + d2 × 22 + d3 × 23 for digits d0 through d3. If all four are set (logic 1), then the value will be 1 + 2 + 4 + 8, or 15.

Because binary numbers can only take two values per digit, it takes more digits tog represent numbers than are necessary in the decimal system. The largest number that can be represented in n binary bits is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Digital VLSI Design and Simulation with Verilog

Digital VLSI Design and Simulation with Verilog

Suman Lata Tripathi, Sobhit Saxena, Sanjeet K. Sinha, Govind S. Patel

Publisher Resources

ISBN: 9780124080591