Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can chisel implement printf to a file?

Tags:

chisel

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?

like image 825
Self-Motivated Wu Avatar asked Mar 28 '26 20:03

Self-Motivated Wu


1 Answers

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.

like image 164
Chick Markley Avatar answered Apr 02 '26 20:04

Chick Markley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!