Skip to content

Commit 8cb86bf

Browse files
committed
Add some images to help first time git users
1 parent 02568da commit 8cb86bf

File tree

4 files changed

+21
-15
lines changed

4 files changed

+21
-15
lines changed

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
# Chipflow Examples
1+
# ChipFlow Examples
22

33
## Install Requirements
4-
* Install the latest version of Python installed [Python Downloads](https://www.python.org/downloads/).
5-
* Ensure you have git command line tools installed [Git Downloads](https://git-scm.com/downloads).
6-
* We reccomend VS Code as a development environment [VSCode Downloads](https://code.visualstudio.com/download).
7-
* Github Desktop is a great tool for cloning git repos [Github Desktop Downloads](https://desktop.github.com/download/)
4+
* Install the latest version of Python: [Python Downloads](https://www.python.org/downloads/).
5+
* Ensure you have git command line tools installed: [Git Downloads](https://git-scm.com/downloads).
6+
* We recommend VS Code as a development environment: [VSCode Downloads](https://code.visualstudio.com/download).
7+
* GitHub Desktop is a great tool for cloning git repos: [GitHub Desktop Downloads](https://desktop.github.com/download/)
88

99
## Clone this repository
10-
If you're familiar withi the [git](https://git-scm.com/) command line then you'll know what to do, otherwise install [GitHub Desktop](https://github.com/apps/desktop). Once its installed, lauch it. You will be asked to sign in or create an account - we reccomend you take this moment to create a GitHub account if you don't already have one.
10+
If you're familiar with the [Git](https://git-scm.com/) command line then you'll know what to do, otherwise install [GitHub Desktop](https://github.com/apps/desktop). Once its installed, launch it. You will be asked to sign in or create an account - we recommend you take this moment to create a GitHub account if you don't already have one.
1111

12-
Come back to [this page](https://github.com/ChipFlow/chipflow-examples) and click the green 'Code' button at the top. Select 'Open with Github Desktop' and follow the prompts. Once Github Desktop has cloned your repo you can click the button to open it in VSCode.
12+
Come back to [this page](https://github.com/ChipFlow/chipflow-examples) and click the green 'Code' button at the top. Select 'Open with GitHub Desktop' and then follow the prompts (N.B. your web browser may have a pop-up to authorise opening an external app)
13+
![Image showing the link to click](docs/assets/open-github-desktop.png)
1314

14-
## Install the dependancies
15-
In VScode, open up a terminal from the title menu bar, or using a terminal of your choice.
15+
Once GitHub Desktop has cloned your repo you can click the button to open it in VS Code:
16+
![Image showing where to click in GitHub Desktop to open in VSCode](docs/assets/github-desktop-open.png)
1617

17-
We use [PDM](https://pdm-project.org) to manage our dependancies, so this will need to be installed. Follow the [PDM install instructions](https://pdm-project.org/en/latest/#installation)
18+
## Install the dependencies
19+
In VS Code, open up a terminal from the title menu bar, or using a terminal of your choice.
20+
21+
We use [PDM](https://pdm-project.org) to manage our dependencies, so this will need to be installed. Follow the [PDM install instructions](https://pdm-project.org/en/latest/#installation)
1822

1923
Once PDM is installed, make sure your in the `chipflow-examples` directory and then run:
2024
```
@@ -23,19 +27,21 @@ pdm install
2327
```
2428

2529
## Set up the environment
26-
Generate your API key at https://build-staging.chipflow.org/user/detail
30+
Generate your API key at https://build.chipflow.org/user/detail. Click on 'Create/Refresh API Key', and your new API key will appear at the top. Copy it now, as you will not see it again!
31+
32+
![Image showing a newly generated API Key](docs/assets/api-key.png)
2733

28-
Create a file called `.env` at the top level in the `chipflow-examples` directory, containing the line below, subsituting your key from the page above:
34+
Create a file called `.env` at the top level in the `chipflow-examples` directory, containing the line below, substituting your key from the page above:
2935

3036
```
3137
CHIPFLOW_API_KEY=<Paste your key here>
3238
```
3339

34-
## Running ChipFlow
40+
## Running a chip build
3541

3642
First choose a design to test. Here we will use the `minimal` design.
3743

38-
Change into the `minimal` directory in `chipflow-examples` to use this design. Now we need to 'lock' our pins - the chipflow tooling will then automatically allocate inputs and outputs from your design to pins on the chip.
44+
Change into the `minimal` directory in `chipflow-examples` to use this design. Now we need to 'lock' our pins - the ChipFlow tooling will then automatically allocate inputs and outputs from your design to pins on the chip.
3945

4046
```
4147
pdm run chipflow pin lock
@@ -80,7 +86,7 @@ Design submitted successfully! Build URL: https://build-staging.chipflow.org//bu
8086

8187
Your design will now start building: pictures and logs of the build are available at build URL that is returned, once it is complete.
8288

83-
If you would like to get the build logs streamed to your commandline, you can instead call:
89+
If you would like to get the build logs streamed to your command-line, you can instead call:
8490
```
8591
pdm run chipflow silicon submit --wait
8692
```

docs/assets/api-key.png

51.1 KB
Loading
134 KB
Loading
227 KB
Loading

0 commit comments

Comments
 (0)