examples/fir: print Verilog source

This commit is contained in:
Sebastien Bourdeauducq 2012-06-08 14:00:49 +02:00
parent b00e8fa826
commit d280723618
1 changed files with 4 additions and 0 deletions

View File

@ -76,5 +76,9 @@ def main():
plt.plot(in_signals)
plt.plot(out_signals)
plt.show()
# Print the Verilog source for the filter.
print(verilog.convert(fir.get_fragment(),
ios={fir.i, fir.o}))
main()