From: Andrey Miroshnikov Date: Thu, 14 Oct 2021 10:13:32 +0000 (+0100) Subject: learning nmigen: Added link to mail list thread, a bit more info on yosys show. X-Git-Tag: opf_rfc_ls005_v1~3634 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11181d7f3cfef03377372732e1da5d55a3e8ec1b;p=libreriscv.git learning nmigen: Added link to mail list thread, a bit more info on yosys show. --- diff --git a/docs/learning_nmigen.mdwn b/docs/learning_nmigen.mdwn index 82b8e9c2e..795a7c72b 100644 --- a/docs/learning_nmigen.mdwn +++ b/docs/learning_nmigen.mdwn @@ -1,6 +1,7 @@ # Learning nmigen -* links to community +* Link to the mail thread: +* Links to community * Useful counter tutorial (gtkwave and verilog) for latest nmigen * Robert Baruch's nmigen tutorials are really good: @@ -38,7 +39,9 @@ Commands: ## Block Digram with Yosys -1. Open yosys in interactive mode and load the generated verilog file. Calling "show" should generate the diagram .dot file (as a temp file "~/.yosys_show.dot") and open it using xdot. *You may need to install xdot separately with apt*. Xdot is **interactive** (you can click on blocks and nodes!). +Open yosys in interactive mode and load the generated verilog file. Calling "show" should generate the diagram .dot file (as a temp file "~/.yosys_show.dot") and open it using xdot. For multi-level modules, you can specify the level of hierarchy by specifying the name of the module. For example "show top" will display the diagram of the top-level (without the underlying the details of the sub-modules). + +*You may need to install xdot separately with apt*. Xdot is **interactive** (you can click on blocks and nodes!). Yosys commands: