Skip to content

Commit

Permalink
fix link checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoeders committed Jan 7, 2025
1 parent 2916537 commit c750d98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ build: install
bundle exec jekyll build

check_links: build
bundle exec htmlproofer --ignore_empty_alt true --ignore_missing_alt true --enforce_https false --swap_urls "^\/ecen427:" --ignore_status_codes "0,200,301,302,403" ./_site
bundle exec htmlproofer --ignore-empty-alt --ignore-missing-alt --no-enforce-https --swap_urls "^\/ecen427:" --ignore-status-codes "0,200,301,302,403" ./_site
4 changes: 2 additions & 2 deletions _labs/hls_accelerator.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Fortunately, we are going to make use of a modern digital design technology, *Hi
## Describing Functionality in C Code
HLS tools allow you to design hardware using C/C++ code (with some limitations; for example, code that uses dynamic memory allocation or recursion isn't supported). To use HLS, you must write your hardware behavior as a C/C++ function, and then run the HLS tools to convert this into a Verilog module. The function arguments will become top-level interfaces to your hardware block.

For this lab, you will implement the the `fill_bitmap_region` function, defined in [bitmap_accelerator.h](https://github.com/byu-cpe/ecen427_student/blob/master/hw/hls/bitmap_accelerator/bitmap_accelerator.h):
For this lab, you will implement the the `fill_bitmap_region` function, defined in bitmap_accelerator.h:

```
// Draw a rectangular region of pixels at (dest_x, dest_y), of size (width, height).
Expand All @@ -49,7 +49,7 @@ Some test code is provided to you in *bitmap_accelerator_test.c* to ensure that
### Creating a Project
Xilinx's high-level synthesis software is called *Vitis HLS*. You can run this from the command-line using `vitis_hls` (after you have sourced the script to add the Xilinx tools to your PATH). If you run it this way, you will be presented with a new project wizard, where you will provide your files, select a part, etc. (similar to how you have created projects in Vivado).

Instead, we will create a new project using the provided [proj.tcl](https://github.com/byu-cpe/ecen427_student/blob/master/hw/hls/bitmap_accelerator/proj.tcl) script. Look through this script. It starts by creating a project named *vitis_hls_proj*. You will see that it adds your *bitmap_accelerator.c* file to the project (*add_files*), specifies which function will be synthesized to hardware (*set_top*), and adds the *bitmap_accelerator_test.c* file as a test bench code (*add_files -tb*). It also selects an FPGA part, and a target clock frequency.
Instead, we will create a new project using the provided proj.tcl script. Look through this script. It starts by creating a project named *vitis_hls_proj*. You will see that it adds your *bitmap_accelerator.c* file to the project (*add_files*), specifies which function will be synthesized to hardware (*set_top*), and adds the *bitmap_accelerator_test.c* file as a test bench code (*add_files -tb*). It also selects an FPGA part, and a target clock frequency.

To create your project run:

Expand Down

0 comments on commit c750d98

Please sign in to comment.