Cad Lab 4
Cad Lab 4
EXPERIMENT-4
Group – 3
Sambuddha Basu – 2023H1230166H
Sabuj Chaki – 2023H1230184H
DATE – 19-02-2024
AIM –
1. Design a 2048×8 bit RAM as shown in Figure 1. Assume that the RAM works on
positive clock edge. If WE = 0, the RAM displays the data stored in the location (addr) to
the output (data out), else, it writes the input (data in) to the location indicated by “addr”
and also displays the same to the output.
2. Synthesize the design and check for “Enable rate” of the RAM.
3. Apply power optimization technique and report the change(s) observed in the
implemented design.
1. Memory code :
2. Memory testbench code :
3. Memory waveform :
WE = 1
WE = 0
4. Timing constraints :
6. Synthesized Netlist :
7. Power utilization and Enable Rate :
8. Power Optimization :
In order to reduce the power consumption, we have used clock gating technique. By using the
clock gating technique we were able to reduce the enable rate to 75%.
Go to implementation settings and click on the check box is_enabled under Power Opt Design and
then run the implementation again.
9. Power Utilization and Enable Rate post optimization :
For optimizing the power consumption here, we have directly made use of the CAD tool without
going for any optimization in the code, we have been able to achieve considerable amount of
reduction in power consumption by the help of tool which employs clock gating technique to
reduce the enabling rate of the design
10. Inferences :
• From the above implementation of RAM architecture using behavior modelling, we are
able to observe the read and write operations in memory location successfully.
• After synthesis of the verilog code, when we observed the power report , the enabling
rate of the logic is found to be 100%, which turns out to high power consumption.
• After implementation of the verilog code, when we have observed this power report, the
enabling rate of the logic is found to be 75%, turning out to less power consumption. This
is possible as the tool uses clock gating techniques to optimize the power .