1. 程式人生 > >Chisel3-Intellij IDEA安裝Scala插件

Chisel3-Intellij IDEA安裝Scala插件

ado ria shee stand img author ini neu 編程語言

後續開啟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. 根據提示,點擊安裝插件即開始下載安裝(需要耐心等待一會兒),安裝完成之後重啟即可。
https://chisel.eecs.berkeley.edu 網站上提供了很多參考資料。

Chisel3-Intellij IDEA安裝Scala插件