Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kul sw test function #36

Open
wants to merge 16 commits into
base: scheremo/convolveIntegration
Choose a base branch
from
34 changes: 32 additions & 2 deletions Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ packages:
- common_cells
- common_verification
axi_rt:
revision: d5f857e74d0a5db4e4a2cc3652ca4f40f29a1484
version: 0.0.0-alpha.8
revision: 641ea950e24722af747033f2ab85f0e48ea8d7f8
version: 0.0.0-alpha.9
source:
Git: https://github.com/pulp-platform/axi_rt.git
dependencies:
Expand Down Expand Up @@ -149,6 +149,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 @@ -185,6 +191,12 @@ packages:
- axi
- common_cells
- register_interface
kulcluster:
revision: e348b6275c79e1b20510f2ee6d497a49fb2699b6
version: null
source:
Git: [email protected]:es/convolve-private/kulcluster.git
dependencies: []
memory_island:
revision: 64828cb7a9ccc1f1656ec92d06129072f445c319
version: null
Expand Down Expand Up @@ -268,6 +280,24 @@ packages:
Git: https://github.com/pulp-platform/tech_cells_generic.git
dependencies:
- common_verification
tuddcim:
revision: 5254a92569a24d1eac28cb8093ea2a8f81a855d5
version: null
source:
Git: [email protected]:es/convolve-private/tuddcim.git
dependencies: []
tuedcim:
revision: 8b3ec32ffe3487a59b45fa49391e8a36196a64c9
version: null
source:
Git: [email protected]:es/convolve-private/tuedcim.git
dependencies: []
tuemega:
revision: b0b1fd2ba0733edb1ecdf6bdb758c005ee385499
version: null
source:
Git: [email protected]:es/convolve-private/tuemega.git
dependencies: []
unbent:
revision: e9c9d5cfb635f2d4668c816ce9235798cfecb297
version: 0.1.6
Expand Down
25 changes: 25 additions & 0 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ dependencies:
idma: { git: "https://github.com/pulp-platform/iDMA.git", rev: 9edf489f57389dce5e71252c79e337f527d3aded}
memory_island: { git: "https://github.com/pulp-platform/memory_island.git", rev: 64828cb7a9ccc1f1656ec92d06129072f445c319 } # main branch
apb: { git: "https://github.com/pulp-platform/apb.git", version: 0.2.4 }
TUEDCIM: { git: "[email protected]:es/convolve-private/tuedcim.git", rev: 10102024}
TUEMEGA: { git: "[email protected]:es/convolve-private/tuemega.git", rev: 11102024}
TUDDCIM: { git: "[email protected]:es/convolve-private/tuddcim.git", rev: 11102024-6}
KULCLUSTER: { git: "[email protected]:es/convolve-private/kulcluster.git", rev: 11102024}
ETHCluster: { git: "[email protected]:es/convolve-private/ethcluster.git", rev: 8ab985c}

export_include_dirs:
- hw/include
Expand Down Expand Up @@ -45,6 +50,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 @@ -9,3 +9,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
8 changes: 4 additions & 4 deletions chimera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# Lorenzo Leone <[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 @@ -66,7 +66,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