Use migen.fhdl.std

This commit is contained in:
Sebastien Bourdeauducq 2013-05-26 18:07:26 +02:00
parent c13e573e9f
commit 759858f739
4 changed files with 5 additions and 8 deletions

3
README
View File

@ -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")

View File

@ -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):

View File

@ -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

View File

@ -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 *