diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-05-15 21:45:48 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-05-15 21:45:48 +0300 |
| commit | 941b018bafdaa0d31a30b89959e717fd780b7db1 (patch) | |
| tree | 91030508a45705e8df8e02c99feec94b3808093e /src/components/cpu/riscv | |
| parent | 40cd4e6e250c6a32a3072bca40248bd4b8ef9a24 (diff) | |
| download | gran-941b018bafdaa0d31a30b89959e717fd780b7db1.tar.gz gran-941b018bafdaa0d31a30b89959e717fd780b7db1.zip | |
format
Diffstat (limited to 'src/components/cpu/riscv')
| -rw-r--r-- | src/components/cpu/riscv/simple_riscv32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/cpu/riscv/simple_riscv32.c b/src/components/cpu/riscv/simple_riscv32.c index b000bb1..51b2a42 100644 --- a/src/components/cpu/riscv/simple_riscv32.c +++ b/src/components/cpu/riscv/simple_riscv32.c @@ -482,7 +482,8 @@ static stat simple_riscv32_clock(struct simple_riscv32 *cpu) } if (!cpu->ils.pkt) { - cpu->ils.pkt = create_packet(PACKET_READ, cpu->pc, sizeof(uint32_t)); + cpu->ils.pkt = + create_packet(PACKET_READ, cpu->pc, sizeof(uint32_t)); if (!cpu->ils.pkt) return EMEM; |
