Skip to content

适用于清华大学计算机系计算机组成原理 (COD, 计组) 课程实验的 SpinalHDL 模板(非官方)

Notifications You must be signed in to change notification settings

tfia/cod25-template-spinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cod25-template-spinal

Thinpad_top in Scala with SpinalHDL. Lab0 was completed as an example.

Build with mill.

To generate SystemVerilog:

mill cod25.runMain cod25.lab0.GenerateLab0

To run simulation (needs Verilator installed):

mill cod25.runMain cod25.lab0.TestLab0

Notes on Verilator & Simulation

I suggest using Verilator 4.228 for simulation, since Verilator 5 and later has some bugs related to memory working with current SpinalHDL version in this repository. If you see JVM OutOfMemory error, segmentation fault, etc during simulation, downgrading to Verilator 4.228 may help.

Follow the instruction here to build a specified release version of Verilator.

About

适用于清华大学计算机系计算机组成原理 (COD, 计组) 课程实验的 SpinalHDL 模板(非官方)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published