Skip to content

Commit

Permalink
Merge pull request #278 from miek/amaranth-0.5
Browse files Browse the repository at this point in the history
Update to Amaranth 0.5
  • Loading branch information
miek authored Jan 30, 2025
2 parents ccc9cac + ca97c7e commit 3ad4155
Show file tree
Hide file tree
Showing 50 changed files with 130 additions and 861 deletions.
4 changes: 2 additions & 2 deletions applets/clear_endpoint_halt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
COUNTER_MAX = 251
GET_OUT_COUNTER_VALID = 0

out_counter_valid = Signal(reset=1)
out_counter_valid = Signal(init=1)

class VendorRequestHandler(ControlRequestHandler):

Expand Down Expand Up @@ -137,7 +137,7 @@ def elaborate(self, platform):
m.d.usb += in_counter.eq(0)

# Expect a counter on the OUT endpoint, and verify that it is contiguous.
prev_out_counter = Signal(8, reset=COUNTER_MAX)
prev_out_counter = Signal(8, init=COUNTER_MAX)
with m.If(stream_out_ep.stream.valid):
out_counter = stream_out_ep.stream.payload
counter_increase = out_counter == (prev_out_counter + 1)
Expand Down
2 changes: 1 addition & 1 deletion applets/hyperram_diagnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def elaborate(self, platform):
m.submodules.registers = registers

psram_address = registers.add_register(REGISTER_RAM_ADDR)
read_length = registers.add_register(REGISTER_RAM_READ_LENGTH, reset=1)
read_length = registers.add_register(REGISTER_RAM_READ_LENGTH, init=1)

m.submodules.read_fifo = read_fifo = SyncFIFO(width=REG_WIDTH, depth=32)
m.submodules.write_fifo = write_fifo = SyncFIFO(width=REG_WIDTH, depth=32)
Expand Down
152 changes: 0 additions & 152 deletions applets/ulpi-test.py

This file was deleted.

59 changes: 0 additions & 59 deletions examples/debugging/basic_ila.py

This file was deleted.

73 changes: 0 additions & 73 deletions examples/debugging/basic_ila_fast_domain.py

This file was deleted.

Loading

0 comments on commit 3ad4155

Please sign in to comment.