examples/fir: print Verilog source
This commit is contained in:
parent
b00e8fa826
commit
d280723618
|
@ -77,4 +77,8 @@ def main():
|
||||||
plt.plot(out_signals)
|
plt.plot(out_signals)
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
|
# Print the Verilog source for the filter.
|
||||||
|
print(verilog.convert(fir.get_fragment(),
|
||||||
|
ios={fir.i, fir.o}))
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue