Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d071adb40b2b
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5e9587bbbd46
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Sep 6, 2019

  1. Remove nmigen.lib from prelude.

    Currently it's just MultiReg, and there's no particularly good reason
    to privilege this specific CDC primitive so much.
    whitequark committed Sep 6, 2019
    Copy the full SHA
    5e9587b View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −0 examples/basic/cdc.py
  2. +0 −1 nmigen/__init__.py
  3. +0 −1 nmigen/lib/__init__.py
  4. +1 −0 nmigen/lib/fifo.py
1 change: 1 addition & 0 deletions examples/basic/cdc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from nmigen import *
from nmigen.lib.cdc import MultiReg
from nmigen.cli import main


1 change: 0 additions & 1 deletion nmigen/__init__.py
Original file line number Diff line number Diff line change
@@ -5,4 +5,3 @@
pass

from .hdl import *
from .lib import *
1 change: 0 additions & 1 deletion nmigen/lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from .cdc import MultiReg
1 change: 1 addition & 0 deletions nmigen/lib/fifo.py
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
from ..asserts import *
from ..tools import log2_int
from .coding import GrayEncoder
from .cdc import MultiReg


__all__ = ["FIFOInterface", "SyncFIFO", "SyncFIFOBuffered", "AsyncFIFO", "AsyncFIFOBuffered"]