Install - Yosys

Yosys ์„ค์น˜ํ•˜๊ธฐ

yosys ๋Š” ๋ฒ ๋ฆด๋กœ๊ทธ RTL ํ•ฉ์„ฑ ํˆด์ž…๋‹ˆ๋‹ค.

๊ฒฐ๊ณผ๋Š” ๊ฒŒ์ดํŠธ๋ฅผ ํ•ฉ์„ฑํ•˜๊ณ  ์‹ค์ œ ์นฉ์˜ ํ•˜๋“œ์›จ์–ด ๋„๋ฉด์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

yosys ๋„ ๊ธฐ๋Šฅ๊ณผ ์„ฑ๋Šฅ์ด ์šฐ์ˆ˜ํ•œ ์ตœ์‹  ๋ฆด๋ฆฌ์ฆˆ๋กœ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

yosys github setup ํ•ญ๋ชฉ์„ ์ฐธ๊ณ ํ•˜์‹œ๋ฉด ์ข‹์Šต๋‹ˆ๋‹ค.

Install dependency on ubuntu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$ sudo apt install build-essential clang bison flex \
	libreadline-dev gawk tcl-dev libffi-dev git \
	graphviz xdot pkg-config python3 libboost-system-dev \
	libboost-python-dev libboost-filesystem-dev zlib1g-dev

# ์œ„์˜ ํŒจํ‚ค์ง€ ๋ง๊ณ ๋„ ์ถ”๊ฐ€์ ์œผ๋กœ ์„ค์น˜ํ–ˆ๋˜ ํŒจํ‚ค์ง€
$ sudo apt install tcl8.6-dev gawk

$ git clone https://github.com/YosysHQ/yosys
# == git clone https://github.com/cliffordwolf/yosys.git

~/yosys$ git tag
yosys-0.2.0
yosys-0.3.0
yosys-0.4
yosys-0.5
yosys-0.6
yosys-0.7
yosys-0.8
yosys-0.9

git checkout yosys-0.9
sudo make install