Skip to content

Commit e408d20

Browse files
committed
Exporting stats
1 parent c947189 commit e408d20

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

examples/baremetal/yosys_template.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ synth -top {{ top }}
1212
# Technology mapping
1313
synth_ice40 -top {{ top }}
1414

15+
# Get stats
16+
tee -o {{ name }}_stats.json stat -top {{ top }} -json
17+
1518
# Write synthesized netlist as Verilog
1619
write_verilog -noattr {{ name }}.vg

0 commit comments

Comments
 (0)