From 15085d8c4e8a9da9f0ebdf6198ba1d7a1e9f18cf Mon Sep 17 00:00:00 2001 From: Veerakumar Date: Fri, 1 Apr 2022 14:21:44 +0100 Subject: [PATCH] --- HDL_workflow/nextpnr-xilinx.mdwn | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/HDL_workflow/nextpnr-xilinx.mdwn b/HDL_workflow/nextpnr-xilinx.mdwn index 9cff410ae..ba812e2e5 100644 --- a/HDL_workflow/nextpnr-xilinx.mdwn +++ b/HDL_workflow/nextpnr-xilinx.mdwn @@ -55,8 +55,8 @@ auto-preparation script here: git clone https://github.com/SymbiFlow/prjxray-db.git git clone https://github.com/gatecat/nextpnr-xilinx.git -# apt-get install -y build-essential autoconf make g++ bison flex gperf \ -# libreadline6-dev +""#apt-get install -y build-essential autoconf make g++ bison flex gperf"" +""libreadline6-dev"" ## Steps to compile Yosys @@ -95,7 +95,8 @@ auto-preparation script here: make -j$(nproc) make install install -d -m 0755 /usr/local/nx/build/tools - install -m 0755 tools/{bitread,bittool,frame_address_decoder,gen_part_base_yaml,segmatch,xc7frames2bit,xc7patch} /usr/local/nx/build/tools + install -m 0755 tools/{bitread,bittool,frame_address_decoder,gen_part_base_yaml,segmatch,xc7frames2bit,xc7patch} \ + /usr/local/nx/build/tools cd .. cp -dpr utils /usr/local/nx sed -i -e '/^# Vivado /,$d' /usr/local/nx/utils/environment.sh @@ -116,7 +117,8 @@ auto-preparation script here: ### Necessary software to install - apt-get install libboost-thread-dev libboost-iostreams-dev libboost-program-options-dev + apt-get install libboost-thread-dev libboost-iostreams-dev \ + libboost-program-options-dev ### Build nextpnr-xilinx @@ -137,7 +139,10 @@ auto-preparation script here: cd xilinx/examples cp -dpr arty-a35 arty-a100 cd arty-a100 - sed -i -e 's@xc7a35tcsg324-1@xc7a100tcsg324-1@g' -e 's@../../../nextpnr-xilinx@nextpnr-xilinx@g' -e 's@../../xc7a35t.bin@/usr/local/nx/share/xilinx/xc7a100t.bin@g' attosoc.sh + sed -i -e 's@xc7a35tcsg324-1@xc7a100tcsg324-1@g' \ + -e 's@../../../nextpnr-xilinx@nextpnr-xilinx@g' \ + -e 's@../../xc7a35t.bin@/usr/local/nx/share/xilinx/xc7a100t.bin@g' \ + attosoc.sh ./attosoc.sh # see file attosoc.bit; it is the bitstream file and if built then success -- 2.30.2