chisel - 1: Windows下chisel工具安装和环境建立

Windows下chisel工具安装和环境建立: 
1,下载jdk_8.0.1310.11_64.exe或jdk-8u191-windows-x64.exe并安装好jdk,并设置环境变量。
   jdk系统环境变量的设置,参考: http://www.onlinedown.net/soft/61003.htm   

2, 下载sbt-1.2.8.msi并安装。将sbt安装目录下的bin文件夹加到系统环境变量Path中。
   sbt官网:https://www.scala-sbt.org/download.html
    
   如:经过1和2设置,在系统环境变量Path中应当已加了这些路径...D:\Program Files (x86)\sbt\bin;D:\Program Files\Java
\jdk1.8.0_191\bin;D:\Program Files\Java\jdk1.8.0_191\jre\bin;...

3,拷贝make.exe到sbt的bin目录,这是为了使用makefile来编译chisel

   下载make.exe参见:https://download.csdn.net/download/tbzj_2000/11757431

4,下载并解压缩chisel-examples-master。
   https://github.com/schoeberl/chisel-examples.git 
   从命令行进入解压后的目录,进入到build.sbt文件所在的目录,输入make alu后回车,运行成功后,会产生一个generated目录,进去
看就是生成的verilog文件。(详细见makefile以及代码)

注意:chisel3的安装在执行make alu时,已通过bulid.sbt的配置,在运行时自动从chisel官网下载了。

你可能感兴趣的:(chisel,HDL)