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: 790eb05a920b
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: 1580b6e542a5
Choose a head ref
  • 3 commits
  • 9 files changed
  • 1 contributor

Commits on Dec 15, 2018

  1. Copy the full SHA
    f603b73 View commit details
  2. hdl: appropriately rename tests. NFC.

    whitequark committed Dec 15, 2018
    Copy the full SHA
    c6e7a93 View commit details
  3. Lower Python version requirement to 3.6.

    whitequark committed Dec 15, 2018
    Copy the full SHA
    1580b6e View commit details
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist: xenial
language: python
python:
- "3.6"
- "3.7"
install:
- pip install coverage codecov pyvcd
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ See the [doc/](doc/) folder for more technical information.

nMigen is a direct descendant of [Migen](https://m-labs.hk/migen) rewritten from scratch to address many issues that became clear in the many years Migen has been used in production. nMigen provides an extensive compatibility layer that makes it possible to build and simulate most Migen designs unmodified, as well as integrate modules written for Migen and nMigen.

nMigen is designed for Python 3.7 and newer. Note that nMigen is **not** spelled nMiGen.
nMigen is designed for Python 3.6 and newer. Note that nMigen is **not** spelled nMiGen.

### Introduction

14 changes: 8 additions & 6 deletions nmigen/hdl/ast.py
Original file line number Diff line number Diff line change
@@ -606,10 +606,11 @@ def __repr__(self):


class ClockSignal(Value):
"""Clock signal for a given clock domain.
"""Clock signal for a clock domain.
``ClockSignal`` s for a given clock domain can be retrieved multiple
times. They all ultimately refer to the same signal.
Any ``ClockSignal`` is equivalent to ``cd.clk`` for a clock domain with the corresponding name.
All of these signals ultimately refer to the same signal, but they can be manipulated
independently of the clock domain, even before the clock domain is created.
Parameters
----------
@@ -633,10 +634,11 @@ def __repr__(self):


class ResetSignal(Value):
"""Reset signal for a given clock domain
"""Reset signal for a clock domain.
``ResetSignal`` s for a given clock domain can be retrieved multiple
times. They all ultimately refer to the same signal.
Any ``ResetSignal`` is equivalent to ``cd.rst`` for a clock domain with the corresponding name.
All of these signals ultimately refer to the same signal, but they can be manipulated
independently of the clock domain, even before the clock domain is created.
Parameters
----------
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
from setuptools import setup, find_packages


if sys.version_info[:3] < (3, 7):
raise SystemExit("nMigen requires Python 3.7+")
if sys.version_info[:3] < (3, 6):
raise SystemExit("nMigen requires Python 3.6+")


setup(