OpenROAD Installation
May 13, 2023
Source: <OpenROAD Installation - STEAM Clown>
STEAM Clown ™ Productions
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Teachers: Before You Present
2
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Licensing & Attribution
My Open Source Philosophy - I have come to realize that I’m really not competing with other teachers. Maybe I have some local competition, �but in reality, if a student is not coming to my class or my school, then I’m not competing with other teachers in any way… If you work more than a �District away, then we really are not competitors. Let's Share... Collaborate... Help each other... I, and you, may have sweat blood and tears developing a lesson plan, a lab, or presentation… There is an ENORMOUS unpaid value there… I get that… I don’t begrudge teachers who are trying to sell their collateral… I’m just saying that is not what I’m going to do. This is my plan… I’m going to share virtually everything I develop. Join Me!!! See More
CC BY-NC-SA 4.0
https://creativecommons.org/licenses/by-nc-sa/4.0/
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
GNU Public License & EUPL (European Union Public Licence)
Any included or linked Programming Code Is licensed under GNU General Public License v3.0 & and / or licensed under EUPL 1.2 or later
See the Appendix for Additional Licensing & Attribution Information
3
Please maintain this slide with any modifications you make:
This content is licensed as Open Source / Creative Commons: A Specific use license has been provided by both STEAM Clown, and The OpenROAD Foundation.
Much of the content in these slides is a Re-Telling of material provided by �The OpenROAD Foundation and the Teams over at UC San Diego (prime), Precision Innovations, U. Michigan, U. Minnesota, Arizona State U., Arm, Qualcomm. I have modified the material some, to work better for my Mechatronics Engineering class and other High School STEAM Classes.
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Sponsorship Page
I would like to thank <Your Company or Organization Here> for their generous support of my classroom and curriculum development. <Your Company or Organization Here> has <Your value proposition, call to action, & related content and message>
(If you would like to sponsor this presentation, please contact TopClown@STEAMClown.org )
4
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Resources & Materials Needed
5
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Objective, Overview, & Introduction
6
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
What You Will Know...
Prior Knowledge & Certifications
What You Will Know & Be Able To Do
7
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
How You Will Be Measured
8
Skills Based LABS
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Essential Questions
9
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
New Words or Concepts...
10
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
When You See:👉 Try This:
11
print("Hisssssssssss")
Try This 👉
Try This
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Linux Setup
12
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Do You Need To Build A Clean Linux Build?
If you are going to build a clean Linux build, consider using the following steps:
13
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Building the OpenROAD Linux Setup
14
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Where to Start - OpenROAD
You can explore the OpenROAD site, but come back in a few minutes and follow the steps in the next slides
15
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
OpenROAD Project Build Setup
16
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
OpenROAD Setup Slides
17
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
OpenROAD Setup Build Shell Script
18
Before you just blindly run this script, let's discuss the commands and what they are doing.
You want to have a bit of context.
Update the script and validate a few times
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Before You Do Anything…
$ cd�$ pwd�$ sudo apt-get update�$ sudo apt-get upgrade -y
19
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Create a OpenROAD Flow Scripts Directory
$ mkdir -p -m 744 ORFS�$ ls -l�$ cd ORFS�$ pwd�$ ls -l
20
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Clone the OpenROAD project build
$ git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
$ ls -l
21
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Install & Build The OpenROAD Project
$ cd OpenROAD-flow-scripts�$ sudo ./setup.sh�$ ./build_openroad.sh --local
22
These scripts setup and build the project directories. When done, you should have all the files and directories to build an OpenROAD project.
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Verifying the Project Build
$ source ./env.sh�$ yosys -help�$ openroad -help�$ cd flow�$ make
23
The make command runs the project build RTL-GDSII generation for a default design gcd with nangate45 pdk
The Makefile in the flow directory, has different projects commented out. The default design project that will run is:
DESIGN_CONF ?= ./designs/nangate45/gcd/config.mk
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
GUI View Of The Default nangate45 pdk
$ make gui_final
24
If you got this far, you have verified a successful build of an OpenROAD RTL-GDSII generation project
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Next?
Project Directory Overview
25
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Summary
Congratulations, You have build an OpenROAD Project and now can explore the example design directory structure
Dig Deeper:
26
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Let's Check Your Understanding
27
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Review & Application
LAB & Quiz Time
28
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Thank You…
Questions?
29
Jim Burnham (AKA STEAM Clown)
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Reference Slides
30
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Education Standards
31
31
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
32
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Linux Setup Virtual machine Setup?
33
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Virtual Machine specific Linux Setup Slides
34
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Appendix
35
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Licensing & Attribution
Resources, Sourcers, and Attribution:
CC BY-NC-SA 4.0
https://creativecommons.org/licenses/by-nc-sa/4.0/
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
GNU Public License & EUPL (European Union Public Licence)
Any included or linked Programming Code Is licensed under GNU General Public License v3.0 & and / or licensed under EUPL 1.2 or later
36
Please maintain this slide with any modifications you make:
This content is licensed as Open Source / Creative Commons: A Specific use license has been provided by both STEAM Clown, and The OpenROAD Foundation.
Much of the content in these slides is a Re-Telling of material provided by �The OpenROAD Foundation and the Teams over at UC San Diego (prime), Precision Innovations, U. Michigan, U. Minnesota, Arizona State U., Arm, Qualcomm. I have modified the material some, to work better for my Mechatronics Engineering class and other High School STEAM Classes.
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Image Reference & Sources
37
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
What To Fix, Add, Or Change
Presentation Planning:
38
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.
Key: 📰 Slides / Audio 🎧 / 📽️▶️ Video/YouTube / 🎧▶️📽️ Audio/Video / ✨ Resources / 🖼️ Tutorial / 📖 Reading Activity / 📝 Writing Activity / 📖 📝 Reading/Writing / 📟 Coding / 🛠️ LAB Activity / 🚀 Quiz / 🔎 Review / ✔️ Mastery Check / ✍️ Sign Up /🍕 Extra Credit / 🕸️ Web Links / 👩🏽🎓🧑🏽🎓🧑🏿🎓👩🏫 Class / 🏵️📜📃 Certificate
/🧟 Review / 🦾 Practice / 🆙Level Up / 🎚️🦑📤🎯 🚧 - 🦑 Special Project -
Assignment Type: ⚓ Establishing (Minimum Standard) / ⛏️ Developing (Digging Deeper) / 💎 Aspiring (Putting It Together)
This is an ⚓ Establishing Assignment (Minimum Standard) - "Everyone Do" Assignment
This is an ⛏️ Developing (Digging Deeper) - "Everyone Should Do, To Stretch" Assignment
This is an 💎 Aspiring (Putting It Together) - "When you have done the ⚓ Establishing and⛏️ Developing" Assignment
39
© Copyright - STEAM Clown TM
Creative Commons Licenses - BY-NC-SA 4.0
STEAM Clown TM Productions
Distribution Statement A - Approved for public release; distribution unlimited.