Skip to content

Commit

Permalink
fix: reimplement tiles and add timing models, also implement posit fl…
Browse files Browse the repository at this point in the history
…at and fix synth errors
  • Loading branch information
Asma-Mohsin committed Nov 25, 2024
1 parent 6f80c7d commit 29490db
Show file tree
Hide file tree
Showing 215 changed files with 3,193,628 additions and 42,166 deletions.
61,546 changes: 61,546 additions & 0 deletions def/LUT4AB.def

Large diffs are not rendered by default.

3,952 changes: 3,952 additions & 0 deletions def/N_term_RAM_IO.def

Large diffs are not rendered by default.

33,214 changes: 33,214 additions & 0 deletions def/RAM_IO.def

Large diffs are not rendered by default.

3,765 changes: 3,765 additions & 0 deletions def/S_term_RAM_IO.def

Large diffs are not rendered by default.

14,692 changes: 14,692 additions & 0 deletions def/W_IO.def

Large diffs are not rendered by default.

Binary file added gds/LUT4AB.gds
Binary file not shown.
Binary file added gds/N_term_RAM_IO.gds
Binary file not shown.
Binary file added gds/RAM_IO.gds
Binary file not shown.
Binary file added gds/S_term_RAM_IO.gds
Binary file not shown.
Binary file added gds/W_IO.gds
Binary file not shown.
4,878 changes: 4,878 additions & 0 deletions lef/LUT4AB.lef

Large diffs are not rendered by default.

1,214 changes: 1,214 additions & 0 deletions lef/N_term_RAM_IO.lef

Large diffs are not rendered by default.

3,969 changes: 3,969 additions & 0 deletions lef/RAM_IO.lef

Large diffs are not rendered by default.

1,206 changes: 1,206 additions & 0 deletions lef/S_term_RAM_IO.lef

Large diffs are not rendered by default.

2,152 changes: 2,152 additions & 0 deletions lef/W_IO.lef

Large diffs are not rendered by default.

93,964 changes: 93,964 additions & 0 deletions lib/LUT4AB.lib

Large diffs are not rendered by default.

1,581 changes: 1,581 additions & 0 deletions lib/N_term_RAM_IO.lib

Large diffs are not rendered by default.

21,488 changes: 21,488 additions & 0 deletions lib/RAM_IO.lib

Large diffs are not rendered by default.

1,581 changes: 1,581 additions & 0 deletions lib/S_term_RAM_IO.lib

Large diffs are not rendered by default.

5,872 changes: 5,872 additions & 0 deletions lib/W_IO.lib

Large diffs are not rendered by default.

196,699 changes: 196,699 additions & 0 deletions mag/LUT4AB.mag

Large diffs are not rendered by default.

13,728 changes: 13,728 additions & 0 deletions mag/N_term_RAM_IO.mag

Large diffs are not rendered by default.

119,275 changes: 119,275 additions & 0 deletions mag/RAM_IO.mag

Large diffs are not rendered by default.

13,291 changes: 13,291 additions & 0 deletions mag/S_term_RAM_IO.mag

Large diffs are not rendered by default.

63,573 changes: 63,573 additions & 0 deletions mag/W_IO.mag

Large diffs are not rendered by default.

1,822 changes: 1,822 additions & 0 deletions maglef/LUT4AB.mag

Large diffs are not rendered by default.

516 changes: 516 additions & 0 deletions maglef/N_term_RAM_IO.mag

Large diffs are not rendered by default.

1,592 changes: 1,592 additions & 0 deletions maglef/RAM_IO.mag

Large diffs are not rendered by default.

508 changes: 508 additions & 0 deletions maglef/S_term_RAM_IO.mag

Large diffs are not rendered by default.

843 changes: 843 additions & 0 deletions maglef/W_IO.mag

Large diffs are not rendered by default.

19 changes: 16 additions & 3 deletions openlane/LUT_redo/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,28 @@
],
"FP_SIZING": "absolute",
"DIE_AREA": "0 0 223.275 223.115",
"PL_TARGET_DENSITY": 0.62,

