Skip to content

Instantly share code, notes, and snippets.

@kost
Created January 1, 2020 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kost/2dd08b4dc9c1ada642daf55f9ccc0402 to your computer and use it in GitHub Desktop.
Save kost/2dd08b4dc9c1ada642daf55f9ccc0402 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Create symlink farm for emard make files.
ECPBINSDIR=$(dirname `which ecppack`)
mkdir -p /mt/scratch/tmp/openfpga/vhd2vl/src
ln -sf `which vhd2vl` /mt/scratch/tmp/openfpga/vhd2vl/src/vhd2vl
mkdir -p /mt/scratch/tmp/openfpga/yosys
ln -sf `which yosys` /mt/scratch/tmp/openfpga/yosys/yosys
mkdir -p /mt/scratch/tmp/openfpga/nextpnr
ln -sf `which nextpnr-ecp5` /mt/scratch/tmp/openfpga/nextpnr/nextpnr-ecp5
mkdir -p /mt/scratch/tmp/openfpga/prjtrellis
ln -sf $ECPBINSDIR /mt/scratch/tmp/openfpga/prjtrellis/libtrellis
#ln -sf `which ecppack` /mt/scratch/tmp/openfpga/prjtrellis/libtrellis/ecppack
#ln -sf `which ecpunpack` /mt/scratch/tmp/openfpga/prjtrellis/libtrellis/ecpunpack
#ln -sf `which ecppll` /mt/scratch/tmp/openfpga/prjtrellis/libtrellis/ecppll
ln -sf $ECPBINSDIR/../share/trellis/database /mt/scratch/tmp/openfpga/prjtrellis/database
# BIT2SVF ?= $(TRELLIS)/tools/bit_to_svf.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment