Check-in some changes to run the kernels correctly - #323
Conversation
- Add CgraRTL_relu4x4_test_from_yaml.py: ReLU kernel test on 4x4 Mesh CGRA using relu.yaml compiled kernel config (II=5, 32 iterations) - Fix script_generator.py: swap STORE src_operands to match MemUnitRTL hardware expectation (in0=address, in1=data vs YAML order [data, addr])
…flag Bug #1 - CrossbarRTL all-or-nothing: Stale prologued data blocked entire crossbar - Mask recv_valid_vector, exclude prologued from send/recv_required_vector - Gate changed: recv_valid_or_prologue_allowing_vector Bug #2 - PhiRTL shared first flag: Multiple PHI_START on same tile failed - Detect iteration wrap via ctrl_addr, clear s.first only at boundaries - Added prev_ctrl_addr tracking Tests: ReLU 379 cycles (pass), SpMV 759 cycles (pass)
|
Added cleanup commit ce34b9b:
Python syntax checks pass. Pytest collection from the repository root is blocked by the project package layout ( |
# Conflicts: # fu/single/CompRTL.py # fu/single/test/CompRTL_test.py
Detailed RTL-level change summaryThis comment covers every 1.
|
|
Update: The translation works well. The signal_a[signal_b] can be translated. |
|
Update: The reason of CI test fail is the invalid var that Verilog not support |
what is the |
There was a problem hiding this comment.
The trace-related changes in this file can be reverted.
There was a problem hiding this comment.
the changes in this file can be reverted.
hmm, if you think this can help debugging, maybe we can also leave it there? as long as it can be conditionally invoked.
There was a problem hiding this comment.
we can check this in if you want.
Oh sorry It is a typo, I mean char😂 |
| s.recv_data_from_routing_crossbar[i].rdy @= \ | ||
| (s.inport_opt.operation == OPT_NAH) | \ | ||
| (s.inport_opt.fu_in[i] == 0) | \ | ||
| reg_towards_fu | \ | ||
| s.send_data_to_fu[i].rdy |
|
Hi @Jackcuii, as long as you can resolve my comments, it should be okay to check in. Plz try to resolve them ASAP. Thanks! |
Okay~ I am checking in the logics the comments mentioned in the branch one by one to make sure all the yaml tests can still pass. It is somehow black-boxed😂 |
I understand that. Can you then ask your agent to apply my suggestions to see whether it works? |
|
Sadly some comments will cause some tests to fail, I am working on it |
|
new TODO: merge #322 to this branch after folks' reviews |
I just merged it |
|
@Jackcuii I remember you mentioned that you would update the tests, and double-check the last one finished or not? So then we can review again and merge this? |
No description provided.