Skip to content

Commit 89d07a0

Browse files
committed
sw: move crt0.S functions to bootrom
1 parent 58eee5d commit 89d07a0

File tree

12 files changed

+1135
-476
lines changed

12 files changed

+1135
-476
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ The address map of the default configuration is as follows:
5454
| Start Address | Stop Address | Description |
5555
|-----------------|-----------------|--------------------------------------------|
5656
| `32'h0000_0000` | `32'h0004_0000` | Debug module (JTAG) |
57+
| `32'h0200_0000` | `32'h0200_4000` | Bootrom |
58+
| `32'h0200_4000` | `32'h0200_8000` | CLINT peripheral |
5759
| `32'h0300_0000` | `32'h0300_1000` | SoC control/info registers |
5860
| `32'h0300_2000` | `32'h0300_3000` | UART peripheral |
5961
| `32'h0300_5000` | `32'h0300_6000` | GPIO peripheral |
@@ -62,7 +64,6 @@ The address map of the default configuration is as follows:
6264
| `32'h2000_0000` | `32'h8000_0000` | Passthrough to user domain |
6365
| `32'h2000_0000` | `32'h2000_1000` | reserved for string formatted user ROM* |
6466

65-
6667
*If people modify Croc we suggest they add a ROM at this address containing additional information
6768
like the names of the developers, a project link or similar. This can then be written out via UART.
6869
We ask people to format the ROM like a C string with zero termination and using ASCII encoding if feasible.

artistic/src/croc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"file" : "../meerkat_work/croc_chip.gds.gz",
77
"x_offset_um" : 0,
88
"y_offset_um" : 0,
9-
"width_um" : 1930,
10-
"height_um" : 1930
9+
"width_um" : 2000,
10+
"height_um" : 2000
1111
},
1212
"image": {
13-
"px_width" : 965,
14-
"px_height" : 965,
13+
"px_width" : 1000,
14+
"px_height" : 1000,
1515
"overrender_factor" : 4,
1616
"num_segs_width" : 1,
1717
"num_segs_height" : 1,

artistic/src/croc_map.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
},
55
"gds" : {
66
"file" : "../meerkat_work/croc_chip.gds.gz",
7-
"x_offset_um" : -59,
8-
"y_offset_um" : -59,
7+
"x_offset_um" : -24,
8+
"y_offset_um" : -24,
99
"width_um" : 2048,
1010
"height_um" : 2048
1111
},

artistic/src/croc_modules.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"name": "GPIO",
2828
"color": "#43fdaa"
2929
},
30+
"i_bootrom": {
31+
"name": "ROM",
32+
"color": "#8cf805"
33+
},
3034
"gen_sram_bank": {
3135
"name": "SRAM",
3236
"color": "#39729f"

0 commit comments

Comments
 (0)