mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Support filename rewrite in backends
Signed-off-by: Ben Widawsky <[email protected]>
This commit is contained in:
@@ -336,6 +336,7 @@ struct ProtobufPass : public Pass {
|
||||
std::stringstream buf;
|
||||
|
||||
if (!filename.empty()) {
|
||||
rewrite_filename(filename);
|
||||
std::ofstream *ff = new std::ofstream;
|
||||
ff->open(filename.c_str(), std::ofstream::trunc);
|
||||
if (ff->fail()) {
|
||||
|
||||
Reference in New Issue
Block a user