Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/wheels/cibw_before_all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -x

# Build-time dependencies
Expand Down
4 changes: 2 additions & 2 deletions docs/source/using_yosys/bugpoint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ is still valid.
:caption: Example test.sh for C-Reduce
:name: egtest

#!/bin/bash
#!/usr/bin/env bash
verilator --lint-only test.v &&/
yosys -p 'logger -expect error "unsupported" 1; read_verilog test.v'

Expand Down Expand Up @@ -333,7 +333,7 @@ an input argument: ``sv-bugpoint outDir/ test.sh test.v``
.. code-block:: bash
:caption: Example test.sh for sv-bugpoint

#!/bin/bash
#!/usr/bin/env bash
verilator --lint-only $1 &&/
yosys -p "logger -expect error \"unsupported\" 1; read_verilog $1"

Expand Down
2 changes: 1 addition & 1 deletion examples/aiger/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in the PATH. E.g. extract the release to /usr/local/libexec/super_prove
and then create a /usr/local/bin/super_prove file with the following
contents (and "chmod +x" that file):

#!/bin/bash
#!/usr/bin/env bash
exec /usr/local/libexec/super_prove/bin/super_prove.sh "$@"

The "demo.sh" script also expects the "z3" SMT2 solver in the PATH for
Expand Down
2 changes: 1 addition & 1 deletion examples/aiger/demo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
yosys -p '
read_verilog -formal demo.v
Expand Down
2 changes: 1 addition & 1 deletion examples/anlogic/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
yosys demo.ys
$TD_HOME/bin/td build.tcl
2 changes: 1 addition & 1 deletion examples/basys3/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
yosys run_yosys.ys
vivado -nolog -nojournal -mode batch -source run_vivado.tcl
vivado -nolog -nojournal -mode batch -source run_prog.tcl
2 changes: 1 addition & 1 deletion examples/cmos/testbench.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion examples/cmos/testbench_digital.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion examples/gowin/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
yosys -p "synth_gowin -top demo -vout demo_syn.v" demo.v
$GOWIN_HOME/bin/gowin -d demo_syn.v -cst demo.cst -sdc demo.sdc -p GW1NR-9-QFN88-6 -pn GW1NR-LV9QN88C6/I5 -cfg device.cfg -bit -tr -ph -timing -gpa -rpt -warning_all
Expand Down
2 changes: 1 addition & 1 deletion examples/igloo2/runme.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
yosys -p 'synth_sf2 -top example -edif netlist.edn -vlog netlist.vm' example.v
export LM_LICENSE_FILE=${LM_LICENSE_FILE:-1702@localhost}
Expand Down
2 changes: 1 addition & 1 deletion examples/intel/DE2i-150/quartus_compile/runme_quartus
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

export REV="de2i"

Expand Down
2 changes: 1 addition & 1 deletion examples/intel/MAX10/runme_postsynth
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

iverilog -D POST_IMPL -o verif_post -s tb_top tb_top.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
vvp -N verif_post
Expand Down
2 changes: 1 addition & 1 deletion examples/intel/asicworld_lfsr/run_cycloneiv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/env bash
#!/usr/bin/env bash
yosys -p "synth_intel -family cycloneiv -top lfsr_updown -vqm top.vqm" lfsr_updown.v
2 changes: 1 addition & 1 deletion examples/intel/asicworld_lfsr/run_max10
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/env bash
#!/usr/bin/env bash
yosys -p "synth_intel -family max10 -top lfsr_updown -vqm top.vqm" lfsr_updown.v
2 changes: 1 addition & 1 deletion examples/intel/asicworld_lfsr/runme_postsynth
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

iverilog -D POST_IMPL -o verif_post -s tb lfsr_updown_tb.v top.vqm $(yosys-config --datdir/altera_intel/max10/cells_comb_max10.v)
vvp -N verif_post
Expand Down
2 changes: 1 addition & 1 deletion examples/intel/asicworld_lfsr/runme_presynth
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

iverilog -o presynth lfsr_updown_tb.v lfsr_updown.v &&\

Expand Down
2 changes: 1 addition & 1 deletion examples/mimas2/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e
yosys run_yosys.ys
edif2ngd example.edif
Expand Down
2 changes: 1 addition & 1 deletion misc/create_vcxsrc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex
vcxsrc="$1"
Expand Down
2 changes: 1 addition & 1 deletion techlibs/sf2/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You'd better to write a simple script, like this one (assuming the top module
is top):

----------- run_yosys.sh --------------
#!/bin/sh
#!/usr/bin/env sh

set -e

Expand Down
2 changes: 1 addition & 1 deletion tests/aiger/generate_mk.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def create_tests():
"rm -f aigmap.err"
]))

extra = [ f"ABC ?= {gen_tests_makefile.yosys_basedir}/yosys-abc", "SHELL := /bin/bash" ]
extra = [ f"ABC ?= {gen_tests_makefile.yosys_basedir}/yosys-abc", "SHELL := /usr/bin/env bash" ]

gen_tests_makefile.generate_custom(create_tests, extra)
2 changes: 1 addition & 1 deletion tests/various/ezcmdline_dummy_solver
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
# Dummy SAT solver for ezCmdlineSAT tests.
# Accepts exactly two CNF shapes:
# - SAT: p cnf 1 1; clause: "1 0" -> exits 10 with v 1
Expand Down
Loading