Skip to content

davidmlw/example-chisel-wake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chisel Example by Wit and Wake

SBT flow

  • This is simple sbt project for Chisel3, which can be run as:
sbt 'testOnly Syntax.NullTester'

So how can we just run this in Wake flow?

Wake flow

Install Wit

git clone git@github.com:sifive/wit.git </path/to/wit>

Install Wake

Currently use this link https://1288-148184315-gh.circle-artifacts.com/0/tmp/workspace/ubuntu_18_04/wake_0.15.0-1_amd64.deb

wget https://1288-148184315-gh.circle-artifacts.com/0/tmp/workspace/ubuntu_18_04/wake_0.15.0-1_amd64.deb
sudo dpkg -i wake_0.15.0-1_amd64.deb

Setup environment variables

export WAKE_PATH=</path/to/java>
export PATH=</path/to/wit>:</path/to/java>:$PATH

Get the repo

wit init example-chisel-wake -a git@github.com:davidmlw/example-chisel-wake.git

Init the wake project

cd example-chisel-wake
wake --init .

Run the project

wake 'runTest "syntax.NullTester"'

Try different error types

uncomment lines in src/test/Syntax.scala and check different results.

//  assert(0)
//  assert(false)

About

Example For Wake to run a Chisel design and unit test.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages