Self-Motivated Wu
Self-Motivated Wu

Reputation: 407

Can chisel implement printf to a file?

Chisel provides the printf function for debugging purposes, when generating verilog, it becomes fwrite system function. How to use verilog simulation to output data to a file instead of the terminal only when the chisel code is modified. Can chisel's printf function do this?

Upvotes: 3

Views: 292

Answers (1)

Chick Markley
Chick Markley

Reputation: 4051

The short answer appears to be no. But there are two issues filed about this

Can chisel implement printf to a file? #1290

Feature Request: Allow printfs to go to different file descriptors #1287

It might be a good PR to submit.

Upvotes: 1

Related Questions