Chisel3-Intellij IDEA安裝Scala插件


 
后續開啟RISC-V開發相關內容。
 
RISC-V開發推薦使用Chisel編程語言。Chisel即Constructing Hardware in a Scala Embedded Language:
Chisel is an open-source hardware construction language developed at UC Berkeley that supports advanced hardware design using highly parameterized generators and layered domain-specific hardware languages.
  • Hardware construction language (not C to Gates)
  • Embedded in the Scala programming language
  • Algebraic construction and wiring
  • Abstract data types and interfaces
  • Bulk connections
  • Hierarchical + object oriented + functional construction
  • Highly parameterizable using metaprogramming in Scala
  • Supports layering of domain specific languages
  • Sizeable standard library including floating-point units
  • Multiple clock domains
  • Generates low-level Verilog designed to pass on to standard ASIC or FPGA tools
  • Open source on github with modified BSD license
  • Complete set of docs
  • Growing community of adopters
 
Chisel基於Scala,所以Chisel開發使用Scala開發環境,項目構建使用sbt。
Scala是基於Java虛擬機的語言。Java開發IDE首選Intellj IDEA。但是Intellj IDEA不是原生支持Scala,需要安裝插件。
 
安裝插件的方法可以網上搜一搜,這里介紹一個比較簡單的方法:
  1. 找到一個Scala源碼文件,使用IDEA打開:
 
  1. 根據提示,點擊安裝插件即開始下載安裝(國外網站,中國人需要耐心等待一會兒),安裝完成之后重啟即可。
 
 
Linux下Scala開發環境的安裝,網上有教程。
 
https://chisel.eecs.berkeley.edu 網站上提供了很多參考資料。
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM