Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Amaranth 0.5 #278

Merged
merged 6 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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