"SYNTH_LATCH_MAP" :"dir::gate_map.v",
"FP_CORE_UTIL":30,
"SYNTH_STRATEGY":"DELAY 0",


"PL_TARGET_DENSITY": 0.63,
"EXTRA_GDS_FILES":"dir::cus_mux/cus_tg_mux41_buf.gds",
"GLB_RESIZER_HOLD_SLACK_MARGIN":0.05,
"GLB_RESIZER_SETUP_SLACK_MARGIN":0.5,
"PL_RESIZER_SETUP_SLACK_MARGIN":0.5,
"PL_RESIZER_SETUP_MAX_BUFFER_PERCENT":70,
"GLB_RESIZER_ALLOW_SETUP_VIOS":0,


"CLOCK_PERIOD": 40,
"CLOCK_PORT": "UserCLK",
"RUN_CTS": 1,
"SYNTH_NO_FLAT": 1,
"FP_PDN_CORE_RING": 0,
"GLB_RT_MAXLAYER": 5,
"GLB_RT_MAXLAYER": "met4",
"RUN_LINTER": 0,
"SYNTH_LATCH_MAP": "dir::gate_map.v",
"BASE_SDC_FILE": "dir::LUT4AB.sdc",
"FP_IO_VLENGTH": 0.8,
"FP_IO_HLENGTH": 0.8,
Expand Down
Binary file added openlane/LUT_redo/cus_mux/cus_tg_mux41_buf.gds
Binary file not shown.
254 changes: 254 additions & 0 deletions openlane/LUT_redo/cus_mux/cus_tg_mux41_buf.lef
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
VERSION 5.7 ;
NOWIREEXTENSIONATPIN ON ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
MACRO cus_tg_mux41_buf
CLASS CORE ;
FOREIGN cus_tg_mux41_buf ;
ORIGIN 0.000 0.000 ;
SIZE 6.440 BY 2.720 ;
SYMMETRY X Y R90 ;
SITE unithd ;
PIN S0
ANTENNAGATEAREA 0.216000 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER met2 ;
RECT 1.980 1.310 2.300 1.570 ;
RECT 2.035 0.800 2.245 1.310 ;
RECT 1.995 0.480 2.255 0.800 ;
END
PORT
LAYER met1 ;
RECT 0.145 1.550 0.375 1.700 ;
RECT 1.980 1.550 2.300 1.570 ;
RECT 0.145 1.410 2.300 1.550 ;
RECT 1.980 1.310 2.300 1.410 ;
LAYER via ;
RECT 2.010 1.310 2.270 1.570 ;
END
END S0
PIN S1N
ANTENNAGATEAREA 0.108000 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER met1 ;
RECT 4.720 1.875 5.070 1.925 ;
RECT 3.925 1.735 5.070 1.875 ;
RECT 3.925 1.360 4.095 1.735 ;
RECT 4.720 1.675 5.070 1.735 ;
RECT 3.865 1.130 4.155 1.360 ;
END
END S1N
PIN S1
ANTENNAGATEAREA 0.108000 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER met1 ;
RECT 4.720 1.195 5.075 1.465 ;
END
END S1
PIN S0N
ANTENNAGATEAREA 0.216000 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER met1 ;
RECT 3.155 1.480 3.445 1.570 ;
RECT 2.905 1.340 3.445 1.480 ;
RECT 0.145 1.170 0.375 1.200 ;
RECT 2.905 1.170 3.045 1.340 ;
RECT 0.145 1.030 3.045 1.170 ;
RECT 0.145 0.910 0.375 1.030 ;
RECT 1.635 0.940 1.925 1.030 ;
END
PORT
LAYER li1 ;
RECT 1.695 0.890 1.865 1.220 ;
LAYER mcon ;
RECT 1.695 0.970 1.865 1.140 ;
END
END S0N
PIN VGND
DIRECTION INOUT ;
SHAPE ABUTMENT ;
USE GROUND ;
PORT
LAYER met1 ;
RECT 0.000 -0.240 6.440 0.240 ;
END
END VGND
PIN VPWR
DIRECTION INOUT ;
SHAPE ABUTMENT ;
USE POWER ;
PORT
LAYER met1 ;
RECT 0.000 2.480 6.440 2.960 ;
END
END VPWR
PIN VPB
DIRECTION INOUT ;
USE POWER ;
PORT
LAYER nwell ;
RECT -0.190 1.305 6.635 2.910 ;
END
END VPB
PIN VNB
DIRECTION INOUT ;
USE GROUND ;
PORT
LAYER pwell ;
RECT 0.420 -0.085 0.590 0.085 ;
END
END VNB
PIN A2
ANTENNADIFFAREA 0.187200 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER li1 ;
RECT 2.035 0.255 2.205 2.465 ;
END
END A2
PIN A1
ANTENNADIFFAREA 0.190800 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER li1 ;
RECT 1.355 0.255 1.525 2.465 ;
END
END A1
PIN X
ANTENNADIFFAREA 0.383600 ;
DIRECTION OUTPUT ;
USE SIGNAL ;
PORT
LAYER li1 ;
RECT 6.060 1.765 6.265 2.465 ;
RECT 6.075 0.255 6.265 1.765 ;
END
END X
PIN A3
ANTENNADIFFAREA 0.190800 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER li1 ;
RECT 2.875 0.255 3.045 2.465 ;
END
END A3
PIN A0
ANTENNADIFFAREA 0.187200 ;
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER li1 ;
RECT 0.515 0.255 0.685 2.465 ;
END
END A0
OBS
LAYER li1 ;
RECT 0.000 2.635 6.440 2.805 ;
RECT 0.175 1.390 0.345 1.720 ;
RECT 0.175 0.890 0.345 1.220 ;
RECT 0.935 0.255 1.105 2.465 ;
RECT 2.455 0.255 2.625 2.465 ;
RECT 3.215 1.290 3.385 1.620 ;
RECT 3.215 0.790 3.385 1.120 ;
RECT 3.585 0.255 3.755 2.465 ;
RECT 4.005 2.110 4.175 2.465 ;
RECT 3.925 1.030 4.095 1.360 ;
RECT 3.995 0.690 4.175 0.860 ;
RECT 4.005 0.255 4.175 0.690 ;
RECT 4.425 0.255 4.595 2.465 ;
RECT 5.165 2.135 5.435 2.465 ;
RECT 4.765 1.725 5.095 1.895 ;
RECT 4.765 1.245 5.095 1.415 ;
RECT 5.265 1.410 5.435 2.135 ;
RECT 5.635 1.775 5.860 2.635 ;
RECT 5.735 1.410 5.905 1.490 ;
RECT 5.265 1.240 5.905 1.410 ;
RECT 4.825 0.685 4.995 1.015 ;
RECT 5.265 0.605 5.435 1.240 ;
RECT 5.735 1.160 5.905 1.240 ;
RECT 5.165 0.255 5.435 0.605 ;
RECT 5.655 0.085 5.905 0.945 ;
RECT 0.000 -0.085 6.440 0.085 ;
LAYER mcon ;
RECT 0.145 2.635 0.315 2.805 ;
RECT 0.605 2.635 0.775 2.805 ;
RECT 1.065 2.635 1.235 2.805 ;
RECT 1.525 2.635 1.695 2.805 ;
RECT 1.985 2.635 2.155 2.805 ;
RECT 2.445 2.635 2.615 2.805 ;
RECT 2.905 2.635 3.075 2.805 ;
RECT 3.365 2.635 3.535 2.805 ;
RECT 3.825 2.635 3.995 2.805 ;
RECT 4.285 2.635 4.455 2.805 ;
RECT 4.745 2.635 4.915 2.805 ;
RECT 5.205 2.635 5.375 2.805 ;
RECT 5.665 2.635 5.835 2.805 ;
RECT 6.125 2.635 6.295 2.805 ;
RECT 0.935 1.720 1.105 1.890 ;
RECT 0.175 1.470 0.345 1.640 ;
RECT 0.175 0.970 0.345 1.140 ;
RECT 3.585 1.770 3.755 1.940 ;
RECT 3.215 1.370 3.385 1.540 ;
RECT 3.215 0.870 3.385 1.040 ;
RECT 2.455 0.410 2.625 0.580 ;
RECT 3.925 1.160 4.095 1.330 ;
RECT 4.825 1.725 4.995 1.895 ;
RECT 4.825 1.245 4.995 1.415 ;
RECT 4.825 0.765 4.995 0.935 ;
RECT 4.425 0.410 4.595 0.580 ;
RECT 0.145 -0.085 0.315 0.085 ;
RECT 0.605 -0.085 0.775 0.085 ;
RECT 1.065 -0.085 1.235 0.085 ;
RECT 1.525 -0.085 1.695 0.085 ;
RECT 1.985 -0.085 2.155 0.085 ;
RECT 2.445 -0.085 2.615 0.085 ;
RECT 2.905 -0.085 3.075 0.085 ;
RECT 3.365 -0.085 3.535 0.085 ;
RECT 3.825 -0.085 3.995 0.085 ;
RECT 4.285 -0.085 4.455 0.085 ;
RECT 4.745 -0.085 4.915 0.085 ;
RECT 5.205 -0.085 5.375 0.085 ;
RECT 5.665 -0.085 5.835 0.085 ;
RECT 6.125 -0.085 6.295 0.085 ;
LAYER met1 ;
RECT 3.940 2.020 4.260 2.340 ;
RECT 0.875 1.850 1.165 1.920 ;
RECT 3.555 1.850 3.785 2.000 ;
RECT 0.875 1.710 3.785 1.850 ;
RECT 0.875 1.690 1.165 1.710 ;
RECT 3.185 0.890 3.415 1.100 ;
RECT 2.065 0.810 3.415 0.890 ;
RECT 3.910 0.960 4.230 0.990 ;
RECT 4.765 0.960 5.030 0.995 ;
RECT 2.065 0.800 3.385 0.810 ;
RECT 1.995 0.750 3.385 0.800 ;
RECT 3.910 0.790 5.030 0.960 ;
RECT 1.995 0.480 2.255 0.750 ;
RECT 3.910 0.660 4.230 0.790 ;
RECT 4.795 0.705 5.030 0.790 ;
RECT 2.395 0.520 2.685 0.610 ;
RECT 4.365 0.520 4.655 0.610 ;
RECT 2.395 0.380 4.655 0.520 ;
LAYER via ;
RECT 3.970 2.055 4.230 2.315 ;
RECT 1.995 0.510 2.255 0.770 ;
RECT 3.940 0.725 4.200 0.985 ;
LAYER met2 ;
RECT 3.920 2.050 4.260 2.340 ;
RECT 4.005 0.990 4.155 2.050 ;
RECT 3.910 0.720 4.230 0.990 ;
END
END cus_tg_mux41_buf
END LIBRARY

25 changes: 25 additions & 0 deletions openlane/LUT_redo/cus_mux/cus_tg_mux41_buf.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module cus_tg_mux41_buf (A0, A1, A2, A3, S0, S0N, S1, S1N, X);
input A0;
input A1;
input A2;
input A3;
input S0;
input S0N;
input S1;
input S1N;
output X;
reg X;
wire [1:0] SEL;

assign SEL = {S1,S0};
always @(*)
begin
case(SEL)
2'b00:X = A0;
2'b01:X = A1;
2'b10:X = A2;
2'b11:X = A3;
default:X <= 0;
endcase
end
endmodule
Loading

0 comments on commit 29490db

Please sign in to comment.