You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,24 @@
1
-
# Chipflow Examples
1
+
# ChipFlow Examples
2
2
3
3
## 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/)
8
8
9
9
## 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.
11
11
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
+

13
14
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
+

16
17
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)
18
22
19
23
Once PDM is installed, make sure your in the `chipflow-examples` directory and then run:
20
24
```
@@ -23,19 +27,21 @@ pdm install
23
27
```
24
28
25
29
## 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
+

27
33
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:
29
35
30
36
```
31
37
CHIPFLOW_API_KEY=<Paste your key here>
32
38
```
33
39
34
-
## Running ChipFlow
40
+
## Running a chip build
35
41
36
42
First choose a design to test. Here we will use the `minimal` design.
37
43
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.
0 commit comments