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

Error while executing "make buildfile CONFIG=GemminiRocketConfig tutorial=sky130-openroad" #2035

Open
3 tasks done
chihyu-box opened this issue Sep 7, 2024 · 2 comments
Open
3 tasks done
Labels

Comments

@chihyu-box
Copy link

Background Work

Chipyard Version and Hash

Release: latest
Hash: 3705580

OS Setup

Linux yu-virtual-machine 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Other Setup

N/A

Current Behavior

Executing make buildfile CONFIG=GemminiRocketConfig tutorial=sky130-openroad raised the following error.
Is this error caused by firtool not supporting this kind of expression?

generators/gemmini/src/main/scala/gemmini/DMA.scala:560:32: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:560:32: note: see current operation: %1313 = "comb.mux"(%1002, %1311, %1312) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:560:32: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:560:32: note: see current operation: %1313 = "comb.mux"(%1002, %1311, %1312) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1312 = "hw.array_create"(%1148, %1146, %1144, %1142) : (i5, i5, i5, i5) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1311 = "comb.mux"(%928, %1307, %1310) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1310 = "comb.mux"(%886, %1308, %1309) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1310 = "comb.mux"(%886, %1308, %1309) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1309 = "hw.array_create"(%469, %461, %452, %444) : (i5, i5, i5, i5) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1310 = "comb.mux"(%886, %1308, %1309) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1308 = "hw.array_create"(%621, %613, %605, %594) : (i5, i5, i5, i5) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1311 = "comb.mux"(%928, %1307, %1310) <{twoState}> : (i1, !hw.array<4xi5>, !hw.array<4xi5>) -> !hw.array<4xi5>
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/DMA.scala:466:10: note: see current operation: %1307 = "hw.array_create"(%885, %874, %860, %845) : (i5, i5, i5, i5) -> !hw.array<4xi5>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1225 = "comb.mux"(%1002, %1223, %1224) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1225 = "comb.mux"(%1002, %1223, %1224) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1224 = "hw.array_create"(%1134, %1102, %1070, %1038) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1225 = "comb.mux"(%1002, %1223, %1224) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1223 = "hw.array_create"(%994, %978, %962, %946) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1221 = "comb.mux"(%1002, %1219, %1220) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1221 = "comb.mux"(%1002, %1219, %1220) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1220 = "hw.array_create"(%1132, %1100, %1068, %1036) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1221 = "comb.mux"(%1002, %1219, %1220) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1219 = "hw.array_create"(%993, %977, %961, %945) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1217 = "comb.mux"(%1002, %1215, %1216) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1217 = "comb.mux"(%1002, %1215, %1216) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1216 = "hw.array_create"(%1130, %1098, %1066, %1034) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1217 = "comb.mux"(%1002, %1215, %1216) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1215 = "hw.array_create"(%992, %976, %960, %944) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1213 = "comb.mux"(%1002, %1211, %1212) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1213 = "comb.mux"(%1002, %1211, %1212) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1212 = "hw.array_create"(%1128, %1096, %1064, %1032) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1213 = "comb.mux"(%1002, %1211, %1212) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1211 = "hw.array_create"(%991, %975, %959, %943) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1209 = "comb.mux"(%1002, %1207, %1208) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1209 = "comb.mux"(%1002, %1207, %1208) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1208 = "hw.array_create"(%1126, %1094, %1062, %1030) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1209 = "comb.mux"(%1002, %1207, %1208) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1207 = "hw.array_create"(%990, %974, %958, %942) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1205 = "comb.mux"(%1002, %1203, %1204) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1205 = "comb.mux"(%1002, %1203, %1204) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1204 = "hw.array_create"(%1124, %1092, %1060, %1028) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1205 = "comb.mux"(%1002, %1203, %1204) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1203 = "hw.array_create"(%989, %973, %957, %941) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1201 = "comb.mux"(%1002, %1199, %1200) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1201 = "comb.mux"(%1002, %1199, %1200) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1200 = "hw.array_create"(%1122, %1090, %1058, %1026) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1201 = "comb.mux"(%1002, %1199, %1200) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1199 = "hw.array_create"(%988, %972, %956, %940) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1197 = "comb.mux"(%1002, %1195, %1196) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1197 = "comb.mux"(%1002, %1195, %1196) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1196 = "hw.array_create"(%1120, %1088, %1056, %1024) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1197 = "comb.mux"(%1002, %1195, %1196) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1195 = "hw.array_create"(%987, %971, %955, %939) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1193 = "comb.mux"(%1002, %1191, %1192) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1193 = "comb.mux"(%1002, %1191, %1192) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1192 = "hw.array_create"(%1118, %1086, %1054, %1022) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1193 = "comb.mux"(%1002, %1191, %1192) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1191 = "hw.array_create"(%986, %970, %954, %938) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1189 = "comb.mux"(%1002, %1187, %1188) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1189 = "comb.mux"(%1002, %1187, %1188) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1188 = "hw.array_create"(%1116, %1084, %1052, %1020) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1189 = "comb.mux"(%1002, %1187, %1188) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1187 = "hw.array_create"(%985, %969, %953, %937) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1185 = "comb.mux"(%1002, %1183, %1184) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1185 = "comb.mux"(%1002, %1183, %1184) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1184 = "hw.array_create"(%1114, %1082, %1050, %1018) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1185 = "comb.mux"(%1002, %1183, %1184) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1183 = "hw.array_create"(%984, %968, %952, %936) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1181 = "comb.mux"(%1002, %1179, %1180) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1181 = "comb.mux"(%1002, %1179, %1180) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1180 = "hw.array_create"(%1112, %1080, %1048, %1016) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1181 = "comb.mux"(%1002, %1179, %1180) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1179 = "hw.array_create"(%983, %967, %951, %935) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1177 = "comb.mux"(%1002, %1175, %1176) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1177 = "comb.mux"(%1002, %1175, %1176) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1176 = "hw.array_create"(%1110, %1078, %1046, %1014) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1177 = "comb.mux"(%1002, %1175, %1176) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1175 = "hw.array_create"(%982, %966, %950, %934) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1173 = "comb.mux"(%1002, %1171, %1172) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1173 = "comb.mux"(%1002, %1171, %1172) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1172 = "hw.array_create"(%1108, %1076, %1044, %1012) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1173 = "comb.mux"(%1002, %1171, %1172) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1171 = "hw.array_create"(%981, %965, %949, %933) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1169 = "comb.mux"(%1002, %1167, %1168) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1169 = "comb.mux"(%1002, %1167, %1168) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1168 = "hw.array_create"(%1106, %1074, %1042, %1010) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1169 = "comb.mux"(%1002, %1167, %1168) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1167 = "hw.array_create"(%980, %964, %948, %932) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1165 = "comb.mux"(%1002, %1163, %1164) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1165 = "comb.mux"(%1002, %1163, %1164) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1164 = "hw.array_create"(%1104, %1072, %1040, %1008) : (i1, i1, i1, i1) -> !hw.array<4xi1>
src/main/scala/chisel3/util/Mux.scala:50:70: error: unsupported packed array expression
src/main/scala/chisel3/util/Mux.scala:50:70: note: see current operation: %1165 = "comb.mux"(%1002, %1163, %1164) <{twoState}> : (i1, !hw.array<4xi1>, !hw.array<4xi1>) -> !hw.array<4xi1>
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: error: unsupported packed array expression
generators/gemmini/src/main/scala/gemmini/Util.scala:91:8: note: see current operation: %1163 = "hw.array_create"(%979, %963, %947, %931) : (i1, i1, i1, i1) -> !hw.array<4xi1>
===-------------------------------------------------------------------------===
                         ... Execution time report ...
