From: R Veera Kumar Date: Sat, 22 May 2021 19:03:59 +0000 (+0530) Subject: Added cocotb setup script. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b37dae6e9acef89301a3c1a5fe9ce9f3e66a11c;p=dev-env-setup.git Added cocotb setup script. --- diff --git a/cocotb-install b/cocotb-install new file mode 100755 index 0000000..4a34adb --- /dev/null +++ b/cocotb-install @@ -0,0 +1,11 @@ +#!/bin/bash +if [ "$EUID" -ne 0 ] + then echo "Please run as root using 'sudo bash'" + exit +fi + +apt-get update -y +apt-get install -y git python3 python3-dev g++ make python3-pip + +pip3 install git+https://github.com/cocotb/cocotb@v1.5.2 +