Skip to content

Commit

Permalink
[PyCDE] Fix ESI integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Jan 12, 2024
1 parent fe27e45 commit c76fb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontends/PyCDE/integration_test/esi_ram.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def construct(ports):
read_bundle_type = RamI64x8.read.type
address = 2
(address_chan, ready) = read_bundle_type.address.wrap(address, True)
read_bundle, [data_chan] = read_bundle_type.pack(address=address_chan)
read_bundle, [(_, data_chan)] = read_bundle_type.pack(address=address_chan)
read_data, read_valid = data_chan.unwrap(True)
RamI64x8.read(read_bundle, AppID("int_reader"))

Expand Down
2 changes: 1 addition & 1 deletion frontends/PyCDE/integration_test/esi_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LoopbackInOutAdd7(Module):
@generator
def construct(ports):
loopback = Wire(Channel(UInt(16)))
call_bundle, [from_host] = TestBundle.pack(resp=loopback)
call_bundle, [(_, from_host)] = TestBundle.pack(resp=loopback)
HostComms.req_resp(call_bundle, AppID("loopback_inout"))

ready = Wire(Bits(1))
Expand Down

0 comments on commit c76fb51

Please sign in to comment.