Skip to content

Commit 70cc94a

Browse files
AWSNBAWSwinefred
authored andcommitted
Renaming and fix Starting_your_own_CL (#96)
clean up doc remove redundant text added table of content fix typos and wrong references
1 parent e23a0ee commit 70cc94a

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
# Starting Your Own Custom Logic (CL)
22

3+
## Table of Content
4+
1. [Install HDK](#install)
5+
2. [Create new CL Directory and Setup Environment](#setupDir)
6+
3. [Modify Build Scripts](#modifyBuildScripts)
7+
8+
<a name="install"></a>
39
## 1. Make sure you have the FPGA HDK installed and the environment variables set up
410

511
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:
612

713
$ git clone https://github.com/aws/aws-fpga
814
$ cd aws-fpga
9-
$ source hdk_shell.sh
15+
$ source hdk_setup.sh
1016

17+
18+
<a name="setupDir"></a>
1119
## 2. Create a new CL directory, environment variable, and reference directory structure
1220

1321
The developer has two ways to start a new Custom Logic design:
1422

1523
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
1624

17-
2) Setup a new CL directory:
25+
2) Setup a new CL directory from scratch:
1826

1927
$ mkdir Your_New_CL_Directory
2028
$ 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
2937

3038
$ echo $CL_DIR
3139

40+
41+
<a name="modifyBuildScripts"></a>
3242
## 3. Modify the build scripts
3343

3444
The following scripts should be modified before starting the build:
@@ -39,16 +49,7 @@ The following scripts should be modified before starting the build:
3949
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).
4050

4151

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)
5253

5354

5455

0 commit comments

Comments
 (0)