mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
example: flow conversion
This commit is contained in:
parent
edf90870c2
commit
1ce4fbdb98
1 changed files with 6 additions and 0 deletions
6
examples/dataflow.py
Normal file
6
examples/dataflow.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
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))
|
Loading…
Reference in a new issue