# Yosys 安裝 [新網站](https://yosyshq.net/yosys/about.html) [舊網站](http://bygone.clairexen.net/yosys/download.html) [github](https://github.com/YosysHQ/yosys) ## 安裝指南 1. 舊網站側分欄選擇Download ![](https://i.imgur.com/iUhnvkH.png) 2. 下載後放入C或D槽 ![](https://i.imgur.com/XoPmUlr.png) 3. 新增yosys.exe所在的資料夾路徑至環境變數 ![](https://i.imgur.com/6EwUzmM.png) 4. 終端機輸入yosys,若跳出以下畫面即可正常執行 ![](https://i.imgur.com/N2XdCjv.png) 5. 參考指令 [github上有詳細說明](https://github.com/YosysHQ/yosys) ``` # read design read_verilog PE.v hierarchy -top pe #writing the design to the console in Yosys's internal format write_json # the high-level stuff proc; opt; fsm; opt; memory; opt #display design netlist using xdot show # mapping to internal cell library techmap; opt #write design netlist to a new Verilog file write_verilog PE_synth.v ```