Skip to content

Commit

Permalink
WIP on (no branch): 5d81c8c sw: Allow externally-defined platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
suehtamacv committed Oct 25, 2023
2 parents 5d81c8c + a90d081 commit dcb30be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions hw/ip/spatz/src/generated/spatz_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ package spatz_pkg;
// Number of IPUs in each VFU (between 1 and 8)
localparam int unsigned N_IPU = 1;
// Number of FPUs in each VFU (between 1 and 8)
localparam int unsigned N_FPU = 4;
localparam int unsigned N_FPU = 2;
// Number of FUs in each VFU
localparam int unsigned N_FU = N_IPU > N_FPU ? N_IPU : N_FPU;
// FPU support
Expand All @@ -32,7 +32,7 @@ package spatz_pkg;
// Maximum size of a single vector element in bytes
localparam int unsigned ELENB = ELEN / 8;
// Number of bits in a vector register
localparam int unsigned VLEN = 512;
localparam int unsigned VLEN = 256;
// Number of bytes in a vector register
localparam int unsigned VLENB = VLEN / 8;
// Maximum vector length in elements
Expand Down
Binary file modified hw/system/spatz_cluster/test/bootrom.bin
Binary file not shown.
8 changes: 2 additions & 6 deletions hw/system/spatz_cluster/test/bootrom.dump
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@ Disassembly of section .text:
Disassembly of section .rodata:

00001050 <BOOTDATA>:
1050: 1000 addi s0,sp,32
1052: 0000 unimp
1050: 0000 unimp
1052: 1000 addi s0,sp,32
1054: 0000 unimp
1056: 0000 unimp
1058: 0001 nop
...
106a: 0010 addi a2,sp,0
106c: 0000 unimp
106e: 0000 unimp
1070: 0000 unimp
1072: 0002 0x2
...
1080: 0000 unimp
Expand Down
Binary file modified hw/system/spatz_cluster/test/bootrom.elf
Binary file not shown.

0 comments on commit dcb30be

Please sign in to comment.