Professional Documents
Culture Documents
Floor Plan
Floor Plan
SpringSoft, Inc.
Floor Planning
Laker PnR package provides powerful editing capabilities for you to finish floor planning easily
and cost-effectively. In addition to importing design from LEF and DEF, Laker also allows you to
import design from LEF and Verlilog netlist. For importing design from LEF and Verilog netlist,
you can import LEF to create libraries first and then import Verilog design. The other way is
importing LEF and Verilog netlist simultaneously.
This document is aimed to guide you through some functions used during floor planning, such as:
Build design database by importing LEF files and Verilog netlists.
Define chip size.
IO cell planning with corner cells, power and ground cells can be inserted in a defined text
or CSV format.
Create power and ground core ring, straps and macro ring.
Connect power and ground between core ring, straps, IO cells and macro ring.
Partition design into groups.
Practice
Tutorial case, fpDemo.tar.gz, is provided under ./fpDemo/data.
Case
The case is prepared to familiar with floorplan capabilities of Laker PnR.
Steps
1 Set up the test case and working directory, and then invoke Laker with PnR license.
%tar zxvf fpDemo.tar.gz
%cd fpDemo
%mkdir work1
%cd work1
%laker –Level PnR
1/13
2 Create database by importing LEF and Verilog netlist.
2.1 Invoke Create Database by selecting FloorplanÆCreate Database… in Main
Window.
2.2 Define the Design and Library and Configuration tabs of Create Database form.
Design and Library Tab Configuration Tab
Technology File: ../data/CHIP_32v1.tf Power and Ground: Net for 1’b0: GND
Verilog Library: fp
LEF Library: chipLef Lef1 Lef2
Verilog Design File: ../data/dualCoreIO.v
LEF Design File:
chipLef ../data/CHIP.lef
Lef1 ../data/RAMSPNL512X8.lef
Lef2 ../data/RAMSPNL256X8.lef
Reference Library for Link Verilog and LEF Library:
Check these libraries: chipLef, Lef1, Lef2.
Figure 1: Settings of Create Database->Design and Library tab & Configuration tab
2.3 Click OK to proceed.
2/13
3 Open top design to do floor planning.
3.1 Invoke Open Cell by selecting FileÆOpen Cell in Main Window.
3.2 Select the library fp and the cell TEST.
3.3 Click OK to open the design, as illustrated below.
3/13
Figure 3: Settings of Chip Size Setting->Chip Setting group box
4.3 Define the Power/Ground Ring Area as follows.
4.3.1 Choose Unified Value and type 70 um for Power/Ground Area Width
NOTE: There are two ways to define chip size. One is defined by die size; the other is defined
by core area, which is illustrated in this case. For defined by core size, Laker also
provides Tool Estimation approach to estimate the die size according to stand cells’
utilization.
4/13
5 Create corner cells to top design.
Sometimes, Verilog netlist does not include corner cells as they are not purposed for
connecting power and ground of IO cells. Verilog netlist may not include power and ground
cells, neither. Under this situation, you can use the Create IO Cells command to create those
cells.
5.1 Invoke Create IO Cells by selecting FloorplanÆIO PlanningÆCreate IO Cells in
Layout Window.
5.2 Type ../data/createCorner.dat in the File text box.
5/13
Figure 8: Place IO Cells
6.3 Click OK to proceed. The four corner instances are placed into the cell boundary, as
illustrated below.
Figure 9: Four corner instances are placed into the cell boundary
6/13
Figure 10: Plan IO by CSV/TEXT: CSV File settings
7.2 In the Place IO Cells group box,
7.2.1 Select Clockwise for Direction.
7.2.2 Select Spread for Style.
7.2.3 Select The Same on Each Slide for Pad Number.
7.2.4 Set the coordinate of Starting Point of X,Y as X=266.0 Y=0
You can also specify the other coordinate by mouse click on the layout window.
7/13
Figure 12: All IO cells are placed properly in IO area
9/13
Figure 15: All of the nets (VDD, GND) connect between IO cells and core ring
10/13
12 Create Macro Ring around the macro cells.
12.1 Invoke Create Macro Ring by selecting FloorplanÆPower Planning ÆMacro
Ring… in Layout Window. Set the following values in the form:
12.1.1 Specified Macros: Selected Macros
12.1.2 Net Names: VDD GND
12.1.3 Left/Right Net Layer: METAL2; Top/Bottom Net Layer: METAL1
11/13
Figure 19: Macro rings
13 Create strap.
13.1 Invoke Create Strap by selecting FloorplanÆPower Planning ÆStrap… in Layout
Window. Set the following values in the form:
13.1.1 Net Names: VDD GND
13.1.2 Layer: METAL2 (METAL2 is available only when Vertical direction is
selected)
13.1.3 Width: 10
13.1.4 Spacing: 10
13.1.5 Direction: Vertical
13.1.6 Start X: 285
Conclusion
You have gone through most of the commonly used functions for floor planning.
For details of each function, refer to Laker Command Reference.
13/13