Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The aim of this task is to implement a Carry - Lookahead Adder ( CLA ) in SystemVerilog. The CLA is to add two n
The aim of this task is to implement a CarryLookahead Adder CLA in SystemVerilog. The CLA is to add two n bit numbers together. It consists of blocks for k columns each so that n k
Except for the testbench, it is not allowed to use addition operators, comparison operators or similar, use only operators from Boolean algebra Boolean reduction operators are allowed
Note: You can also receive points for later parts of the task if you were unable to solve previous parts.
A CLA block for k columns is constructed as follows from the blocks RCA, GP and CARRY:
Implement the parameterized SystemVerilog module gp which implements the GP block of a kcolumn CLA block.
Note: Among other things, a generate block is required to calculate the output G The task can be solved by using the module carry in the generate block. To do this, try replacing parts of the GP circuit with CARRY.
Note: You can compile and test your code with the following command:
Windows: simbat gp Otherwise: simsh gp
Note: If you do not solve this task, you can use gpfiller.sv as an implementation of gp for the following tasks. implementation of gp for the following tasks. To do this, copy it to gpsv This implementation is correct, but uses addition operators and comparisons internally and is therefore not a valid solution for this subtask.'timescale ns ns
module gp
#parameter Number of columns per CLA block
input logic : Operand
input logic : Operand
output logic G Generate of whole block G:
output logic P; Propagate of whole block Px:xk
P
endmodule
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started