Skip to content

simulate of asic #269

@hwsyydw

Description

@hwsyydw

When I execute the command "make sim" for asic technology, the simulation gets stuck at the content '[TRACER] output filename is: trace_hart_0.log'.

I use the TSMC65nm technology to generate sram, and each SRAM simulation is through the official ESP simulation.

The content of trace_hart_0.log is as follows:
7235000000ns 310 M 0000000000010000 0 00800913 li s2, 8 s2 :0000000000000008
7705000000ns 357 M 0000000000010004 0 30491073 csrw s2, mie s2 :0000000000000008
8175000000ns 404 M 0000000000010008 0 00000493 li s1, 0 s1 :0000000000000000
8645000000ns 451 M 000000000001000c 0 f1402973 csrr s2, mhartid s2 :0000000000000000
9115000000ns 498 M 0000000000010010 0 03249863 bne s1, s2, pc + 48 s1 :0000000000000000 s2 :0000000000000000
9585000000ns 545 M 0000000000010014 0 00001137 lui sp, 0x1 sp :0000000000001000
10055000000ns 592 M 0000000000010018 0 9ff1011b addiw sp, sp, -1537 sp :00000000000009ff sp :0000000000001000
10525000000ns 639 M 000000000001001c 0 01411113 slli sp, sp, 0x14 sp :000000009ff00000 sp :00000000000009ff
10995000000ns 686 M 0000000000010020 0 252000ef jal ra, 594 ra :0000000000010024
11465000000ns 733 M 0000000000010272 0 00001141 c.addi sp, sp, -16 sp :000000009feffff0 sp :000000009ff00000
11945000000ns 781 M 0000000000010274 0 0000e406 c.sdsp ra, 8(sp) ra :0000000000010024 sp :000000009feffff0 VA: 000000009feffff8 PA: 0000009feffff8
12405000000ns 827 M 0000000000010276 0 f1402573 csrr a0, mhartid a0 :0000000000000000
12875000000ns 874 M 000000000001027a 0 00051463 bnez a0, pc + 8 a0 :0000000000000000
13345000000ns 921 M 000000000001027e 0 f07ff0ef jal ra, -250 ra :0000000000010282
13815000000ns 968 M 0000000000010184 0 60000737 lui a4, 0x60000 a4 :0000000060000000
14285000000ns 1015 M 0000000000010188 0 0a200793 li a5, 162 a5 :00000000000000a2
14765000000ns 1063 M 000000000001018c 0 10f72623 sw a5, 268(a4) a5 :00000000000000a2 a4 :0000000060000000 VA: 000000006000010c PA: 0000006000010c
15225000000ns 1109 M 0000000000010190 0 800007b7 lui a5, 0x80000 a5 :ffffffff80000000
15695000000ns 1156 M 0000000000010194 0 0000278d c.addiw a5, a5, 3 a5 :ffffffff80000003 a5 :ffffffff80000000
16165000000ns 1203 M 0000000000010196 0 00001517 auipc a0, 0x1 a0 :0000000000011196
16645000000ns 1251 M 000000000001019a 0 10f72423 sw a5, 264(a4) a5 :ffffffff80000003 a4 :0000000060000000 VA: 0000000060000108 PA: 00000060000108
17105000000ns 1297 M 000000000001019e 0 b0250513 addi a0, a0, -1278 a0 :0000000000010c98 a0 :0000000000011196
17575000000ns 1344 M 00000000000101a2 0 fc5ff06f j pc - 60
18045000000ns 1391 M 0000000000010166 0 00001141 c.addi sp, sp, -16 sp :000000009fefffe0 sp :000000009feffff0
18525000000ns 1439 M 0000000000010168 0 0000e022 c.sdsp s0, 0(sp) s0 :0000000000000000 sp :000000009fefffe0 VA: 000000009fefffe0 PA: 0000009fefffe0
18535000000ns 1440 M 000000000001016a 0 0000e406 c.sdsp ra, 8(sp) ra :0000000000010282 sp :000000009fefffe0 VA: 000000009fefffe8 PA: 0000009fefffe8
18985000000ns 1485 M 000000000001016c 0 0000842a c.mv s0, x0, a0 s0 :0000000000010c98 a0 :0000000000010c98
20235000000ns 1610 M 000000000001016e 0 00044503 lbu a0, 0(s0) a0 :0000000000000045 s0 :0000000000010c98 VA: 0000000000010c98 PA: 00000000010c98
20245000000ns 1611 M 0000000000010172 1 0000e509 c.bnez a0, pc + 10 a0 :0000000000000045
21085000000ns 1695 M 000000000001017c 0 fa9ff0ef jal ra, -88 ra :0000000000010180
21555000000ns 1742 M 0000000000010124 0 00001101 c.addi sp, sp, -32 sp :000000009fefffc0 sp :000000009fefffe0
21575000000ns 1744 M 0000000000010126 0 0000e822 c.sdsp s0, 16(sp)

after a long time, it still keeps these contents.

supplement:beacuse I don't have profpga, so I change to zcu102 fpga.

May I ask where the problem might be?

trace_hart_0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions