Quick intro:
-from migen.fhdl.structure import *
-from migen.fhdl.module import Module
+from migen.fhdl.std import *
from mibuild.platforms import m1
plat = m1.Platform()
led = plat.request("user_led")
-from migen.fhdl.structure import *
-from migen.fhdl.module import Module
+from migen.fhdl.std import *
class SimpleCRG(Module):
def __init__(self, platform, clk_name, rst_name, rst_invert=False):
from copy import copy
import os, argparse
-from migen.fhdl.structure import *
+from migen.fhdl.std import *
from migen.genlib.record import Record
from migen.fhdl import verilog
import os, struct, subprocess, sys
from decimal import Decimal
-from migen.fhdl.structure import *
-from migen.fhdl.specials import Instance, SynthesisDirective
-from migen.fhdl.module import Module
+from migen.fhdl.std import *
+from migen.fhdl.specials import SynthesisDirective
from migen.genlib.cdc import *
from mibuild.generic_platform import *