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: docs/Foundations.md
+1-141Lines changed: 1 addition & 141 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,144 +53,4 @@ As it is possible to see, there is an equivalence at the functional level.
53
53
54
54
Going deeper, how CYNQ is currently mounted for the Xilinx Kria, it uses XRT for the buffers, MMIO for accelerators and data mover and FPGA manager for the hardware configuration.
55
55
56
-
A rough estimation of the class diagram is the following:
<divclass="fragment"><divclass="line">@misc{blabla,</div><divclass="line"> author = {{León-vega, Luis G.</div><divclass="line"> AND Ávila-Torres, Diego</div><divclass="line"> AND Castro-Godínez, Jorge</div><divclass="line"> }},</div><divclass="line"> title = {{CYNQ (v0.1)}},</div><divclass="line"> year = {2023},</div><divclass="line"> url = {https://github.com/ECASLab/cynq},</div><divclass="line">} </div></div><!-- fragment --></div></div><!-- contents -->
126
132
</div><!-- doc-content -->
127
133
<!-- start footer part -->
128
134
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
Copy file name to clipboardExpand all lines: docs/html/md__media_lleon95_data_Personal_cynq_docs_GettingStarted.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -138,8 +138,8 @@
138
138
<p>To synchronise the buffers, it is possible to use <code>Sync()</code> method:</p>
139
139
<divclass="fragment"><divclass="line">{c++}</div><divclass="line">in_mem->Sync(SyncType::HostToDevice);</div><divclass="line">out_mem->Sync(SyncType::DeviceToHost);</div></div><!-- fragment --><p>that takes any of the following values:</p>
140
140
<ul>
141
-
<li>cynq::SyncType::DeviceToHost: device to host synchronisation</li>
142
-
<li>cynq::SyncType::HostToDevice: host to device synchronisation</li>
141
+
<li><code>cynq::SyncType::DeviceToHost</code>: device to host synchronisation</li>
142
+
<li><code>cynq::SyncType::HostToDevice</code>: host to device synchronisation</li>
143
143
</ul>
144
144
<p>Once the memory is synchronised, the data mover is used to upload the data to the AXI4-Stream or download from it.</p>
145
145
<divclass="fragment"><divclass="line">{c++}</div><divclass="line">// Upload: requires the buffer to be sync in HostToDevice</div><divclass="line">dma->Upload(in_mem, in_mem->Size(), 0, ExecutionType::Sync);</div><divclass="line">// Download: after its completion, the buffer must be sync DeviceToHost</div><divclass="line">dma->Download(out_mem, out_mem->Size(), 0, ExecutionType::Sync);</div></div><!-- fragment --><p>Both methods takes: <code>(memory, size, offset, execution_type)</code>, where <code>size</code> is the amount of data to transfer in bytes, <code>offset</code> moves the starting point of the data and <code>execution_type</code> is the type of execution:</p>
0 commit comments