===-------------------------------------------------------------------------===
  Total Execution Time: 38.9539 seconds

  ----User Time----  ----Wall Time----  ----Name----
    3.1950 (  5.4%)    3.1950 (  8.2%)  FIR Parser
    0.1772 (  0.3%)    0.1772 (  0.5%)    Parse annotations
    0.0000 (  0.0%)    0.0000 (  0.0%)    Parse OMIR
    2.3891 (  4.0%)    2.3891 (  6.1%)    Parse modules
    0.5733 (  1.0%)    0.5733 (  1.5%)    Verify circuit
   36.7368 ( 61.8%)   22.5728 ( 57.9%)  'firrtl.circuit' Pipeline
    0.0487 (  0.1%)    0.0487 (  0.1%)    LowerOpenAggs
    0.6478 (  1.1%)    0.6478 (  1.7%)    ResolvePaths
    0.0347 (  0.1%)    0.0347 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.6008 (  1.0%)    0.6008 (  1.5%)    LowerFIRRTLAnnotations
    0.0374 (  0.1%)    0.0374 (  0.1%)    LowerIntmodules
    0.0371 (  0.1%)    0.0371 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.1535 (  0.3%)    0.0777 (  0.2%)    'firrtl.module' Pipeline
    0.1430 (  0.2%)    0.0733 (  0.2%)      LowerIntrinsics
    0.7758 (  1.3%)    0.7758 (  2.0%)    LowerSignatures
    0.0000 (  0.0%)    0.0000 (  0.0%)    InjectDUTHierarchy
    4.2690 (  7.2%)    2.1356 (  5.5%)    'firrtl.module' Pipeline
    0.8528 (  1.4%)    0.4300 (  1.1%)      PassiveWires
    1.2704 (  2.1%)    0.6441 (  1.7%)      DropName
    1.2233 (  2.1%)    0.6149 (  1.6%)      CSE
    0.0022 (  0.0%)    0.0013 (  0.0%)        (A) DominanceInfo
    0.1927 (  0.3%)    0.0988 (  0.3%)      LowerCHIRRTLPass
    0.7079 (  1.2%)    0.3542 (  0.9%)      LowerMatches
    1.1574 (  1.9%)    1.1574 (  3.0%)    InferWidths
    0.0002 (  0.0%)    0.0002 (  0.0%)      (A) SymbolTable
    0.0510 (  0.1%)    0.0510 (  0.1%)      (A) circt::hw::InnerSymbolTableCollection
    0.5513 (  0.9%)    0.5513 (  1.4%)    MemToRegOfVec
    0.8796 (  1.5%)    0.8796 (  2.3%)    InferResets
    0.0345 (  0.1%)    0.0345 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.7175 (  1.2%)    0.7175 (  1.8%)    DropConst
    0.0051 (  0.0%)    0.0051 (  0.0%)    HoistPassthrough
    1.2459 (  2.1%)    1.2459 (  3.2%)    Dedup
    0.0007 (  0.0%)    0.0007 (  0.0%)      (A) circt::firrtl::NLATable
    0.0002 (  0.0%)    0.0002 (  0.0%)      (A) SymbolTable
    0.7566 (  1.3%)    0.3881 (  1.0%)    'firrtl.module' Pipeline
    0.7543 (  1.3%)    0.3867 (  1.0%)      FlattenMemory
    1.6421 (  2.8%)    1.6421 (  4.2%)    LowerFIRRTLTypes
    0.0000 (  0.0%)    0.0000 (  0.0%)      (A) SymbolTable
    1.2369 (  2.1%)    0.6334 (  1.6%)    'any' Pipeline
    1.2356 (  2.1%)    0.6328 (  1.6%)      ExpandWhens
    2.5835 (  4.3%)    1.3621 (  3.5%)    'firrtl.module' Pipeline
    0.7752 (  1.3%)    0.4014 (  1.0%)      SFCCompat
    0.8495 (  1.4%)    0.4274 (  1.1%)      LayerMerge
    0.9533 (  1.6%)    0.5318 (  1.4%)      LayerSink
    0.0009 (  0.0%)    0.0006 (  0.0%)        (A) DominanceInfo
    0.9620 (  1.6%)    0.9620 (  2.5%)    LowerLayers
    1.2836 (  2.2%)    1.2836 (  3.3%)    Inliner
    0.0000 (  0.0%)    0.0000 (  0.0%)      (A) SymbolTable
    0.9793 (  1.6%)    0.4993 (  1.3%)    'firrtl.module' Pipeline
    0.9778 (  1.6%)    0.4984 (  1.3%)      RandomizeRegisterInit
    0.7223 (  1.2%)    0.7223 (  1.9%)    CheckCombLoops
    0.0530 (  0.1%)    0.0530 (  0.1%)      (A) circt::firrtl::InstanceGraph
    4.1851 (  7.0%)    2.1562 (  5.5%)    'firrtl.module' Pipeline
    3.7073 (  6.2%)    1.9363 (  5.0%)      Canonicalizer
    0.4743 (  0.8%)    0.2558 (  0.7%)      InferReadWrite
    0.5613 (  0.9%)    0.5613 (  1.4%)    LowerMemory
    0.0352 (  0.1%)    0.0352 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.0003 (  0.0%)    0.0003 (  0.0%)      (A) SymbolTable
    0.2051 (  0.3%)    0.2051 (  0.5%)    PrefixModules
    0.0378 (  0.1%)    0.0378 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.0002 (  0.0%)    0.0002 (  0.0%)      (A) circt::firrtl::NLATable
    1.6250 (  2.7%)    1.6250 (  4.2%)    IMConstProp
    0.0422 (  0.1%)    0.0422 (  0.1%)    HoistPassthrough
    0.0367 (  0.1%)    0.0367 (  0.1%)      (A) circt::firrtl::InstanceGraph
    1.1767 (  2.0%)    1.1767 (  3.0%)  IMDeadCodeElim
    0.0314 (  0.1%)    0.0314 (  0.1%)    (A) circt::firrtl::InstanceGraph
    0.0001 (  0.0%)    0.0001 (  0.0%)    (A) SymbolTable
    0.0413 (  0.1%)    0.0413 (  0.1%)    (A) circt::hw::InnerSymbolTableCollection
    0.0267 (  0.0%)    0.0267 (  0.1%)  'firrtl.circuit' Pipeline
    0.0267 (  0.0%)    0.0267 (  0.1%)    AddSeqMemPorts
    0.0261 (  0.0%)    0.0261 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.3473 (  0.6%)    0.3473 (  0.9%)  CreateSiFiveMetadata
    0.0258 (  0.0%)    0.0258 (  0.1%)    (A) circt::firrtl::InstanceGraph
    1.0650 (  1.8%)    1.0650 (  2.7%)  'firrtl.circuit' Pipeline
    0.0707 (  0.1%)    0.0707 (  0.2%)    ExtractInstances
    0.0249 (  0.0%)    0.0249 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.0007 (  0.0%)    0.0007 (  0.0%)      (A) circt::firrtl::NLATable
    0.0001 (  0.0%)    0.0001 (  0.0%)    GrandCentral
    0.4016 (  0.7%)    0.4016 (  1.0%)    BlackBoxReader
    0.5926 (  1.0%)    0.5926 (  1.5%)    SymbolDCE
    0.6374 (  1.1%)    0.6374 (  1.6%)  InnerSymbolDCE
    2.9438 (  5.0%)    1.8185 (  4.7%)  'firrtl.circuit' Pipeline
    1.1253 (  1.9%)    0.5632 (  1.4%)    'firrtl.module' Pipeline
    0.8288 (  1.4%)    0.4163 (  1.1%)      Canonicalizer
    0.2931 (  0.5%)    0.1491 (  0.4%)      RegisterOptimizer
    1.1247 (  1.9%)    1.1247 (  2.9%)    IMConstProp
    0.0300 (  0.1%)    0.0300 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.8913 (  1.5%)    0.8913 (  2.3%)  IMDeadCodeElim
    0.0291 (  0.0%)    0.0291 (  0.1%)    (A) circt::firrtl::InstanceGraph
    0.0001 (  0.0%)    0.0001 (  0.0%)    (A) SymbolTable
    0.0328 (  0.1%)    0.0328 (  0.1%)    (A) circt::hw::InnerSymbolTableCollection
    2.6084 (  4.4%)    1.8450 (  4.7%)  'firrtl.circuit' Pipeline
    0.0000 (  0.0%)    0.0000 (  0.0%)    EmitOMIR
    0.7149 (  1.2%)    0.3578 (  0.9%)    'firrtl.module' Pipeline
    0.0684 (  0.1%)    0.0363 (  0.1%)      MergeConnections
    0.6443 (  1.1%)    0.3245 (  0.8%)      Vectorization
    0.0727 (  0.1%)    0.0727 (  0.2%)    ResolveTraces
    0.0001 (  0.0%)    0.0001 (  0.0%)      (A) circt::firrtl::NLATable
    0.0347 (  0.1%)    0.0347 (  0.1%)      (A) circt::hw::InnerSymbolTableCollection
    0.4071 (  0.7%)    0.4071 (  1.0%)    LowerXMR
    0.0249 (  0.0%)    0.0249 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.7322 (  1.2%)    0.7322 (  1.9%)    LowerClasses
    0.0265 (  0.0%)    0.0265 (  0.1%)      (A) circt::firrtl::InstanceGraph
    0.0003 (  0.0%)    0.0003 (  0.0%)      (A) SymbolTable
    0.0003 (  0.0%)    0.0003 (  0.0%)    VerifyObjectFields
    0.0000 (  0.0%)    0.0000 (  0.0%)      (A) SymbolTable
    0.0485 (  0.1%)    0.0243 (  0.1%)    'firrtl.module' Pipeline
    0.0455 (  0.1%)    0.0228 (  0.1%)      Lint
    1.3926 (  2.3%)    1.3926 (  3.6%)  LowerFIRRTLToHW
    0.0274 (  0.0%)    0.0274 (  0.1%)    (A) circt::firrtl::InstanceGraph
    0.0001 (  0.0%)    0.0001 (  0.0%)    (A) circt::firrtl::NLATable
    2.0056 (  3.4%)    1.0043 (  2.6%)  'hw.module' Pipeline
    0.5449 (  0.9%)    0.2769 (  0.7%)    CSE
    0.0008 (  0.0%)    0.0004 (  0.0%)      (A) DominanceInfo
    1.4584 (  2.5%)    0.7351 (  1.9%)    Canonicalizer
    0.0451 (  0.1%)    0.0451 (  0.1%)  VerifyInnerRefNamespace
    0.0006 (  0.0%)    0.0006 (  0.0%)  VerifyObjectFields
    0.0002 (  0.0%)    0.0002 (  0.0%)    (A) SymbolTable
    0.0367 (  0.1%)    0.0367 (  0.1%)  ExternalizeClockGate
    0.1905 (  0.3%)    0.1905 (  0.5%)  LowerSimToSV
    0.6546 (  1.1%)    0.6546 (  1.7%)  LowerSeqToSV
    0.3563 (  0.6%)    0.1789 (  0.5%)  'hw.module' Pipeline
    0.3549 (  0.6%)    0.1782 (  0.5%)    LowerVerifToSV
    0.2750 (  0.5%)    0.2750 (  0.7%)  HWMemSimImpl
    1.5343 (  2.6%)    0.7675 (  2.0%)  'hw.module' Pipeline
    0.5182 (  0.9%)    0.2608 (  0.7%)    CSE
    0.0008 (  0.0%)    0.0006 (  0.0%)      (A) DominanceInfo
    0.6038 (  1.0%)    0.3040 (  0.8%)    Canonicalizer
    0.2095 (  0.4%)    0.1109 (  0.3%)    CSE
    0.0003 (  0.0%)    0.0002 (  0.0%)      (A) DominanceInfo
    0.1973 (  0.3%)    0.1044 (  0.3%)    HWCleanup
    0.0535 (  0.1%)    0.0535 (  0.1%)  VerifyInnerRefNamespace
    0.0012 (  0.0%)    0.0012 (  0.0%)  VerifyObjectFields
    0.0004 (  0.0%)    0.0004 (  0.0%)    (A) SymbolTable
    0.5563 (  0.9%)    0.2790 (  0.7%)  'hw.module' Pipeline
    0.2365 (  0.4%)    0.1216 (  0.3%)    HWLegalizeModules
    0.2379 (  0.4%)    0.1564 (  0.4%)    PrettifyVerilog
    0.2864 (  0.5%)    0.2864 (  0.7%)  Rest
   59.4593 (100.0%)   38.9539 (100.0%)  Total
