Skip to content

Commit a9ca0a9

Browse files
committed
Initial commit
0 parents  commit a9ca0a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+30603
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Reinhard Fobbe
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#LAYPROPS=output/df2-0.24.10-1.1.lyp
2+
#LAYPROPS=output/df2-0.27-0.lyp
3+
LAYPROPS=output/oa-0.27-0.lyp
4+
5+
default:
6+
firefox doc/load_lefdef_tutorial.html
7+
8+
lefdef:
9+
klayout -l ${LAYPROPS} \
10+
-rd layermap="../klayout/cmos180.encmap" \
11+
-rd leftech="../lef/cmos180.lef" \
12+
-rd lefcell="../lef/cmos180osu.lef" \
13+
-rd def="input/def/fifo.def" \
14+
-rx -rm input/klayout/load_lefdef.rb
15+
16+
gds:
17+
klayout -l ${LAYPROPS} input/gds/fifo.gds
18+
19+
# run: File>Import Cadence Techfile
20+
# gds input required, else you get "error no view selected" from the script
21+
setup:
22+
klayout -rm input/klayout/import_tf_27012017.rbm input/gds/fifo.gds
23+

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# load_lefdef_tutorial
2+
The easy way to load LEF/DEF into the KLayout editor
3+
<p>
4+
To start the tutorial please download the package using KLayout and then change to ~/.klayout/salt/load_lefdef_tutorial and load "doc/load_lefdef_tutorial.html" into your browser.
5+

doc/Copyright.Matthias_Koefferlein

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Matthias Köfferlein
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

doc/Copyright.NCSU_CDK

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
;; NCSU CDK v. 1.5.1
2+
;; Last Modified: 2006-08-22
3+
4+
The NCSU CDK is Copyright (C) NC State University, 1998, 1999, 2004,
5+
2006. Users are free to use or modify the NCSU CDK as appropriate as long
6+
as this notice appears in the modified package. The NCSU CDK is
7+
provided with NO WARRANTY.
8+
9+
As of version 1.5.1, all documentation for the NCSU CDK is provided
10+
by the NCSU Cadence Wiki which can be found at:
11+
12+
http://www.cadence.ncsu.edu/
13+

doc/Copyright.OSU

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
This software is being provided to you, the LICENSEE, by the Oklahoma
3+
State University (OSU) under the following license. By
4+
obtaining, using and/or copying this software, you agree that you have
5+
read, understood, and will comply with these terms and conditions:
6+
7+
Permission to use, copy, and modify this software and its documentation for
8+
research and educational purposes only and without fee or royalty is hereby
9+
granted, provided that you agree to comply with the following copyright
10+
notice and statements, including the disclaimer, and that the same appear
11+
on ALL copies of the software and documentation, including modifications
12+
that you make for internal use or for distribution:
13+
14+
Copyright 1999-2007 by the Oklahoma State University.
15+
All rights reserved.
16+
17+
THIS SOFTWARE IS PROVIDED "AS IS", AND OSU MAKES NO REPRESENTATIONS OR
18+
WARRANTIES, EXPRESS OR IMPLIED. By way of example, but not limitation,
19+
OSU MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS
20+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE OR
21+
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
22+
TRADEMARKS OR OTHER RIGHTS.
23+
24+
The name of the Oklahoma State University or OSU may NOT be
25+
used in advertising or publicity pertaining to distribution of the
26+
software. Title to copyright in this software and any associated
27+
documentation shall at all times remain with OSU, and USER agrees to
28+
preserve same.

