compile pass

This commit is contained in:
RuigeLee
2023-07-20 14:58:59 +08:00
parent fa748b7de9
commit 0b48e2cd2b
7 changed files with 432 additions and 415 deletions

View File

@@ -60,7 +60,7 @@ class MacAXI(implicit p: Parameters) extends Mac{
tlMasterNode := xbar := AXI4ToTL() := AXI4UserYanker(Some(1)) := AXI4Fragmenter() := axiConfigPort
tlError.node := xbar
// tlError.node := xbar
val intSinkNode = IntSinkNode(IntSinkPortSimple())
intSinkNode := int_node

View File

@@ -37,11 +37,13 @@ class MacTest(implicit p: Parameters) extends Mac{
))
)))
tlMasterNode := tlClientIONode
val tlBar = TLXbar()
tlMasterNode := tlBar := tlClientIONode
ethReg.configNode := tlBar
val intSinkNode = IntSinkNode(IntSinkPortSimple())
intSinkNode := int_node
intSinkNode := ethReg.int_node
val tlSlv = InModuleBody {
tlClientIONode.makeIOs()

View File

@@ -19,7 +19,7 @@ object testModule extends App {
(new chisel3.stage.ChiselStage).execute( Array("--show-registrations", "--full-stacktrace", "--target-dir", "generated/Main") ++ args, Seq(
ChiselGeneratorAnnotation(() => {
val soc = LazyModule(new MacAXI()(cfg))
val soc = LazyModule(new MacTest()(cfg))
soc.module
})
))