mirror of https://github.com/zachjs/sv2v.git
default to python3 for number gen.py
This commit is contained in:
parent
f868f06e88
commit
abbcaae02c
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
python gen.py 4 b 2 01xz > binary.sv
|
||||
python gen.py 2 o 8 01234567xz > octal.sv
|
||||
python gen.py 2 d 10 0123456789 > decimal.sv
|
||||
python gen.py 2 h 16 0123456789abcdefxz > hex.sv
|
||||
py=$(which python3 || which python)
|
||||
$py gen.py 4 b 2 01xz > binary.sv
|
||||
$py gen.py 2 o 8 01234567xz > octal.sv
|
||||
$py gen.py 2 d 10 0123456789 > decimal.sv
|
||||
$py gen.py 2 h 16 0123456789abcdefxz > hex.sv
|
||||
source ../lib/runner.sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue