Move example/utilities to generator directory
This commit is contained in:
@@ -8,8 +8,8 @@ SHELL=/bin/bash
|
|||||||
#########################################################################################
|
#########################################################################################
|
||||||
lookup_scala_srcs = $(shell find -L $(1)/ -iname "*.scala" 2> /dev/null)
|
lookup_scala_srcs = $(shell find -L $(1)/ -iname "*.scala" 2> /dev/null)
|
||||||
|
|
||||||
PACKAGES=rocket-chip testchipip boom hwacha sifive-blocks
|
PACKAGES=rocket-chip testchipip boom hwacha sifive-blocks utilities example
|
||||||
SCALA_SOURCES=$(foreach pkg,$(PACKAGES),$(call lookup_scala_srcs,$(base_dir)/generators/$(pkg)/src/main/scala)) $(call lookup_scala_srcs,$(base_dir)/example/src/main/scala) $(call lookup_scala_srcs,$(base_dir)/utilities/src/main/scala)
|
SCALA_SOURCES=$(foreach pkg,$(PACKAGES),$(call lookup_scala_srcs,$(base_dir)/generators/$(pkg)/src/main/scala))
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
# rocket and testchipip classes
|
# rocket and testchipip classes
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package example
|
|||||||
|
|
||||||
import chisel3._
|
import chisel3._
|
||||||
import freechips.rocketchip.config.{Config}
|
import freechips.rocketchip.config.{Config}
|
||||||
import freechips.rocketchip.subsystem.{WithRoccExample, WithNMemoryChannels, WithNBigCores, WithRV32}
|
import freechips.rocketchip.subsystem.{WithRoccExample, WithNMemoryChannels, WithNBigCores, WithRV32, WithExtMemSize}
|
||||||
import testchipip._
|
import testchipip._
|
||||||
|
|
||||||
// --------------
|
// --------------
|
||||||
@@ -56,6 +56,10 @@ class GPIORocketConfig extends Config(
|
|||||||
new WithGPIORocketTop ++
|
new WithGPIORocketTop ++
|
||||||
new BaseRocketConfig)
|
new BaseRocketConfig)
|
||||||
|
|
||||||
|
class GB1MemoryConfig extends Config(
|
||||||
|
new WithExtMemSize((1<<30) * 1L) ++
|
||||||
|
new DefaultRocketConfig)
|
||||||
|
|
||||||
// ------------
|
// ------------
|
||||||
// BOOM Configs
|
// BOOM Configs
|
||||||
// ------------
|
// ------------
|
||||||
Reference in New Issue
Block a user