# HLS Basics

**URL:** https://hls.academy/forums/c/hls-basics/6.md

[Latest](https://hls.academy/forums/latest.md) · [Categories](https://hls.academy/forums/categories.md) · [Tags](https://hls.academy/forums/tags.md)

---

## [About the HLS Basics category](https://hls.academy/forums/t/about-the-hls-basics-category/20)

<div class="topic-metadata">

**Author:** [@mathilde.karsenti](https://hls.academy/forums/u/mathilde.karsenti)\
**Replies:** 0

</div>

The following topics will be covered in this category: HLS 101, Loop Unrolling, Pipelining, Hierarchy, Design Partitioning, Datatypes, and Interfaces.

---

## [How do HLS tools support and handle interfaces?](https://hls.academy/forums/t/how-do-hls-tools-support-and-handle-interfaces/184)

<div class="topic-metadata">

**Author:** [@emily-95](https://hls.academy/forums/u/emily-95)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:37pm UTC](https://hls.academy/forums/t/how-do-hls-tools-support-and-handle-interfaces/184 "2025-08-07T19:37:21Z")

</div>

Hello everyone! I’m digging into how HLS tools support different interface types and how much control we really have over them. Would love to hear how others approach this, especially any tips from folks who’ve navigat…

---

## [Since I design in C++ can I use the native datatypes for High Level Synthesis as well?](https://hls.academy/forums/t/since-i-design-in-c-can-i-use-the-native-datatypes-for-high-level-synthesis-as-well/183)

<div class="topic-metadata">

**Author:** [@TaylorAnderson](https://hls.academy/forums/u/TaylorAnderson)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:36pm UTC](https://hls.academy/forums/t/since-i-design-in-c-can-i-use-the-native-datatypes-for-high-level-synthesis-as-well/183 "2025-08-07T19:36:23Z")

</div>

Can someone give some guidance, since I design in C++ can I use the native datatypes for High Level Synthesis as well?

---

## [What is scope in design partitioning?](https://hls.academy/forums/t/what-is-scope-in-design-partitioning/181)

<div class="topic-metadata">

**Author:** [@ChrisDavis](https://hls.academy/forums/u/ChrisDavis)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:36pm UTC](https://hls.academy/forums/t/what-is-scope-in-design-partitioning/181 "2025-08-07T19:36:04Z")

</div>

Hi I’ll keep it short and simple. What is scope in design partitioning?

---

## [What are inline and block in hierarchies?](https://hls.academy/forums/t/what-are-inline-and-block-in-hierarchies/179)

<div class="topic-metadata">

**Author:** [@ChrisDavis](https://hls.academy/forums/u/ChrisDavis)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:35pm UTC](https://hls.academy/forums/t/what-are-inline-and-block-in-hierarchies/179 "2025-08-07T19:35:44Z")

</div>

Hey all! I’m trying to better understand how HLS tools handle function hierarchies, specifically the difference between ‘inline’ and ‘block’. I’ve seen both terms tossed around in synthesis reports and directives, but I…

---

## [When is it not possible to pipeline with II=1?](https://hls.academy/forums/t/when-is-it-not-possible-to-pipeline-with-ii-1/175)

<div class="topic-metadata">

**Author:** [@ChrisDavis](https://hls.academy/forums/u/ChrisDavis)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:34pm UTC](https://hls.academy/forums/t/when-is-it-not-possible-to-pipeline-with-ii-1/175 "2025-08-07T19:34:45Z")

</div>

Hey! What are the typical reasons II=1 can’t be achieved? I’d love to hear how you analyze and resolve these limitations. Looking forward to your insights!

---

## [How to handle memories when loops are unrolled?](https://hls.academy/forums/t/how-to-handle-memories-when-loops-are-unrolled/177)

<div class="topic-metadata">

**Author:** [@TaylorAnderson](https://hls.academy/forums/u/TaylorAnderson)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:33pm UTC](https://hls.academy/forums/t/how-to-handle-memories-when-loops-are-unrolled/177 "2025-08-07T19:33:51Z")

</div>

Hey everyone! I’m diving into loop unrolling in HLS and running into some head-scratchers around memory handling. How to handle memories when loops are unrolled? Any best practices, gotchas, or examples would be hugely…

---

## [What are the benefits of HLS?](https://hls.academy/forums/t/what-are-the-benefits-of-hls/180)

<div class="topic-metadata">

**Author:** [@TaylorAnderson](https://hls.academy/forums/u/TaylorAnderson)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 7:29pm UTC](https://hls.academy/forums/t/what-are-the-benefits-of-hls/180 "2025-08-07T19:29:38Z")

</div>

Hey guys! I was wondering, if one could summarize a few benefits of HLS, what would you narrow it down to?

---

## [Partial unrolling vs. pipelining where II\>1](https://hls.academy/forums/t/partial-unrolling-vs-pipelining-where-ii-1/45)

<div class="topic-metadata">

**Author:** [@stuartclubb](https://hls.academy/forums/u/stuartclubb)\
**Replies:** 0\
**Last updated:** [September 16, 2024, 7:10pm UTC](https://hls.academy/forums/t/partial-unrolling-vs-pipelining-where-ii-1/45 "2024-09-16T19:10:02Z")

</div>

You can unroll a loop by two and pipeline with an Initiation of two. Though why would you do that instead of leaving the loop rolled and pipelining with an initiation interval of one? Same goes for unrolling “everything”…
