Programming Techniques in Verilog I
Suman Lata Tripathi, Sobhit Saxena, Sanjeet Kumar Sinha, Govind Singh Patel · 2021
In Verilog, the digital circuit can be described in terms of a network of digital components. Verilog programming has the same C language type syntax. Verilog is used to describe hardware whereas C language is considered software language. Synthesized Verilog codes are mapped to the actual hardware logic gates of the circuits. This chapter describes the gate-level modeling of the circuit with the help of different types of circuit. In gate-level modeling, logic gates used in the circuits are called from the available library of Verilog hardware description language. In this modeling, the logic gates used have one-to-one relations inside the hardware schematic. The gate-level modeling of a combinational circuit consists of adder, subtractor, multiplexer, de-multiplexer, decoder, encoder, and comparator.