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

Bump T1 dependencies and switch to Layer API + LTL API #723

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

Avimitin
Copy link
Contributor

Updated: nix/t1/_sources/generated.json
nix/t1/_sources/generated.nix

@Avimitin
Copy link
Contributor Author

Avimitin commented Aug 15, 2024

To reproduce:

nix shell '.#t1.blastoise.ip.verilator-emu' -c online_drive --elf-file $(nix build '.#t1.blastoise.ip.cases.codegen.vslidedown_vi' --no-link --print-out-paths)/bin/codegen.vslidedown_vi.elf --log-file ./log.txt
...
{"event":"LsuEnq","enq":2,"cycle":              609526}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"00000000b9ebd9f09674765700000000ffffffff7fffffff76ea2fe5de8886fa","address":"c0000000","cycle":              609530}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"f13f9fee000000000000000f2ac8194878a637c6626b7ee3b6381385ffffffff","address":"c0000020","cycle":              609531}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"da4bbdb5ffffffffab9510a30000000fcc5a8e1b00000000ffffffff7fffffff","address":"c0000040","cycle":              609532}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"ffffffff4836110b3ab2af95c9d180aab7580331ad64030700000000b4e28633","address":"c0000060","cycle":              609533}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"32eb6a14f6e4d21a7fffffffffffffffe3e490be0000000f0000000200000000","address":"c0000080","cycle":              609534}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"000000027ed81fa37d3cd6a87fffffffffffffff2617db3c05f54ab874de8095","address":"c00000a0","cycle":              609535}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"0000000f3cdae90b0000000094ad9a167fffffffd50cfc8c00000000fd419cc3","address":"c00000c0","cycle":              609536}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"727c1b01dabf34458ac61725dda352085b94bef59448280a6c679fd6caacc8fe","address":"c00000e0","cycle":              609537}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"d3b618d3ebd887143c96c303774c469a2984f89307f8dfd076f63dc8991b7049","address":"c0000100","cycle":              609538}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"e61484c1bfdebbe04c6de2f04b9e2c6ad25e2078798d64947491a6234a8bd7bd","address":"c0000120","cycle":              609539}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"cee9f119dea5cbbfabe3548a5e2127da2483980a90d256bcf6c99646b1003e88","address":"c0000140","cycle":              609540}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"0f8a30e0829900a34701619aa19048ccb58798c421bbcadaec429fdf0e60cb79","address":"c0000160","cycle":              609541}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"cb3c168e794904e7c2d1b8a62ef97a044f5d29cea2c8c6fd115281c44234220f","address":"c0000180","cycle":              609542}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"93aaf012f004c8ada3d42d001218d7963c1a88052e332314d18c35efc4d5304c","address":"c00001a0","cycle":              609543}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"d3d5ee0767b43f56f1aefb328dd02416604d636fcfb11fee38fbfbf18e58caba","address":"c00001c0","cycle":              609544}
{"event":"MemoryWrite","lsu_idx": 1,"mask":"ffffffff","data":"c4b2755d0fb59a1ae0abf9c392278d3c7a9c8141c4adaa6cae0984e46e2cedaa","address":"c00001e0","cycle":              609545}
{"event":"VrfScoreboardReport","count":    0,"issue_idx":1,"cycle":              609547}
 INFO [609550] retire, count=0
 INFO [609551] seeing an exit instruction on 20012dec, sending ISSUE_EXIT
 INFO [609552] seeing an exit instruction on 20012dec, sending ISSUE_EXIT
Error: spike trapped with trap_illegal_instruction (tval=00000000, tval2=00000000, tinst=00000000)
terminate called after throwing an instance of 'trap_t'
Aborted (core dumped)

I think the current emulator in master branch contains bug. cc @Clo91eaf

@sequencer
Copy link
Member

blames to the circt bumpping, the ABI of DPI has been changed to open array. We need to refactor all DPI usage to open array.

This was referenced Aug 15, 2024
@Avimitin Avimitin force-pushed the dependencies-bumping-2024-08-14 branch from f49913f to abb182d Compare August 22, 2024 10:57
@Avimitin Avimitin mentioned this pull request Aug 22, 2024
@sequencer sequencer force-pushed the dependencies-bumping-2024-08-14 branch from 6e70872 to 4e7cb97 Compare August 22, 2024 18:03
@sequencer sequencer changed the title Bump T1 dependencies Bump T1 dependencies and add switch to Layer API + LTL API Aug 22, 2024
@sequencer sequencer changed the title Bump T1 dependencies and add switch to Layer API + LTL API Bump T1 dependencies and switch to Layer API + LTL API Aug 22, 2024
@sequencer
Copy link
Member

One question is I don't know why openarray is not included in this PR...

@sequencer sequencer merged commit 9cdd445 into master Aug 23, 2024
84 checks passed
@sequencer sequencer deleted the dependencies-bumping-2024-08-14 branch August 23, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants