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:
|
||||
|
||||
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")
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
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):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
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 *
|
||||
|
|
Loading…
Reference in New Issue