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

Single Gemmini with Multicore #1422

Open
3 tasks done
RaphaelKlink opened this issue Apr 3, 2023 · 0 comments
Open
3 tasks done

Single Gemmini with Multicore #1422

RaphaelKlink opened this issue Apr 3, 2023 · 0 comments
Labels

Comments

@RaphaelKlink
Copy link

RaphaelKlink commented Apr 3, 2023

Background Work

Chipyard Version and Hash

Release: 1.8.0

OS Setup

Ubuntu 22.04

Other Setup

Ex: Prior steps taken / Documentation Followed / etc...

Current Behavior

Hey,

i am trying to add a single Gemmini to a multicore system.
I have tried to copy and change the hwacha example but i get an error :

polymorphic expression cannot be instantiated to expected type

CONFIG:
class LargeBoomAndGemminiRocketConfig extends Config(
new chipyard.config.WithMultiRoCC ++ // support heterogeneous rocc
new chipyard.config.WithMultiRoCCGemmini(0) ++ // put hwacha on hart-0 (rocket)
new gemmini.DefaultGemminiConfig ++ // use Gemmini systolic array GEMM accelerator
new boom.common.WithNLargeBooms(1) ++ // add 1 boom cores
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // add 1 rocket core
new chipyard.config.AbstractConfig)

error log:
[error] /home/chipyard/generators/chipyard/src/main/scala/config/HeteroConfigs.scala:43:3: polymorphic expression cannot be instantiated to expected type;
[error] found : [T <: chisel3.Data, U <: chisel3.Data, V <: chisel3.Data](gemminiConfig: gemmini.GemminiArrayConfig[T,U,V])(implicit evidence$1: gemmini.Arithmetic[T])chipyard.config.WithMultiRoCCGemmini[T,U,V]
[error] required: freechips.rocketchip.config.Parameters
[error] new chipyard.config.WithMultiRoCCGemmini(0) ++ // put hwacha on hart-0 (rocket)
[error] ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 7 s, completed Apr 3, 2023, 3:55:40 PM
make: *** [ /home/chipyard/common.mk:106: generator_temp] Error 1

Expected Behavior

WithMultiRoCCGemmini should work similar to WithMultiRoCCHwacha

Other Information

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

1 participant