Skip to content

Commit

Permalink
hw: Rename bootrom to snitch_bootrom
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jul 18, 2024
1 parent 583d7b8 commit 4fbf478
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ sources:
- hw/snitch_cluster/src/snitch_fpu.sv
- hw/snitch_cluster/src/snitch_sequencer.sv
- hw/snitch_cluster/src/snitch_tcdm_interconnect.sv
- target/snitch_cluster/test/bootrom.sv
- target/snitch_cluster/test/snitch_bootrom.sv
# Level 1
- hw/snitch_cluster/src/snitch_barrier.sv
- hw/snitch_cluster/src/snitch_fp_ss.sv
Expand Down
2 changes: 1 addition & 1 deletion hw/snitch_cluster/src/snitch_cluster.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ module snitch_cluster
.icache_events_i (icache_events)
);

bootrom #(
snitch_bootrom #(
.AddrWidth (PhysicalAddrWidth),
.DataWidth (WideDataWidth),
.BootromSize (BootRomSize * 1024)
Expand Down
4 changes: 2 additions & 2 deletions target/snitch_cluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ $(CFG): FORCE
fi
FORCE:

test/bootrom.elf test/bootrom.dump test/bootrom.bin test/bootrom.sv: test/bootrom.S test/bootrom.ld
test/bootrom.elf test/bootrom.dump test/bootrom.bin test/snitch_bootrom.sv: test/bootrom.S test/bootrom.ld
riscv riscv32-unknown-elf-gcc -mabi=ilp32d -march=rv32imafd -static -nostartfiles -Ttest/bootrom.ld $< -o test/bootrom.elf
riscv riscv32-unknown-elf-objdump -d test/bootrom.elf > test/bootrom.dump
riscv riscv32-unknown-elf-objcopy -j .text -O binary test/bootrom.elf test/bootrom.bin
util/gen_bootrom.py --sv-module bootrom test/bootrom.bin > test/bootrom.sv
util/gen_bootrom.py --sv-module snitch_bootrom test/bootrom.bin > test/snitch_bootrom.sv

############
# Software #
Expand Down
Binary file modified target/snitch_cluster/test/bootrom.elf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//
// AUTOMATICALLY GENERATED by gen_bootrom.py; edit the script instead.

module bootrom #(
module snitch_bootrom #(
parameter int unsigned AddrWidth = 32,
parameter int unsigned DataWidth = 32,
parameter int unsigned BootromSize = 65536
Expand Down

0 comments on commit 4fbf478

Please sign in to comment.