Install GNU toolchain
- GNU binutils-2.18.50
- GNU GCC-4.2.2
- GNU GDB-6.8
- uClibc-0.9.29
- Linux-2.6.24
- BusyBox-1.7.5
安裝 GNU toolchain 4 Linux env
1. 用 script 安裝
The script can be downloaded
here.
% sh MOF_ORSOC_TCHN_v5c_or32-elf.sh
如果沒有預設路徑, default 會在解壓縮的目錄下.
會產生
or32-build
orpsocv2
or32-elf
...
2. 或者是下載以compile好的bin檔 , "Precompiled Toolchains"
OpenRISC toolchain including GCC-4.2.2 with uClibc-0.9.29, GDB-6.8 and or1ksim-0.3.0, compiled under Ubuntu x86/i686 (32-bit)
3. 加入環境變數到 ~/.basrc
export PATH=$PATH:/home/sean/prj/systemc/or32-elf/bin:/opt/or1ksim/bin
Install SystemC
1. SystemC
2. SystemC TLM2.0
3 export Systemc to ~/.basrc
export SYSTEMC_HOME=/home/sean/prj/systemc/systemc-2.2.0
export TLM_HOME=/home/sean/prj/systemc/TLM-2009-07-15
you can ref it : how to install Systemc in Cygwin platform
Eclipse + SystemC + Cygwin
Other Install
- Icarus Verilog
- System-Perl
- Verilog-Perl
- verilator
for Cycle accurate and event driver simulation
Ref:
http://opencores.org/openrisc,orpsocv2#overview
沒有留言:
張貼留言