amaranth icon indicating copy to clipboard operation
amaranth copied to clipboard

A modern hardware definition language and toolchain based on Python

Results 233 amaranth issues
Sort by recently updated
recently updated
newest added

Fixes #764. Things to look at in the review: * Group names for views and interfaces. The current code uses "view" and "interface". Maybe the name should reference a layout/signature...

* RFC PR: https://github.com/amaranth-lang/rfcs/pull/36 * Implementation PR: https://github.com/amaranth-lang/amaranth/pull/1344 * Documentation PR: https://github.com/amaranth-lang/amaranth/pull/1374 * Removal of deprecation PR: N/A

feature

`Value.implies` is a rarely used and not well-known counterpart to `__or__`, `__xor__`, etc operators. It is defined as: ```python def implies(premise, conclusion): return ~premise | conclusion ``` It was originally...

improvement

This protects against a beginner mistake where `m` is assigned to e.g. an attribute and used out of scope. Elaboration should consume the module and make it immutable.

improvement

Hello! Reporting a Pyright error with `Module.If/Else/Elif`. This is reproducible with the following example: ```python from amaranth import * class Thing(Elaboratable): def __init__(self) -> None: self.a = Signal(Shape(1)) self.b =...

question

- RFC PR: amaranth-lang/rfcs#55 - Implementation PRs: - [x] `*Port` classes: #1214 - [x] `*Buffer` classes: #1215 - [x] Using `*Buffer` in default platform: #1279 - [x] iCE40 support: #1281...

feature