YOSYS(1)
π YOSYS π
bestie. okay so. This page is the quick lil' rundown of the yosys command, from the Yosys Open SYnthesis Suite, living in your friendly neighborhood General Commands Manual. She's a real one. Let's get into it. π¦
β¨ SYNOPSIS β¨
yosys [options] <infile>
That's it. That's the whole vibe. Options, then an input file. Slay. π
πΈ DESCRIPTION πΈ
Okay so real talk, this manual page is just the brief version of what yosys does. It documents the yosys command, short and sweet.
And what does yosys do? She synthesizes RTL to gate-level logic. That's the whole job. RTL in, gate-level logic out. No cap. π
π OPTIONS π
A lil' summary of all the options, bestie. Every single one. Yes, all of them. We don't skip. π
-Qβ suppresses printing of the banner (that's the copyright, disclaimer, and version). Not me silencing the intro music. π€«-Tβ suppresses printing of the footer (log hash, version, timing statistics). Bye bye outro. π-qβ quiet operation, so only error messages go to the console. Use this option twice and warning messages get quieted too. Two-qs = extra silent, fr fr.-v <level>β prints log headers up to level<level>to the console. Heads up: this implies-q. π«’-tβ annotates all log messages with a time stamp. Clocking everything, periodt. β°-dβ prints more detailed timing stats when you exit. The receipts. π§Ύ-l logfileβ writes log messages to the specified file.-L logfileβ like-l, but it opens the log file in line buffered mode.-o outfileβ writes the design to the specified file on exit.-b backendβ uses this backend for the output file you specified on the command line.-f frontendβ uses the specified frontend for the input files on the command line.-Hβ prints the command list. The menu, basically. π-h commandβ prints the help message for the specified command.-s scriptfileβ executes the commands in the script file.-c tcl_scriptfileβ executes the commands in the tcl script file. (peephelp tclfor the details, iykyk β¨)-p commandβ executes the commands.-m module_fileβ loads the specified module (aka a plugin). Plug her in. π-Xβ enables tracing of core data structure changes. This one is for debugging. π-Mβ will slightly randomize allocated pointer addresses. Also for debugging. π²-Aβ will callabort()at the end of the script. Also for debugging, and yes bestie, that's dramatic on purpose. π-D <header_id>[:<filename>]β dumps the design when printing the specified log header, into a file. If you don't specify a filename,yosys_dump_<header_id>.ilis used instead. And if you use'ALL'as the<header_id>, it dumps at every header. Every. Single. One. π-W regexβ if a warning message matches the regex, it gets printed as a regular message instead. Glow-up for warnings. β¨-e regexβ if a warning message matches the regex, it gets printed as an error message instead, and the tool terminates with a nonzero return code. So like, that warning just got promoted and it's not playing. π¨-Vβ prints version information and exits.-E depsfileβ writes a Makefile dependencies file with the in- and output file names.-Sβ this option is an alias for 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
Iconic shortcut behavior. πββοΈπ¨
π¦ USAGE π¦
Okay so for more complex synthesis jobs, the recommendation is to use the read_* and write_* commands in a script file instead of specifying input and output files right there on the command line. Trust the process. π
And when you specify no commands, no script files, and no input files on the command line? yosys automatically enters the interactive command mode. Like she just pulls up a chair and asks what we're doing today. πͺβ¨
Use the 'help' command to get information on the individual commands. She's helpful like that. π«Ά
π SEE ALSO π
The friend group. Go say hi. π
π AUTHOR π
yosys was written by Clifford Wolf <clifford@clifford.at>. Legend behavior. π
This manual page was written by Ruben Undheim <ruben.undheim@gmail.com>, for the Debian project (and it may be used by others too, bestie β sharing is caring). π
And that's the whole page, babe! This one's dated <strong>October 17, 2018</strong>, and it came to you straight from the Yosys source/version life β go off, manual page. πβ¨πΈπ¦π
π¦ where this page comes from
- debian trixie: yosys 0.52-2 Β· ISC
- fedora 43: yosys 0.57-2.20250904gitcec48c6.fc43 Β· ISC and MIT
- fedora 43: yosys 0.63-1.20260304git3bc26ff.fc43 Β· ISC and MIT
- fedora 44: yosys 0.63-1.20260304git3bc26ff.fc44 Β· ISC and MIT
- fedora 44: yosys 0.67-2.20260713git22c15a7.fc44 Β· ISC and MIT
- ubuntu noble: yosys 0.33-5build2 Β· ISC
- ubuntu resolute: yosys 0.52-2 Β· ISC
- ubuntu stonking: yosys 0.66-1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms