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
2.[Create new CL Directory and Setup Environment](#setupDir)
6
+
3.[Modify Build Scripts](#modifyBuildScripts)
7
+
8
+
<aname="install"></a>
3
9
## 1. Make sure you have the FPGA HDK installed and the environment variables set up
4
10
5
11
In case you haven't cloned AWS FPGA HDK+SDK, please follow the next steps to download and configure the HDK to the source directory on the instance:
6
12
7
13
$ git clone https://github.com/aws/aws-fpga
8
14
$ cd aws-fpga
9
-
$ source hdk_shell.sh
15
+
$ source hdk_setup.sh
10
16
17
+
18
+
<aname="setupDir"></a>
11
19
## 2. Create a new CL directory, environment variable, and reference directory structure
12
20
13
21
The developer has two ways to start a new Custom Logic design:
14
22
15
23
1) Copy one of the example directory from `$HDK_DIR/cl/examples`, and make sure to set up `$CL_DIR` environment variable to point to the new design
16
24
17
-
2) Setup a new CL directory:
25
+
2) Setup a new CL directory from scratch:
18
26
19
27
$ mkdir Your_New_CL_Directory
20
28
$ cd Your_New_CL_Directory
@@ -29,6 +37,8 @@ In both cases, double-check that the `$CL_DIR` is set correctly by calling and c
29
37
30
38
$ echo $CL_DIR
31
39
40
+
41
+
<aname="modifyBuildScripts"></a>
32
42
## 3. Modify the build scripts
33
43
34
44
The following scripts should be modified before starting the build:
@@ -39,16 +49,7 @@ The following scripts should be modified before starting the build:
39
49
Once your design is ready and you would like to start the build/create process, please refer to this [checklist](../CHECKLIST_BEFORE_BUILDING_CL.md).
40
50
41
51
42
-
**NOTE**: *The DCP generation can take up to several hours to complete.
43
-
We recommend that you initiate the generation in a way that prevents interruption.
44
-
For example, if working on a remote machine, we recommend using window management tools such as [`screen`](https://www.gnu.org/software/screen/manual/screen.html) to mitigate potential network disconnects.*
45
-
46
-
47
-
Once you verified the checklist, you can run:
48
-
49
-
$ ./aws_build_dcp_from_cl.tcl
50
-
51
-
**NOTE***A detailed walkthrough on how to build the CL is also available in `$CL_DIR/build/scripts/README.md`.*
52
+
Once you verified the checklist, the detailed walkthrough on how to build and submit the CL to AWS is avaiable [here](../../common/shell_current/new_cl_template/build/README.md)
0 commit comments