From: lkcl Date: Sat, 22 May 2021 17:00:52 +0000 (+0100) Subject: (no commit message) X-Git-Tag: DRAFT_SVP64_0_1~885 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a52a5c0927bb24a4d3b7865da22f0d165232febb;p=libreriscv.git --- diff --git a/HDL_workflow/verilator.mdwn b/HDL_workflow/verilator.mdwn index d57e5a4ff..fdb2b41b0 100644 --- a/HDL_workflow/verilator.mdwn +++ b/HDL_workflow/verilator.mdwn @@ -7,7 +7,7 @@ from other software (reproducible builds) or use the schroot auto-preparation script here: - export MY_CHROOT=/stable-chroot + export MY_CHROOT=/opt/chroot/verilator mkdir $MY_CHROOT debootstrap stable $MY_CHROOT http://deb.debian.org/debian/ mount -t proc proc $MY_CHROOT/proc @@ -15,14 +15,17 @@ auto-preparation script here: mount -t devpts devpts $MY_CHROOT/dev/pts/ chroot $MY_CHROOT /bin/bash +The dev-env-setup chroot script is a little more sophisticated +than the above + ## Steps to compile Verilator ### Necessary software to install - apt-get install git - apt-get install python3 make autoconf g++ flex bison ccache \ - numactl libgoogle-perftools-dev perl-doc \ - zlibc zlib1g-dev + apt-get install git build-essential g++ ccachr + apt-get install python3 make autoconf flex bison \ + libgoogle-perftools-dev perl-doc \ + numactl zlibc zlib1g-dev git clone https://github.com/verilator/verilator ### Build Verilator @@ -30,7 +33,7 @@ auto-preparation script here: cd verilator git checkout v4.106 autoconf - ./configure --prefix=/usr/local/verilator + ./configure make -j$(nproc) make install