uwsampl / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
1 stars 1 forks source link

Allow `write_lakeroad` backend to write output to file instead of stdout. #9

Closed thiskappaisgrey closed 9 months ago

thiskappaisgrey commented 9 months ago

Add code to allow write_lakeroad backend to write to file instead of stdout.

Example (in example.ys):

read_verilog <<EOF
module test(input [1:0] a, input b, output o);
  assign o = a & b;
endmodule
EOF

# Write output to file instead of stdout
write_lakeroad file.egg

@gussmith23

gussmith23 commented 9 months ago

Thanks!! A few comments and then we can merge.

gussmith23 commented 9 months ago

Bump on this! Would love to merge it and don't want it to go stale.

thiskappaisgrey commented 9 months ago

@gussmith23 sorry for forgetting! I was busy with TA duties for the past couple of days (end of quarter is always crazy).

gussmith23 commented 9 months ago

@gussmith23 sorry for forgetting! I was busy with TA duties for the past couple of days (end of quarter is always crazy).

No problem at all. Classes and TAing is more important! Just wanted to make sure it didn't get forgotten. Congrats on finishing your quarter!