top of page
13.2. Practical Examples
​
Example 1: 4-bit Ripple Carry Adder
Verilog
Example 2: Priority Encoder (4-to-2)
Verilog
Example 3: 8-to-3 Priority Encoder
Verilog
Example 4: Decoder (3-to-8)
Verilog
Example 5: 4-to-16 Decoder (Hierarchical)
Verilog
Example 6: Magnitude Comparator (8-bit)
Verilog
Example 7: ALU (8-bit)
Verilog
Example 8: BCD to 7-Segment Decoder
Verilog
bottom of page
