Test harness

36 views
Skip to first unread message

Aniket P Sharma

unread,
Sep 2, 2014, 12:39:19 AM9/2/14
to chisel...@googlegroups.com
I want to port the 1-stage processor on to my fpga. Can anyone guide me how to write the test harness ? Where should i start ? Any suggestion will be helpful. Thank You.

Rupert Smith

unread,
Sep 2, 2014, 10:30:13 AM9/2/14
to chisel...@googlegroups.com
Hi,

I got quite into writing tests with scalacheck and scalatest. Have a look here under the numbers_chisel module in particular:

https://github.com/rupertlssmith/numbers

Basically, I am using features of Scala to help generate test cases, which are then run through the simulator. Perhaps not exactly what you are looking for but might give you some ideas.

Rupert
Reply all
Reply to author
Forward
0 new messages