Skip to content

Commit

Permalink
Check in convolve sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Scheremo committed Oct 11, 2024
1 parent 6f8559e commit c69deaa
Show file tree
Hide file tree
Showing 18 changed files with 1,679 additions and 163 deletions.
32 changes: 31 additions & 1 deletion Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ packages:
- common_cells
- register_interface
cheshire:
revision: 8aa5c40f2af14f0a40ed08ba4b24c3759ae944e5
revision: 70d79fd00f99fc004d1d9fed2d99c79db577e932
version: null
source:
Git: https://github.com/pulp-platform/cheshire.git
Expand Down Expand Up @@ -150,6 +150,12 @@ packages:
- common_cells
- fpnew
- tech_cells_generic
ethcluster:
revision: 8ab985c7965ec0c3c4dd7e99227439d23804a157
version: null
source:
Git: [email protected]:es/convolve-private/ethcluster.git
dependencies: []
fpnew:
revision: a8e0cba6dd50f357ece73c2c955d96efc3c6c315
version: null
Expand Down Expand Up @@ -186,6 +192,12 @@ packages:
- axi
- common_cells
- register_interface
kulcluster:
revision: 2b8da5d360e3c3829e4e5583a8b0a64d8c76ea6e
version: null
source:
Git: [email protected]:es/convolve-private/kulcluster.git
dependencies: []
memory_island:
revision: 64828cb7a9ccc1f1656ec92d06129072f445c319
version: null
Expand Down Expand Up @@ -269,6 +281,24 @@ packages:
Git: https://github.com/pulp-platform/tech_cells_generic.git
dependencies:
- common_verification
tuddcim:
revision: 71b72931af97ed5625970b9a3ce96e5b880a20aa
version: null
source:
Git: [email protected]:es/convolve-private/tuddcim.git
dependencies: []
tuedcim:
revision: 794c5c0df785bc71ac50be89b6b9e23c1342a3ae
version: null
source:
Git: [email protected]:es/convolve-private/tuedcim.git
dependencies: []
tuemega:
revision: 3d6854563a8c194feee0825f3de498ed7dd3fc1a
version: null
source:
Git: [email protected]:es/convolve-private/tuemega.git
dependencies: []
unbent:
revision: e9c9d5cfb635f2d4668c816ce9235798cfecb297
version: 0.1.6
Expand Down
27 changes: 26 additions & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ package:
dependencies:
register_interface: { git: "https://github.com/pulp-platform/register_interface.git", version: 0.4.3 }
axi: { git: "https://github.com/pulp-platform/axi.git", version: 0.39.2 }
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: 8aa5c40}
cheshire: { git: "https://github.com/pulp-platform/cheshire.git", rev: 70d79fd}
snitch_cluster: { git: "https://github.com/pulp-platform/snitch_cluster.git", rev: c12ce9b2af1ac8edf3d4feb18939e1ad20c42225}
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.31.1}
idma: { git: "https://github.com/pulp-platform/iDMA.git", rev: 9edf489f57389dce5e71252c79e337f527d3aded}
apb: { git: "https://github.com/pulp-platform/apb.git", version: 0.2.4 }
TUEDCIM: { git: "[email protected]:es/convolve-private/tuedcim.git", rev: 23082024}
TUEMEGA: { git: "[email protected]:es/convolve-private/tuemega.git", rev: 27082024}
TUDDCIM: { git: "[email protected]:es/convolve-private/tuddcim.git", rev: 23082024}
KULCLUSTER: { git: "[email protected]:es/convolve-private/kulcluster.git", rev: 27082024}
ETHCluster: { git: "[email protected]:es/convolve-private/ethcluster.git", rev: 8ab985c}

workspace:
package_links:
Expand All @@ -39,6 +44,26 @@ sources:
- target/sim/src/tb_chimera_soc.sv
- target/sim/src/tb_chimera_pkg.sv

- target: tuedcim
files:
- hw/convolve/chimera_cluster_tuedcim.sv

- target: tuemega
files:
- hw/convolve/chimera_cluster_tuemega.sv

- target: tuddcim
files:
- hw/convolve/chimera_cluster_tuddcim.sv

- target: kulcluster
files:
- hw/convolve/chimera_cluster_kulcluster.sv

- target: ethcluster
files:
- hw/convolve/chimera_cluster_ethcluster.sv

vendor_package:
- name: reggen
target_dir: "utils"
Expand Down
1 change: 1 addition & 0 deletions bender.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ COMMON_TARGS ?=
COMMON_TARGS += -t snitch_cluster -t cv32a6_convolve -t cva6 -t rtl