make: *** No rule to make target '/home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/model_module_hierarchy.json', needed by '/home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/chipyard.harness.TestHarness.GemminiRocketConfig.top.f'.  Stop.

Expected Behavior

N/A

Other Information

Reproduce the error:

git clone https://github.com/ucb-bar/chipyard.git
cd chipyard
git checkout 3705580bd70a8cfcbb7d27d3badb839938958706
./build-setup.sh riscv-tools
source env.sh
cd vlsi
# Add the tool and technology paths to the example-sky130.yml and example-openroad.yml files.
make buildfile CONFIG=GemminiRocketConfig tutorial=sky130-openroad
@chihyu-box chihyu-box added the bug label Sep 7, 2024
@jerryz123
Copy link
Contributor

The tutorial flow is trying to support Yosys, which does not support SV packed arrays. However, the CIRCT disallowPackedArrays option seems to be broken, as it causes these errors.

@chihyu-box
Copy link
Author

chihyu-box commented Sep 8, 2024

Hi Jerry, I noticed that if I remove disallowPackedArray option from common.mk, the error no longer occur. However, it seems like the sram-cache.json for sky130 is missing an sutiable SRAM for mem_0_ext, which is causing the following error.

Can sram22 generate a suitable SRAM for mem_0_ext?

Content of chipyard.harness.TestHarness.GemminiRocketConfig.top.mems.conf

