litex/examples/dataflow.py
Sebastien Bourdeauducq 1ce4fbdb98 example: flow conversion
2011-12-23 00:36:07 +01:00

6 lines
172 B
Python

from migen.fhdl import verilog
from migen.flow.ala import *
act = Divider(32)
frag = act.get_control_fragment() + act.get_process_fragment()
print(verilog.Convert(frag))