Wrapping C++/Verilog code in chisel.

230 views
Skip to first unread message

Arka Maity

unread,
Jul 1, 2015, 7:06:39 AM7/1/15
to chisel...@googlegroups.com
Hi,
     Is it possible to wrap C++ code within a chisel module (like we do in bluespec)
Thanks and regards
Arka

Jonathan Bachrach

unread,
Jul 1, 2015, 11:37:59 PM7/1/15
to chisel...@googlegroups.com
no, not at this time.  currently in chisel2.x, you can emit c++ and drive the simulation yourself from a C++ harness that you write yourself.  the c++ emulator header presents an api.  this is how they do it in the rocket chip generator.  finally, we are developing a framework for doing simulation with many different kinds of simulation elements which should help moving forward.  

--
You received this message because you are subscribed to the Google Groups "chisel-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users...@googlegroups.com.
To post to this group, send email to chisel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chisel-users/78b12526-2421-4662-bbb4-de942058e810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Muzaffer Kal

unread,
Jul 6, 2015, 2:08:55 AM7/6/15
to chisel...@googlegroups.com
This is also of interest to me. I am in process of writing some dsp/decoding code which interfaces to some existing pcs in Verilog.
My initial thought was to generate C++ and interface that to the SystemVerilog simulator with DPI. Any other options at this point?

Jonathan Bachrach

unread,
Jul 10, 2015, 9:02:44 PM7/10/15
to chisel...@googlegroups.com
no that's pretty much the option now.  we are working really hard this summer to come up with a much better simulation story.

--
You received this message because you are subscribed to the Google Groups "chisel-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users...@googlegroups.com.
To post to this group, send email to chisel...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages