Yosys Open SYnthesis Suite - FreeBSD
Yosys on FreeBSD
Links: Yosys,
local links: c1 - FreeBSD,
back to main Yosys page.
History
2018-07-14: c1 - ada2p2 - Yosys - write a command list and some more
tingo@kg-core1$ yosys -QH > yosys_command_list.txt
help
tingo@kg-core1$ yosys --help > yosys_help_output.txt
help on synth_ice40 command
tingo@kg-core1$ yosys -h synth_ice40 > yosys_synth_ice40.txt
ok.
2018-07-14: c1 - ada2p2 - Yosys - help
tingo@kg-core1$ yosys --help Usage: yosys [options] [<infile> [..]] -Q suppress printing of banner (copyright, disclaimer, version) -T suppress printing of footer (log hash, version, timing statistics) -q quiet operation. only write warnings and error messages to console use this option twice to also quiet warning messages -v <level> print log headers up to level <level> to the console. (this implies -q for everything except the 'End of script.' message.) -t annotate all log messages with a time stamp -d print more detailed timing stats at exit -l logfile write log messages to the specified file -L logfile like -l but open log file in line buffered mode -o outfile write the design to the specified file on exit -b backend use this backend for the output file specified on the command line -f frontend use the specified frontend for the input files on the command line -H print the command list -h command print the help message for the specified command -s scriptfile execute the commands in the script file -c tcl_scriptfile execute the commands in the tcl script file (see 'help tcl' for details) -p command execute the commands -m module_file load the specified module (aka plugin) -X enable tracing of core data structure changes. for debugging -M will slightly randomize allocated pointer addresses. for debugging -A will call abort() at the end of the script. for debugging -D <header_id>[:<filename>] dump the design when printing the specified log header to a file. yosys_dump_<header_id>.il is used as filename if none is specified. Use 'ALL' as <header_id> to dump at every header. -W regex print a warning for all log messages matching the regex. -w regex if a warning message matches the regex, it is printed as regular message instead. -e regex if a warning message matches the regex, it is printed as error message instead and the tool terminates with a nonzero return code. -E <depsfile> write a Makefile dependencies file with in- and output file names -V print version information and exit The option -S is an shortcut for calling the "synth" command, a default script for transforming the Verilog input to a gate-level netlist. For example: yosys -o output.blif -S input.v For more complex synthesis jobs it is recommended to use the read_* and write_* commands in a script file instead of specifying input and output files on the command line. When no commands, script files or input files are specified on the command line, yosys automatically enters the interactive command mode. Use the 'help' command to get information on the individual commands.
ok.
2018-07-14: c1 - ada2p2 - Yosys - test
tingo@kg-core1$ yosys /----------------------------------------------------------------------------\ | | | yosys -- Yosys Open SYnthesis Suite | | | | Copyright (C) 2012 - 2018 Clifford Wolf <clifford@clifford.at> | | | | Permission to use, copy, modify, and/or distribute this software for any | | purpose with or without fee is hereby granted, provided that the above | | copyright notice and this permission notice appear in all copies. | | | | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | | | \----------------------------------------------------------------------------/ Yosys 0.7+ (git sha1 UNKNOWN, clang 3.4.1 -O2 -fstack-protector -fno-strict-aliasing -fPIC -Os) yosys> exit End of script. Logfile hash: da39a3ee5e CPU: user 0.00s system 0.01s, MEM: 45.25 MB total, 13.43 MB resident Yosys 0.7+ (git sha1 UNKNOWN, clang 3.4.1 -O2 -fstack-protector -fno-strict-aliasing -fPIC -Os) Time spent: no commands executed
ok
2018-07-14: c1 - ada2p2 - ports - I installed Yosys from ports on my FreeBSD workstation (c1).
Jul 14 11:50:57 kg-core1 pkg-static: abc-g20180420 installed Jul 14 11:51:20 kg-core1 pkg-static: libsigsegv-2.12 installed Jul 14 11:51:30 kg-core1 pkg-static: gawk-4.1.4_2 installed Jul 14 11:54:31 kg-core1 pkg-static: yosys-0.7.783 installed
the machine runs
tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 10.4-STABLE FreeBSD 10.4-STABLE #1 r329982: Sun Feb 25 20:35:06 CET 2018 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
ok.