doc/Copyright.OpenCores

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//////////////////////////////////////////////////////////////////////
2+
//// ////
3+
//// File name "fifo.v" ////
4+
//// ////
5+
//// This file is part of the "synchronous_reset_fifo" project ////
6+
//// http://opencores.com/project,synchronous_reset_fifo ////
7+
//// ////
8+
//// Author: ////
9+
//// - Madhumangal Javanthieswaran (madhu54321@opencores.org) ////
10+
//// ////
11+
//////////////////////////////////////////////////////////////////////
12+
//// ////
13+
//// Copyright (C) 2008 AUTHORS. All rights reserved. ////
14+
//// ////
15+
//// This source file may be used and distributed without ////
16+
//// restriction provided that this copyright statement is not ////
17+
//// removed from the file and that any derivative work contains ////
18+
//// the original copyright notice and the associated disclaimer. ////
19+
//// ////
20+
//// This source file is free software; you can redistribute it ////
21+
//// and/or modify it under the terms of the GNU Lesser General ////
22+
//// Public License as published by the Free Software Foundation; ////
23+
//// either version 2.1 of the License, or (at your option) any ////
24+
//// later version. ////
25+
//// ////
26+
//// This source is distributed in the hope that it will be ////
27+
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
28+
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
29+
//// PURPOSE. See the GNU Lesser General Public License for more ////
30+
//// details. ////
31+
//// ////
32+
//// You should have received a copy of the GNU Lesser General ////
33+
//// Public License along with this source; if not, download it ////
34+
//// from http://www.opencores.org/lgpl.shtml ////
35+
//// ////
36+
//////////////////////////////////////////////////////////////////////
37+
38+
/************************************************************************
39+
Design Name : synchronous_reset_fifo
40+
Module Name : fifo.v
41+
Description :
42+
Date : 19/12/2011
43+
Author : Madhumangal Javanthieswaran
44+
Email : j.madhumangal@gmail.com
45+
Company :
46+
Version : 1.0
47+
Revision : 0.0
48+
************************************************************************/
49+
28.2 KB
Loading

doc/df2klayout.html

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<html>
2+
<head>
3+
</head>
4+
5+
<body>
6+
<h1>Convert an DFII technology file into KLayout format</h1>
7+
8+
Start the Cadence icfb tool and call the "Technology Tool Box". Then press the "Dump"
9+
button in the tool box. In the "Technology Library" pulldown select the OA technology library
10+
you want to dump. Please make sure that that you only switch the "layerDefinitions" toggle
11+
to "On". Fill out the textbox with name of the output ASCII technology file. Then push the "OK"
12+
button to write out the technology file.
13+
14+
<p>
15+
<img src="df2_NCSU_Techlib_tsmc02_laydefs.gif">
16+
<p>
17+
Then locate the current "display.drf" file in the virtuoso run directory. It coIf not found then
18+
please take a look at the technology directory, which should contain the original version of
19+
the display.drf file. The display.drf file contains color and layer visibility and style
20+
defintions, fill pattern and line style information.
21+
22+
As third item we need a copy of the OpenAccess stream layer map file. It should reside in the
23+
technology library and is usually called "streamin.layermap". It will contain a mapping
24+
between OA layer/OA purpose to GDSII layer number and GDSII datatype. Here is an exmaple:
25+
<p>
26+
<pre>
27+
# ------------- --------------------- -----------
28+
# Layer Name Layer purpose GDSII layer
29+
# ------------- --------------------- -----------
30+
nwell drawing 41 0
31+
nwell drawing 42 0
32+
active drawing 43 0
33+
nactive drawing 103 0
34+
pactive drawing 113 0
35+
tactive drawing 60 0
36+
poly drawing 46 0
37+
sblock drawing 29 0
38+
nselect drawing 45 0
39+
pselect drawing 44 0
40+
cc drawing 25 0
41+
cp drawing 47 0
42+
ca drawing 48 0
43+
metal1 drawing 49 0
44+
metal1 pin 81 0
45+
metal1 boundary 49 5
46+
via drawing 50 0
47+
via boundary 50 5
48+
metal2 drawing 51 0
49+
metal2 pin 82 0
50+
metal2 boundary 51 0
51+
...
52+
prBoundary drawing 100 0
53+
instance drawing 101
54+
</pre>
55+
<p>
56+
Then please move your_tech.tf, display.drf and streamin.layermap into your destination folder.
57+
58+
</body>
59+
</html>

doc/gds1.png

231 KB
Loading

doc/gds2.png

174 KB
Loading

doc/gds3.png

261 KB
Loading

doc/init.png

296 KB
Loading

doc/lefdef1.png

212 KB
Loading

doc/lefdef2.png

145 KB
Loading

doc/lefdef3.png

161 KB
Loading

doc/lefdef4.png

156 KB
Loading

doc/lefdef5.png

195 KB
Loading

0 commit comments

Comments
 (0)