Jean-François Nguyen
496432edaa
Implement RFC 30: Component metadata.
...
Co-authored-by: Catherine <whitequark@whitequark.org>
2024-05-10 13:17:24 +00:00
Wanda
8bf4f77616
sim: use Format.*
for VCD output, remove hdl._repr
.
...
This also changes `decoder` a bit: when an enum is used as a decoder,
it is converted to a `Format.Enum` instead. The original enum is still
stored on the `decoder` attribute, so that it can be propagated
on `Signal.like`.
2024-04-13 10:00:16 +00:00
Wanda
7fe62f810b
Implement RFC 63: Remove amaranth.lib.coding
2024-04-11 00:15:55 +00:00
Wanda
0e6d802de4
Implement RFC 58: Core support for ValueCastable
formatting.
2024-04-03 19:59:19 +00:00
Wanda
767d69c703
hdl._mem: implement MemoryData._Row
from RFC 62.
2024-04-03 17:15:02 +00:00
Wanda
93ef89626e
docs: add links to more docs versions.
2024-04-03 16:15:25 +00:00
Catherine
3c6f46717b
lib.wiring: allow reset-less signals in interfaces.
...
This check was originally added out of abundance of caution, but since
then it was observed that reset-less-ness is purely an implementation
detail (see #1220 ), and furthermore it interferes with adaptation of
`FIFOInterface`` signals (where `[rw]_data` are reset-less) for RFC 61.
2024-04-03 12:01:48 +00:00
Wanda
0e4c2de725
Implement RFC 59: Get rid of upwards propagation of clock domains
2024-04-02 17:00:42 +00:00
Wanda
09d5540430
hdl._mem: add MemoryData
class.
...
This implements half of RFC 62. The `MemoryData._Row` class will be
implemented later, as a follow-up.
2024-04-02 14:58:23 +00:00
Wanda
456dcaeb7b
lib.io: Implement *Buffer
from RFC 55.
2024-03-22 01:44:25 +00:00
Wanda
8c65a79cdd
hdl._ir: Remove support for non-Elaboratable
elaboratables.
...
Fixes #1216 .
2024-03-20 08:20:23 +00:00
Wanda
d6bf47d549
Implement RFC 51: Add ShapeCastable.from_bits
and amaranth.lib.data.Const
.
...
Co-authored-by: Catherine <whitequark@whitequark.org>
2024-03-19 04:01:26 +00:00
Wanda
598cf8db28
lib.io: Implement *Port
from RFC 55.
2024-03-18 23:56:34 +00:00
Wanda
744576011f
Implement RFC 53: Low-level I/O primitives.
...
Co-authored-by: Catherine <whitequark@whitequark.org>
Co-authored-by: mcclure <mcclure@users.noreply.github.com>
2024-03-18 20:33:22 +00:00
Wanda
bfe541a6d7
Implement RFC 50: Print
and string formatting.
...
Co-authored-by: Catherine <whitequark@whitequark.org>
2024-03-11 09:42:43 +00:00
Wanda
7e291a26e3
docs: Add more links for past releases.
2024-03-08 03:54:34 +00:00
Wanda
c2001fe935
vendor: Rename IntelPlatform
to AlteraPlatform
.
...
Fixes #1179 .
2024-03-03 22:52:58 +00:00
Wanda
890e099ec3
Implement RFC 45: Move hdl.Memory
to lib.Memory
.
2024-02-19 22:24:58 +00:00
Wanda
6058ad35cf
hdl._ast: make Shape
immutable and hashable.
...
Fixes #1127 .
2024-02-16 15:21:05 +00:00
Wanda
24a392887a
Implement RFC 43: Rename reset=
to init=
.
2024-02-15 22:52:24 +00:00
Wanda
4014f6429c
Implement RFC 27 amendment: deprecate add_sync_process
, not add_process
.
2024-02-12 18:26:48 +00:00
Catherine
78b90fbafa
build.plat,vendor: fix toolchain environment variable check.
...
The bug was introduced in commit 15b6068c
. A changelog entry was also
missing.
Fixes #1089 .
2024-02-08 11:37:59 +00:00
Catherine
9e75962c35
Implement RFC 27: Testbench processes for the simulator.
...
Co-authored-by: Wanda <wanda@phinode.net>
2024-02-06 23:12:07 +00:00
Wanda
089213e19f
Implement RFC 46: Change Shape.cast(range(1))
to unsigned(0)
.
2024-02-06 10:05:10 +00:00
Catherine
b5f0295bf4
docs/changes: mention removal of Repl
.
2024-01-31 04:13:31 +00:00
Wanda
e9299ccd0e
hdl.ast: change warning on out-of-range reset to an error, improve it.
...
Fixes #1019 .
2024-01-30 02:35:26 +00:00
Catherine
8501d9dd73
docs/changes: fix formatting.
2024-01-29 19:33:39 +00:00
Catherine
fc7c86bbe6
docs/changes: link to docs for past releases.
2024-01-29 19:33:39 +00:00
Wanda
86d14f584e
Implement RFC 39: Change semantics of no-argument m.Case()
.
2024-01-13 22:33:54 +00:00
Wanda
7f76914b74
Implement RFC 17: Remove log2_int
.
...
Reexports of `amaranth.utils` functions are removed from
`amaranth._utils` to avoid a circular import issue (for `deprecated`).
Since this is a private module, this should not be a problem.
2024-01-11 04:45:17 +00:00
Jaro Habiger
c00e770f01
build.run: deprecate run_script argument in BuildPlan.execute_local()
2024-01-03 14:08:34 +00:00
Jaro Habiger
b823a8ee9d
build.run: add BuildPlan.execute_docker()
...
One usecase for this is using amaranth with vivado on macOs.
2024-01-03 14:08:34 +00:00
Jaro Habiger
3200a3961d
build.run: factor out extract method
2024-01-03 14:08:34 +00:00
Catherine
5d9ad62f36
build.plat,vendor: start build.sh
with #!/bin/sh
.
...
The build scripts generated by Amaranth are designed to be invoked by
directly running them with any shell (some of them will re-invoke
themselves with `bash` specifically, when it's a toolchain requirement),
and they're not currently marked executable, so there's no shebang.
Add a shebang line to improve compatibility with cases where they are
treated as executables in their own right.
2024-01-03 11:45:57 +00:00
Wanda
0849e1af0b
hdl.ast: make Slice
const-castable.
...
Fixes #1006 .
2023-12-30 11:28:03 +00:00
Wanda
8cd8cdde2b
Implement RFC 20: Remove non-FWFT FIFOs.
...
Fixes #875 .
2023-12-13 11:41:19 +00:00
Catherine
3ed78d98ea
Implement RFC 18: Reorganize vendor platforms
...
Closes #873 .
2023-12-13 11:24:37 +00:00
Catherine
9d4ffab104
compat: remove.
...
Fixes #692 .
2023-12-13 11:20:12 +00:00
Catherine
750cbbc3c7
hdl: remove deprecated Sample
, Past
, Stable
, Rose
, Fell
.
2023-12-13 11:13:14 +00:00
Catherine
475b0f35dd
Implement RFC 19: Remove amaranth.lib.scheduler
.
...
Closes #874 .
2023-12-13 09:53:54 +00:00
Catherine
597b1b8839
Implement RFC 5: Remove Const.normalize
.
...
Closes #754 .
2023-12-13 09:53:54 +00:00
Catherine
a2f3c544ee
Release version 0.4.
2023-12-13 09:29:50 +00:00
Catherine
73e3ee695d
docs/changes: add some missing items.
2023-12-13 09:29:50 +00:00
Wanda
8e6ae9e6e0
Implement RFC 38: Component signature immutability.
...
Fixes #996 .
2023-12-11 19:51:32 +00:00
Wanda
6ad0d21cc9
Implement RFC 37: Make `Signature
` immutable.
...
Fixes #995 .
2023-12-11 19:01:32 +00:00
Wanda
3d0c5426df
docs: Add changelog entries for RFCs 34, 35.
2023-12-11 10:39:02 +00:00
Wanda
ef5cfa72bc
Implement RFC 31: Enumeration type safety.
2023-11-29 10:50:34 +00:00
Catherine
89d1c9bb28
docs: update changelog.
2023-11-25 02:05:54 +00:00
Vegard Storheil Eriksen
879601380d
ast: allow overriding Value operators.
2023-10-30 20:17:51 +00:00
Wanda
4e4085a95b
Implement RFC 20: Deprecate non-FWFT FIFOs.
...
Tracking issue #875 .
2023-10-24 20:49:51 +00:00