From 7ef4fce4979a87d53e35aa9392f98f7e61e22982 Mon Sep 17 00:00:00 2001
From: Dinyar Rabady <dinyar.rabady@cern.ch>
Date: Sun, 10 Jul 2022 23:37:58 +0200
Subject: [PATCH] Move to bitfile repo under /opt

---
 scripts/vivado/reset_scouting-proc.tcl | 6 +++---
 scripts/vivado/reset_server.tcl        | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/vivado/reset_scouting-proc.tcl b/scripts/vivado/reset_scouting-proc.tcl
index d6fb7607..410141f7 100644
--- a/scripts/vivado/reset_scouting-proc.tcl
+++ b/scripts/vivado/reset_scouting-proc.tcl
@@ -3,9 +3,9 @@ connect_hw_server -url localhost:3121
 current_hw_target [get_hw_targets */xilinx_tcf/Xilinx/1234-tulA]
 set_property PARAM.FREQUENCY 15000000 [get_hw_targets */xilinx_tcf/Xilinx/1234-tulA]
 open_hw_target
-set_property PROGRAM.FILE {/home/scouter/bitfiles/currently_used/scouting_build.bit} [get_hw_devices xcku115_0]
-set_property PROBES.FILE {/home/scouter/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
-set_property FULL_PROBES.FILE {/home/scouter/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
+set_property PROGRAM.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.bit} [get_hw_devices xcku115_0]
+set_property PROBES.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
+set_property FULL_PROBES.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
 current_hw_device [get_hw_devices xcku115_0]
 refresh_hw_device [lindex [get_hw_devices xcku115_0] 0]
 
diff --git a/scripts/vivado/reset_server.tcl b/scripts/vivado/reset_server.tcl
index e6f5ae0f..5b6b7aa8 100644
--- a/scripts/vivado/reset_server.tcl
+++ b/scripts/vivado/reset_server.tcl
@@ -7,9 +7,9 @@ proc init_hw {} {
     current_hw_target [get_hw_targets */xilinx_tcf/Xilinx/1234-tulA]
     set_property PARAM.FREQUENCY 15000000 [get_hw_targets */xilinx_tcf/Xilinx/1234-tulA]
     open_hw_target
-    set_property PROGRAM.FILE {/home/scouter/bitfiles/currently_used/scouting_build.bit} [get_hw_devices xcku115_0]
-    set_property PROBES.FILE {/home/scouter/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
-    set_property FULL_PROBES.FILE {/home/scouter/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
+    set_property PROGRAM.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.bit} [get_hw_devices xcku115_0]
+    set_property PROBES.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
+    set_property FULL_PROBES.FILE {/opt/l1scouting-hardware/bitfiles/currently_used/scouting_build.ltx} [get_hw_devices xcku115_0]
     current_hw_device [get_hw_devices xcku115_0]
     refresh_hw_device [lindex [get_hw_devices xcku115_0] 0]
 }
-- 
GitLab