Use migen.fhdl.std
This commit is contained in:
parent
c13e573e9f
commit
759858f739
3
README
3
README
|
@ -3,8 +3,7 @@ Mibuild (Milkymist Build system)
|
||||||
|
|
||||||
Quick intro:
|
Quick intro:
|
||||||
|
|
||||||
from migen.fhdl.structure import *
|
from migen.fhdl.std import *
|
||||||
from migen.fhdl.module import Module
|
|
||||||
from mibuild.platforms import m1
|
from mibuild.platforms import m1
|
||||||
plat = m1.Platform()
|
plat = m1.Platform()
|
||||||
led = plat.request("user_led")
|
led = plat.request("user_led")
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from migen.fhdl.structure import *
|
from migen.fhdl.std import *
|
||||||
from migen.fhdl.module import Module
|
|
||||||
|
|
||||||
class SimpleCRG(Module):
|
class SimpleCRG(Module):
|
||||||
def __init__(self, platform, clk_name, rst_name, rst_invert=False):
|
def __init__(self, platform, clk_name, rst_name, rst_invert=False):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from copy import copy
|
from copy import copy
|
||||||
import os, argparse
|
import os, argparse
|
||||||
|
|
||||||
from migen.fhdl.structure import *
|
from migen.fhdl.std import *
|
||||||
from migen.genlib.record import Record
|
from migen.genlib.record import Record
|
||||||
from migen.fhdl import verilog
|
from migen.fhdl import verilog
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
import os, struct, subprocess, sys
|
import os, struct, subprocess, sys
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from migen.fhdl.structure import *
|
from migen.fhdl.std import *
|
||||||
from migen.fhdl.specials import Instance, SynthesisDirective
|
from migen.fhdl.specials import SynthesisDirective
|
||||||
from migen.fhdl.module import Module
|
|
||||||
from migen.genlib.cdc import *
|
from migen.genlib.cdc import *
|
||||||
|
|
||||||
from mibuild.generic_platform import *
|
from mibuild.generic_platform import *
|
||||||
|
|
Loading…
Reference in New Issue