name cc_dir_ext depth 1024 width 136 ports mrw mask_gran 17 
name cc_banks_0_ext depth 8192 width 64 ports rw 
name rockettile_dcache_data_arrays_0_ext depth 256 width 512 ports mrw mask_gran 8 
name rockettile_dcache_tag_array_ext depth 64 width 176 ports mrw mask_gran 22 
name mem_ext depth 4096 width 128 ports mrw mask_gran 8 
name mem_0_ext depth 512 width 512 ports mwrite,read mask_gran 8 
name rockettile_icache_tag_array_ext depth 64 width 168 ports mrw mask_gran 21 
name rockettile_icache_data_arrays_0_ext depth 256 width 256 ports mrw mask_gran 32 
name mem_1_ext depth 8192 width 64 ports mrw mask_gran 8 

Error log

cd /home/yu/chipyard_2 && java -cp /home/yu/chipyard_2/.classpath_cache/tapeout.jar tapeout.macros.MacroCompiler -n /home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/chipyard.harness.TestHarness.GemminiRocketConfig.top.mems.conf -v /home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/gen-collateral/chipyard.harness.TestHarness.GemminiRocketConfig.top.mems.v -f /home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/chipyard.harness.TestHarness.GemminiRocketConfig.top.mems.fir -l  /home/yu/chipyard_2/.conda-env/lib/python3.10/site-packages/hammer/technology/sky130/sram-cache.json -hir /home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/chipyard.harness.TestHarness.GemminiRocketConfig.mems.hammer.json --mode strict
Picked up JAVA_TOOL_OPTIONS: -Xmx8G -Xss8M -Djava.io.tmpdir=/home/yu/chipyard_2/.java_tmp
Unmasked target memory: unaligned mem maskGran 17 with lib (sram22_4096x8m8w8) width 8 not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 2: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 17 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Unmasked target memory: unaligned mem maskGran 22 with lib (sram22_4096x8m8w8) width 8 not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
Mem maskGran 22 is not a multiple of lib maskGran 8: currently not supported
Error occurred during bitPairs calculations (bitPairs is empty).
INFO: unable to compile mem_0_ext using sram22_4096x8m8w8 port count must match
INFO: unable to compile mem_0_ext using sram22_512x32m4w32 port count must match
INFO: unable to compile mem_0_ext using sram22_64x32m4w32 port count must match
INFO: unable to compile mem_0_ext using sram22_512x64m4w8 port count must match
INFO: unable to compile mem_0_ext using sram22_512x32m4w8 port count must match
INFO: unable to compile mem_0_ext using sram22_64x24m4w24 port count must match
INFO: unable to compile mem_0_ext using sram22_4096x32m8w8 port count must match
INFO: unable to compile mem_0_ext using sram22_256x32m4w8 port count must match
INFO: unable to compile mem_0_ext using sram22_64x4m4w2 port count must match
INFO: unable to compile mem_0_ext using sram22_2048x32m8w8 port count must match
INFO: unable to compile mem_0_ext using sram22_1024x32m8w32 port count must match
INFO: unable to compile mem_0_ext using sram22_1024x32m8w8 port count must match
INFO: unable to compile mem_0_ext using sram22_64x32m4w8 port count must match
Options:
  -n, --macro-conf: The set of macros to compile in firrtl-generated conf format (exclusive with -m)
  -m, --macro-mdf: The set of macros to compile in MDF JSON format (exclusive with -n)
  -l, --library: The set of macros that have blackbox instances
  -u, --use-compiler: Flag, whether to use the memory compiler defined in library
  -v, --verilog: Verilog output
  -f, --firrtl: FIRRTL output (optional)
  -hir, --hammer-ir: Hammer-IR output currently only needed for IP compilers
  -c, --cost-func: Cost function to use. Optional (default: "default")
  -cp, --cost-param: Cost function parameter. (Optional depending on the cost function.). e.g. -c ExternalMetric -cp path /path/to/my/cost/script
  --force-compile [mem]: Force the given memory to be compiled to target libs regardless of the mode
  --force-synflops [mem]: Force the given memory to be compiled via synflops regardless of the mode
  --mode:
    default: Select the default option from below.
    strict: Compile all memories to library or return an error.
    synflops: Produces synthesizable flop-based memories for all memories (do not map to lib at all); likely useful for simulation purposes.
    compileandsynflops: Compile all memories and create mock versions of the target libs with synflops; likely also useful for simulation purposes.
    fallbacksynflops: Compile all memories to library when possible and fall back to synthesizable flop-based memories when library synth is not possible.
    compileavailable: Compile all memories to library when possible and do nothing in case of errors. (default)