SIM_TARGS = -t test -t sim
EXT_TARGS = -t tuedcim -t tuemega -t kulcluster -t tuddcim -t ethcluster
8 changes: 4 additions & 4 deletions chimera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# Moritz Scherer <[email protected]>

CLINTCORES = 46
PLICCORES = 92
PLIC_NUM_INTRS = 92
CLINTCORES = 19
PLICCORES = 38
PLIC_NUM_INTRS = 38

.PHONY: update_plic
update_plic: $(CHS_ROOT)/hw/rv_plic.cfg.hjson
Expand Down Expand Up @@ -62,7 +62,7 @@ $(CHIM_ROOT)/hw/regs/chimera_reg_pkg.sv $(CHIM_ROOT)/hw/regs/chimera_reg_top.sv:
# Nonfree components
CHIM_NONFREE_REMOTE ?= [email protected]:pulp-restricted/chimera-nonfree.git
CHIM_NONFREE_DIR ?= $(CHIM_ROOT)/nonfree
CHIM_NONFREE_COMMIT ?= deploy # to deploy `chimera-nonfree` repo changes, push to `deploy` tag
CHIM_NONFREE_COMMIT ?= deploy_convolve # to deploy `chimera-nonfree` repo changes, push to `deploy` tag

.PHONY: chim-nonfree-init
chim-nonfree-init:
Expand Down
Binary file modified hw/bootrom/snitch/snitch_bootrom.bin
Binary file not shown.
220 changes: 110 additions & 110 deletions hw/bootrom/snitch/snitch_bootrom.sv
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module snitch_bootrom #(
data_o = '0;
unique case (word)
000: data_o = 32'h30057073 /* 0x0000 */;
001: data_o = 32'h244000ef /* 0x0004 */;
001: data_o = 32'h21c000ef /* 0x0004 */;
002: data_o = 32'h00000297 /* 0x0008 */;
003: data_o = 32'h0a828293 /* 0x000c */;
004: data_o = 32'h30529073 /* 0x0010 */;
Expand Down Expand Up @@ -61,14 +61,14 @@ module snitch_bootrom #(
029: data_o = 32'h00000e93 /* 0x0074 */;
030: data_o = 32'h00000f13 /* 0x0078 */;
031: data_o = 32'h00000f93 /* 0x007c */;
032: data_o = 32'h0d4000ef /* 0x0080 */;
032: data_o = 32'h0cc000ef /* 0x0080 */;
033: data_o = 32'h10500073 /* 0x0084 */;
034: data_o = 32'h048000ef /* 0x0088 */;
035: data_o = 32'h00001297 /* 0x008c */;
036: data_o = 32'hf7428293 /* 0x0090 */;
037: data_o = 32'h0002a283 /* 0x0094 */;
038: data_o = 32'h000280e7 /* 0x0098 */;
039: data_o = 32'h130000ef /* 0x009c */;
039: data_o = 32'h118000ef /* 0x009c */;
040: data_o = 32'hf75ff06f /* 0x00a0 */;
041: data_o = 32'h00000013 /* 0x00a4 */;
042: data_o = 32'h00000013 /* 0x00a8 */;
Expand All @@ -82,122 +82,122 @@ module snitch_bootrom #(
050: data_o = 32'h00000000 /* 0x00c8 */;
051: data_o = 32'h00000000 /* 0x00cc */;
052: data_o = 32'hf14027f3 /* 0x00d0 */;
053: data_o = 32'h01300713 /* 0x00d4 */;
053: data_o = 32'hfff78793 /* 0x00d4 */;
054: data_o = 32'h0ff7f793 /* 0x00d8 */;
055: data_o = 32'h04e78463 /* 0x00dc */;
056: data_o = 32'h00f76c63 /* 0x00e0 */;
057: data_o = 32'h00100713 /* 0x00e4 */;
058: data_o = 32'h02e78263 /* 0x00e8 */;
059: data_o = 32'h00a00693 /* 0x00ec */;
060: data_o = 32'h02d78463 /* 0x00f0 */;
061: data_o = 32'h00008067 /* 0x00f4 */;
062: data_o = 32'h01c00713 /* 0x00f8 */;
063: data_o = 32'h02e78c63 /* 0x00fc */;
064: data_o = 32'h02500713 /* 0x0100 */;
065: data_o = 32'h04e78063 /* 0x0104 */;
055: data_o = 32'h00900713 /* 0x00dc */;
056: data_o = 32'h06f76463 /* 0x00e0 */;
057: data_o = 32'h30000737 /* 0x00e4 */;
058: data_o = 32'h00279793 /* 0x00e8 */;
059: data_o = 32'h22c70713 /* 0x00ec */;
060: data_o = 32'h00e787b3 /* 0x00f0 */;
061: data_o = 32'h0007a783 /* 0x00f4 */;
062: data_o = 32'h00078067 /* 0x00f8 */;
063: data_o = 32'h300017b7 /* 0x00fc */;
064: data_o = 32'h00100713 /* 0x0100 */;
065: data_o = 32'h04e7a223 /* 0x0104 */;
066: data_o = 32'h00008067 /* 0x0108 */;
067: data_o = 32'h30001737 /* 0x010c */;
068: data_o = 32'h04f72223 /* 0x0110 */;
069: data_o = 32'h00008067 /* 0x0114 */;
070: data_o = 32'h300017b7 /* 0x0118 */;
071: data_o = 32'h04e7a423 /* 0x011c */;
072: data_o = 32'h00008067 /* 0x0120 */;
073: data_o = 32'h300017b7 /* 0x0124 */;
074: data_o = 32'h00100713 /* 0x0128 */;
075: data_o = 32'h04e7a623 /* 0x012c */;
076: data_o = 32'h00008067 /* 0x0130 */;
077: data_o = 32'h300017b7 /* 0x0134 */;
078: data_o = 32'h00100713 /* 0x0138 */;
079: data_o = 32'h04e7a823 /* 0x013c */;
080: data_o = 32'h00008067 /* 0x0140 */;
081: data_o = 32'h300017b7 /* 0x0144 */;
082: data_o = 32'h00100713 /* 0x0148 */;
083: data_o = 32'h04e7aa23 /* 0x014c */;
084: data_o = 32'h00008067 /* 0x0150 */;
085: data_o = 32'hf14027f3 /* 0x0154 */;
086: data_o = 32'h01300713 /* 0x0158 */;
087: data_o = 32'h0ff7f793 /* 0x015c */;
088: data_o = 32'h04e78463 /* 0x0160 */;
089: data_o = 32'h00f76c63 /* 0x0164 */;
090: data_o = 32'h00100713 /* 0x0168 */;
091: data_o = 32'h02e78263 /* 0x016c */;
092: data_o = 32'h00a00713 /* 0x0170 */;
093: data_o = 32'h02e78463 /* 0x0174 */;
094: data_o = 32'h00008067 /* 0x0178 */;
095: data_o = 32'h01c00713 /* 0x017c */;
096: data_o = 32'h02e78a63 /* 0x0180 */;
097: data_o = 32'h02500713 /* 0x0184 */;
098: data_o = 32'h02e78c63 /* 0x0188 */;
067: data_o = 32'h300017b7 /* 0x010c */;
068: data_o = 32'h00100713 /* 0x0110 */;
069: data_o = 32'h04e7a423 /* 0x0114 */;
070: data_o = 32'h00008067 /* 0x0118 */;
071: data_o = 32'h300017b7 /* 0x011c */;
072: data_o = 32'h00100713 /* 0x0120 */;
073: data_o = 32'h04e7a623 /* 0x0124 */;
074: data_o = 32'h00008067 /* 0x0128 */;
075: data_o = 32'h300017b7 /* 0x012c */;
076: data_o = 32'h00100713 /* 0x0130 */;
077: data_o = 32'h04e7a823 /* 0x0134 */;
078: data_o = 32'h00008067 /* 0x0138 */;
079: data_o = 32'h300017b7 /* 0x013c */;
080: data_o = 32'h00100713 /* 0x0140 */;
081: data_o = 32'h04e7aa23 /* 0x0144 */;
082: data_o = 32'h00008067 /* 0x0148 */;
083: data_o = 32'hf14027f3 /* 0x014c */;
084: data_o = 32'hfff78793 /* 0x0150 */;
085: data_o = 32'h0ff7f793 /* 0x0154 */;
086: data_o = 32'h00900713 /* 0x0158 */;
087: data_o = 32'h04f76a63 /* 0x015c */;
088: data_o = 32'h30000737 /* 0x0160 */;
089: data_o = 32'h00279793 /* 0x0164 */;
090: data_o = 32'h25470713 /* 0x0168 */;
091: data_o = 32'h00e787b3 /* 0x016c */;
092: data_o = 32'h0007a783 /* 0x0170 */;
093: data_o = 32'h00078067 /* 0x0174 */;
094: data_o = 32'h300017b7 /* 0x0178 */;
095: data_o = 32'h0407a223 /* 0x017c */;
096: data_o = 32'h00008067 /* 0x0180 */;
097: data_o = 32'h300017b7 /* 0x0184 */;
098: data_o = 32'h0407a423 /* 0x0188 */;
099: data_o = 32'h00008067 /* 0x018c */;
100: data_o = 32'h300017b7 /* 0x0190 */;
101: data_o = 32'h0407a223 /* 0x0194 */;
101: data_o = 32'h0407a623 /* 0x0194 */;
102: data_o = 32'h00008067 /* 0x0198 */;
103: data_o = 32'h300017b7 /* 0x019c */;
104: data_o = 32'h0407a423 /* 0x01a0 */;
104: data_o = 32'h0407a823 /* 0x01a0 */;
105: data_o = 32'h00008067 /* 0x01a4 */;
106: data_o = 32'h300017b7 /* 0x01a8 */;
107: data_o = 32'h0407a623 /* 0x01ac */;
107: data_o = 32'h0407aa23 /* 0x01ac */;
108: data_o = 32'h00008067 /* 0x01b0 */;
109: data_o = 32'h300017b7 /* 0x01b4 */;
110: data_o = 32'h0407a823 /* 0x01b8 */;
111: data_o = 32'h00008067 /* 0x01bc */;
112: data_o = 32'h300017b7 /* 0x01c0 */;
113: data_o = 32'h0407aa23 /* 0x01c4 */;
114: data_o = 32'h00008067 /* 0x01c8 */;
115: data_o = 32'hf14027f3 /* 0x01cc */;
116: data_o = 32'h01300713 /* 0x01d0 */;
117: data_o = 32'h0ff7f793 /* 0x01d4 */;
118: data_o = 32'h00156513 /* 0x01d8 */;
119: data_o = 32'h04e78463 /* 0x01dc */;
120: data_o = 32'h00f76c63 /* 0x01e0 */;
121: data_o = 32'h00100713 /* 0x01e4 */;
122: data_o = 32'h02e78263 /* 0x01e8 */;
123: data_o = 32'h00a00713 /* 0x01ec */;
124: data_o = 32'h02e78463 /* 0x01f0 */;
125: data_o = 32'h00008067 /* 0x01f4 */;
126: data_o = 32'h01c00713 /* 0x01f8 */;
127: data_o = 32'h02e78a63 /* 0x01fc */;
128: data_o = 32'h02500713 /* 0x0200 */;
129: data_o = 32'h02e78c63 /* 0x0204 */;
130: data_o = 32'h00008067 /* 0x0208 */;
131: data_o = 32'h300017b7 /* 0x020c */;
132: data_o = 32'h00a7a423 /* 0x0210 */;
133: data_o = 32'h00008067 /* 0x0214 */;
134: data_o = 32'h300017b7 /* 0x0218 */;
135: data_o = 32'h00a7a623 /* 0x021c */;
136: data_o = 32'h00008067 /* 0x0220 */;
137: data_o = 32'h300017b7 /* 0x0224 */;
138: data_o = 32'h00a7a823 /* 0x0228 */;
139: data_o = 32'h00008067 /* 0x022c */;
140: data_o = 32'h300017b7 /* 0x0230 */;
141: data_o = 32'h00a7aa23 /* 0x0234 */;
142: data_o = 32'h00008067 /* 0x0238 */;
143: data_o = 32'h300017b7 /* 0x023c */;
144: data_o = 32'h00a7ac23 /* 0x0240 */;
145: data_o = 32'h00008067 /* 0x0244 */;
146: data_o = 32'h304467f3 /* 0x0248 */;
147: data_o = 32'h300467f3 /* 0x024c */;
148: data_o = 32'h00008067 /* 0x0250 */;
149: data_o = 32'h00000000 /* 0x0254 */;
150: data_o = 32'h00000000 /* 0x0258 */;
151: data_o = 32'h00000000 /* 0x025c */;
152: data_o = 32'h00000000 /* 0x0260 */;
153: data_o = 32'h00000000 /* 0x0264 */;
154: data_o = 32'h00000000 /* 0x0268 */;
155: data_o = 32'h00000000 /* 0x026c */;
156: data_o = 32'h00000000 /* 0x0270 */;
157: data_o = 32'h00000000 /* 0x0274 */;
158: data_o = 32'h00000000 /* 0x0278 */;
159: data_o = 32'h00000000 /* 0x027c */;
160: data_o = 32'h00000000 /* 0x0280 */;
161: data_o = 32'h00000000 /* 0x0284 */;
162: data_o = 32'h00000000 /* 0x0288 */;
163: data_o = 32'h00000000 /* 0x028c */;
164: data_o = 32'h00000000 /* 0x0290 */;
165: data_o = 32'h00000000 /* 0x0294 */;
166: data_o = 32'h00000000 /* 0x0298 */;
167: data_o = 32'h00000000 /* 0x029c */;
168: data_o = 32'h00000000 /* 0x02a0 */;
109: data_o = 32'hf14027f3 /* 0x01b4 */;
110: data_o = 32'hfff78793 /* 0x01b8 */;
111: data_o = 32'h0ff7f793 /* 0x01bc */;
112: data_o = 32'h00900713 /* 0x01c0 */;
113: data_o = 32'h00156513 /* 0x01c4 */;
114: data_o = 32'h04f76a63 /* 0x01c8 */;
115: data_o = 32'h30000737 /* 0x01cc */;
116: data_o = 32'h00279793 /* 0x01d0 */;
117: data_o = 32'h27c70713 /* 0x01d4 */;
118: data_o = 32'h00e787b3 /* 0x01d8 */;
119: data_o = 32'h0007a783 /* 0x01dc */;
120: data_o = 32'h00078067 /* 0x01e0 */;
121: data_o = 32'h300017b7 /* 0x01e4 */;
122: data_o = 32'h00a7a423 /* 0x01e8 */;
123: data_o = 32'h00008067 /* 0x01ec */;
124: data_o = 32'h300017b7 /* 0x01f0 */;
125: data_o = 32'h00a7a623 /* 0x01f4 */;
126: data_o = 32'h00008067 /* 0x01f8 */;
127: data_o = 32'h300017b7 /* 0x01fc */;
128: data_o = 32'h00a7a823 /* 0x0200 */;
129: data_o = 32'h00008067 /* 0x0204 */;
130: data_o = 32'h300017b7 /* 0x0208 */;
131: data_o = 32'h00a7aa23 /* 0x020c */;
132: data_o = 32'h00008067 /* 0x0210 */;
133: data_o = 32'h300017b7 /* 0x0214 */;
134: data_o = 32'h00a7ac23 /* 0x0218 */;
135: data_o = 32'h00008067 /* 0x021c */;
136: data_o = 32'h304467f3 /* 0x0220 */;
137: data_o = 32'h300467f3 /* 0x0224 */;
138: data_o = 32'h00008067 /* 0x0228 */;
139: data_o = 32'h300000fc /* 0x022c */;
140: data_o = 32'h30000148 /* 0x0230 */;
141: data_o = 32'h3000010c /* 0x0234 */;
142: data_o = 32'h30000148 /* 0x0238 */;
143: data_o = 32'h3000011c /* 0x023c */;
144: data_o = 32'h30000148 /* 0x0240 */;
145: data_o = 32'h3000012c /* 0x0244 */;
146: data_o = 32'h30000148 /* 0x0248 */;
147: data_o = 32'h30000148 /* 0x024c */;
148: data_o = 32'h3000013c /* 0x0250 */;
149: data_o = 32'h30000178 /* 0x0254 */;
150: data_o = 32'h300001b0 /* 0x0258 */;
151: data_o = 32'h30000184 /* 0x025c */;
152: data_o = 32'h300001b0 /* 0x0260 */;
153: data_o = 32'h30000190 /* 0x0264 */;
154: data_o = 32'h300001b0 /* 0x0268 */;
155: data_o = 32'h3000019c /* 0x026c */;
156: data_o = 32'h300001b0 /* 0x0270 */;
157: data_o = 32'h300001b0 /* 0x0274 */;
158: data_o = 32'h300001a8 /* 0x0278 */;
159: data_o = 32'h300001e4 /* 0x027c */;
160: data_o = 32'h3000021c /* 0x0280 */;
161: data_o = 32'h300001f0 /* 0x0284 */;
162: data_o = 32'h3000021c /* 0x0288 */;
163: data_o = 32'h300001fc /* 0x028c */;
164: data_o = 32'h3000021c /* 0x0290 */;
165: data_o = 32'h30000208 /* 0x0294 */;
166: data_o = 32'h3000021c /* 0x0298 */;
167: data_o = 32'h3000021c /* 0x029c */;
168: data_o = 32'h30000214 /* 0x02a0 */;
169: data_o = 32'h00000000 /* 0x02a4 */;
170: data_o = 32'h00000000 /* 0x02a8 */;
171: data_o = 32'h00000000 /* 0x02ac */;
Expand Down
Loading

0 comments on commit c69deaa

Please sign in to comment.