Question: Problem 2 : Appearing below are three variations on a module that will set its output to either the input value, or a maximum value
Problem : Appearing below are three variations on a module that will set its output to either
the input value, or a maximum value if the input is larger. The module will always be instantiated
with wl wn All of them are functionally equivalent, but were synthesized to different costs by
Genus s when similar code was used in the solution to Homework Because they are
functionally equivalent a perfect synthesis program would synthesize each to the same hardware
with equal costs
a Show the optimized hardware for the lowcost versions
b Find the simplemodel cost of each after optimization. The costs should be in terms of wn and wl
c Find the simplemodel delay of each after optimization. The delays should be in terms of wn and wl
module clampplana
# int wl wn output uwire wl: x input uwire wn: a ;
localparam logic wl: nlmax ~wl; Sequence of wl s
assign x a nlmax a : nlmax;
endmodule
module clampplanb
# int wl wn output uwire wl: x input uwire wn: a ;
localparam logic wl: nlmax ~wl; Sequence of wl s
assign x a nlmax a : nlmax;
endmodule
module clampplanc
# int wl wn output uwire wl: x input uwire wn: a ;
localparam logic wl: nlmax ~wl; Sequence of wl s
assign x awn:wl a : nlmax;
endmodule
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