tapeout.macros.MacroCompilerException: Target memory mem_0_ext could not be compiled and strict mode is activated - aborting.
	at tapeout.macros.MacroCompilerPass.$anonfun$run$1(MacroCompiler.scala:665)
	at scala.collection.immutable.ArraySeq.foldLeft(ArraySeq.scala:222)
	at tapeout.macros.MacroCompilerPass.run(MacroCompiler.scala:609)
	at firrtl.passes.Pass.execute(Pass.scala:14)
	at firrtl.passes.Pass.execute$(Pass.scala:14)
	at tapeout.macros.MacroCompilerPass.execute(MacroCompiler.scala:134)
	at firrtl.Transform.runTransform(Compiler.scala:349)
	at firrtl.Transform.runTransform$(Compiler.scala:348)
	at tapeout.macros.MacroCompilerPass.runTransform(MacroCompiler.scala:134)
	at tapeout.macros.MacroCompilerTransform.$anonfun$execute$12(MacroCompiler.scala:766)
	at scala.collection.LinearSeqOps.foldLeft(LinearSeq.scala:183)
	at scala.collection.LinearSeqOps.foldLeft$(LinearSeq.scala:179)
	at scala.collection.immutable.List.foldLeft(List.scala:79)
	at tapeout.macros.MacroCompilerTransform.execute(MacroCompiler.scala:766)
	at tapeout.macros.MacroCompiler$.run(MacroCompiler.scala:897)
	at tapeout.macros.MacroCompiler$.delayedEndpoint$tapeout$macros$MacroCompiler$1(MacroCompiler.scala:980)
	at tapeout.macros.MacroCompiler$delayedInit$body.apply(MacroCompiler.scala:787)
	at scala.Function0.apply$mcV$sp(Function0.scala:42)
	at scala.Function0.apply$mcV$sp$(Function0.scala:42)
	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
	at scala.App.$anonfun$main$1(App.scala:98)
	at scala.App.$anonfun$main$1$adapted(App.scala:98)
	at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)
	at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:933)
	at scala.App.main(App.scala:98)
	at scala.App.main$(App.scala:96)
	at tapeout.macros.MacroCompiler$.main(MacroCompiler.scala:787)
	at tapeout.macros.MacroCompiler.main(MacroCompiler.scala)
make: *** No rule to make target '/home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/gen-collateral/chipyard.harness.TestHarness.GemminiRocketConfig.top.mems.v', needed by '/home/yu/chipyard_2/vlsi/generated-src/chipyard.harness.TestHarness.GemminiRocketConfig/syn.f'.  Stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants