Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jun 27, 2024
1 parent 05ed94c commit 7b50ac8
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/vexiiriscv/soc/litex/Soc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ speaker-test -t wav -c 6
speaker-test -t wav -c 6 -d btheadset
pacmd list-sinks
aplay -d bluealsa piano2.wav
mpg123 -a bluealsa http://stream.radioparadise.com/mp3-192
mpg123 -a bluealsa -b 1024 http://stream.radioparadise.com/mp3-192
https://agl-gsod-2020-demo-mkdocs.readthedocs.io/en/latest/icefish/apis_services/reference/audio/audio/bluez-alsa/
Expand Down
112 changes: 56 additions & 56 deletions src/test/scala/vexiiriscv/scratchpad/Synt.scala
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ object IntegrationSynthBench extends App{
// p.withLateAlu = true
// }

// add("") { p =>
// p.regFileSync = false
// p.withMul = false
// p.withDiv = false
// p.withGShare = true
// p.withBtb = true
// p.withRas = true
// }
add("") { p =>
p.regFileSync = false
p.withMul = false
p.withDiv = false
p.withGShare = true
p.withBtb = true
p.withRas = true
}
// add("") { p =>
// p.regFileSync = false
// p.withMul = false
Expand Down Expand Up @@ -629,53 +629,53 @@ object IntegrationSynthBench extends App{
// new StreamFifo(UInt(8 bits), 16)
// })

// rtls += Rtl(sc.generateVerilog {
// val param = new ParamSimple
// import param._
// decoders = 1
// lanes = 1
// regFileSync = false
// withGShare = true
// withBtb = true
// withRas = true
// withMul = true
// withDiv = true
// divArea = false
//
// xlen = 64
// withRva = true
// withRvc = true
// withAlignerBuffer = true
//
// allowBypassFrom = 0
// relaxedBranch = true
// withPerformanceCounters = true
// additionalPerformanceCounters = 0
//
// fetchL1Enable = true
// fetchL1Sets = 64
// fetchL1Ways = 4
//
// lsuL1Enable = true
// lsuL1Sets = 64
// lsuL1Ways = 4
// lsuL1RefillCount = 2
// lsuL1WritebackCount = 2
// lsuStoreBufferSlots = 2
// lsuStoreBufferOps = 32
// lsuL1Coherency = true
//
//
// val plugins = param.plugins()
// ParamSimple.setPma(plugins)
// plugins.foreach {
// case p: LsuL1Plugin =>
// p.ackIdWidth = 8
// p.probeIdWidth = log2Up(p.writebackCount)
// case _ =>
// }
// Rtl.ffIo(VexiiRiscv(plugins).setDefinitionName("vexii_debian_no_fpu"))
// })
rtls += Rtl(sc.generateVerilog {
val param = new ParamSimple
import param._
decoders = 1
lanes = 1
regFileSync = false
withGShare = true
withBtb = true
withRas = true
withMul = true
withDiv = true
divArea = false

xlen = 64
withRva = true
withRvc = true
withAlignerBuffer = true

allowBypassFrom = 0
relaxedBranch = true
withPerformanceCounters = true
additionalPerformanceCounters = 0

fetchL1Enable = true
fetchL1Sets = 64
fetchL1Ways = 4

lsuL1Enable = true
lsuL1Sets = 64
lsuL1Ways = 4
lsuL1RefillCount = 2
lsuL1WritebackCount = 2
lsuStoreBufferSlots = 2
lsuStoreBufferOps = 32
lsuL1Coherency = true


val plugins = param.plugins()
ParamSimple.setPma(plugins)
plugins.foreach {
case p: LsuL1Plugin =>
p.ackIdWidth = 8
p.probeIdWidth = log2Up(p.writebackCount)
case _ =>
}
Rtl.ffIo(VexiiRiscv(plugins).setDefinitionName("vexii_debian_no_fpu"))
})


// rtls += Rtl(sc.generateVerilog {
Expand Down Expand Up @@ -735,7 +735,7 @@ object IntegrationSynthBench extends App{
// })

val targets = ArrayBuffer[Target]()
targets ++= XilinxStdTargets(withFMax = true, withArea = true)
targets ++= XilinxStdTargets(withFMax = true, withArea = false)
// targets ++= AlteraStdTargets()
// targets ++= EfinixStdTargets(withFMax = true, withArea = true)

Expand Down

0 comments on commit 7b50ac8

Please sign in to comment.