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
base: 765043199625
Choose a base ref
...
head repository: m-labs/nmigen
compare: 67650214b703
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Dec 4, 2019

  1. hdl.ast: Fix width for unary minus operator on signed argument.

    To properly represent a negation of a signed X-bit quantity we may, in
    general, need a signed (X+1)-bit signal — for example, negation of
    3-bit -4 is 4, which is not representable in signed 3 bits.
    mwkmwkmwk authored and whitequark committed Dec 4, 2019
    Copy the full SHA
    6765021 View commit details
    Browse the repository at this point in the history