diff --git a/README.md b/README.md index 97fe4d0e..a52adb15 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ in the original build-directory as described before. ## Deploying on the ETHZ HACC-cluster The ETHZ HACC is a premiere cluster for research in systems, architecture and applications (https://github.com/fpgasystems/hacc/tree/main). Its hardware equipment provides the ideal environment to run Coyote-based experiments, since users can book up to 10 servers with U55C-accelerator cards connected via a fully switched 100G-network. User accounts for this platform can be obtained following the explanation on the previously cited homepage. -The interaction with the HACC-cluster can be simplified by using the sgutil-run time commands. They also allow to easily program the accelerator with a Coyote-bitstreamd and insert the driver. For this purpose, the script `program_coyote.sh` has been generated. Under the assumption that the hardware-project has been created in `examples_hw/build` and the driver is already compiled in `driver`, the workflow should look like this: +The interaction with the HACC-cluster can be simplified by using the hdev-run time commands. They also allow to easily program the accelerator with a Coyote-bitstreamd and insert the driver. For this purpose, the script `program_coyote.sh` has been generated. Under the assumption that the hardware-project has been created in `examples_hw/build` and the driver is already compiled in `driver`, the workflow should look like this: ~~~ $ bash program_coyote.sh examples_hw/build/bitstreams/cyt_top.bit driver/coyote_drv.ko diff --git a/program_coyote.sh b/program_coyote.sh index b28b6081..43bd3326 100644 --- a/program_coyote.sh +++ b/program_coyote.sh @@ -31,14 +31,14 @@ fi ## -## Program the FPGA via the sgutil call - only work locally for the server that you are currently logged in to +## Program the FPGA via the hdev call - only work locally for the server that you are currently logged in to ## if [ $PROGRAM_FPGA -eq 1 ]; then echo "***" echo "** Programming the FPGA with $BIT_PATH" echo "***" - sgutil program vivado -b $BIT_PATH + hdev program vivado -b $BIT_PATH echo "***" echo "** FPGA programmed" echo "***" @@ -56,8 +56,8 @@ if [ $DRV_INSERT -eq 1 ]; then echo "***" echo "** IP_ADDRESS: $DEVICE_1_IP_ADDRESS_HEX_0" echo "** MAC_ADDRESS: $DEVICE_1_MAC_ADDRESS_0" - sgutil program driver -i $DRV_PATH -p ip_addr=$DEVICE_1_IP_ADDRESS_HEX_0,mac_addr=$DEVICE_1_MAC_ADDRESS_0 - # sgutil program driver -m $DRV_PATH + hdev program driver -i $DRV_PATH -p ip_addr=$DEVICE_1_IP_ADDRESS_HEX_0,mac_addr=$DEVICE_1_MAC_ADDRESS_0 + # hdev program driver -m $DRV_PATH echo "***" echo "** Driver loaded " echo "***"