cpu/rocket: add dual-core (smp) variants

- 2-core "linux" (fpu-less) variants with double, quad mem. bus width
This commit is contained in:
Gabriel Somlo 2021-10-04 16:00:32 -04:00
parent f03a15820b
commit 18bd8f3770
1 changed files with 6 additions and 0 deletions

View File

@ -47,7 +47,9 @@ CPU_VARIANTS = {
"linux": "freechips.rocketchip.system.LitexLinuxConfig",
"linux4": "freechips.rocketchip.system.LitexLinux4Config",
"linuxd": "freechips.rocketchip.system.LitexLinuxDConfig",
"linux2d": "freechips.rocketchip.system.LitexLinux2DConfig",
"linuxq": "freechips.rocketchip.system.LitexLinuxQConfig",
"linux2q": "freechips.rocketchip.system.LitexLinux2QConfig",
"full": "freechips.rocketchip.system.LitexFullConfig",
"full4d": "freechips.rocketchip.system.LitexFull4DConfig",
"full4q": "freechips.rocketchip.system.LitexFull4QConfig",
@ -60,7 +62,9 @@ GCC_FLAGS = {
"linux": "-march=rv64imac -mabi=lp64 ",
"linux4": "-march=rv64imac -mabi=lp64 ",
"linuxd": "-march=rv64imac -mabi=lp64 ",
"linux2d": "-march=rv64imac -mabi=lp64 ",
"linuxq": "-march=rv64imac -mabi=lp64 ",
"linux2q": "-march=rv64imac -mabi=lp64 ",
"full": "-march=rv64imafdc -mabi=lp64 ",
"full4d": "-march=rv64imafdc -mabi=lp64 ",
"full4q": "-march=rv64imafdc -mabi=lp64 ",
@ -74,7 +78,9 @@ CPU_SIZE_PARAMS = {
"linux": ( 64, 64, 1),
"linux4": ( 64, 64, 4),
"linuxd": ( 128, 64, 1),
"linux2d": ( 128, 64, 2),
"linuxq": ( 256, 64, 1),
"linux2q": ( 256, 64, 2),
"full": ( 64, 64, 1),
"full4d": ( 128, 64, 4),
"full4q": ( 256, 64, 4),