Vivado: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
Line 20: Line 20:
  #pragma HLS INTERFACE ap_stable port=threshold  ->  #pragma HLS stable variable=threshold
  #pragma HLS INTERFACE ap_stable port=threshold  ->  #pragma HLS stable variable=threshold
  #pragma HLS DATA_PACK variable=s_coord2          ->  #pragma HLS aggregate variable=s_coord2 compact=bit
  #pragma HLS DATA_PACK variable=s_coord2          ->  #pragma HLS aggregate variable=s_coord2 compact=bit
 
#pragma HLS INLINE -> remove if used together with PIPELINE


== vivado on clondaq6 ==
== vivado on clondaq6 ==

Revision as of 13:34, 23 July 2024

vitis

Project / Project Settings / Synthesis Settings

Source Files
Top Function

Solution settings / Synthesis Settings

clock period: 8, clock uncertainty: 3.0
part selection: xc7vx550tffg1158-1
flow target: Vivado IP Flow Target

Migration from Vivado

in ecal.cc:
#pragma HLS PIPELINE II=4   ->   #pragma HLS DATAFLOW
everywhere:
#pragma HLS INTERFACE ap_stable port=threshold   ->   #pragma HLS stable variable=threshold
#pragma HLS DATA_PACK variable=s_coord2          ->   #pragma HLS aggregate variable=s_coord2 compact=bit
#pragma HLS INLINE -> remove if used together with PIPELINE

vivado on clondaq6

git clone https://github.com/JeffersonLab/fe_fw.git

old stuff

.cshrc must contains following:

if ( ($HOST == "braydopc2") || ($HOST == "braydopc2.jlab.org") ) then
  source /opt/Xilinx/Vivado/2015.4/settings64.csh 
endif


ssh boiarino@braydopc2

cd vivado

vivado_hls