Application on Data Types and Operators


Please sign in to view the rest of this entry.

Application on Data Types and Operators
Application on Data Types and OperatorsIn this section, we will construct a primitive calculator to add, subtract, multiply, and divide two four-bit numbers on the Basys3 board. Input bits and the operation type is represented by switches on the board. Output bit values are represented by LEDs on the board. The reader can consult Sec. 4.8 related to this setup. In Listing 6.21, we provide Verilog description of the calculator.
Citation
Cem √únsalan, Ph.D.; Bora Tar, Ph.D.: Digital System Design with FPGA: Implementation Using Verilog and VHDL. Application on Data Types and Operators, Chapter (McGraw-Hill Professional, 2017), AccessEngineering Export