Skip to content

Commit 7ebffe6

Browse files
committed
chore: rename modules and files
1 parent aecac8f commit 7ebffe6

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

gowin/spinal/hw/spinal/axi4ddr3/Config.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ object Config {
1010
}
1111

1212
object GOWIN_AXI4_DDR3 extends App {
13-
Config.spinal.generateVerilog(Paski_GowinDDR_AXI4(ClockDomain.external("sys_clk"), ClockDomain.external("mem_clk")))
13+
Config.spinal.generateVerilog(GowinDDR_AXI4(ClockDomain.external("sys_clk"), ClockDomain.external("mem_clk")))
1414
}

gowin/spinal/hw/spinal/axi4ddr3/Paski_GowinDDR_AXI4.scala renamed to gowin/spinal/hw/spinal/axi4ddr3/GowinDDR_AXI4.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ import spinal.lib.bus.amba4.axi.Axi4Shared
55
import spinal.lib.{master, slave}
66

77
// sys_clk: 27MHz mem_clk: 400MHz
8-
case class Paski_GowinDDR_AXI4(sys_clk: ClockDomain, mem_clk: ClockDomain) extends Component {
8+
case class GowinDDR_AXI4(sys_clk: ClockDomain, mem_clk: ClockDomain) extends Component {
99

1010
val gowin_DDR3 = Gowin_DDR3(
1111
sys_clk,
1212
mem_clk
1313
)
1414
val ddr_ref_clk = gowin_DDR3.clk_out
1515

16-
val axi4cache = Paski_GowinDDR_AXI4WithCache(
16+
val axi4cache = GowinDDR_AXI4WithCache(
1717
sys_clk,
1818
32,
1919
27,
2020
4
2121
)
2222

23-
val axi4ctrl = Paski_GowinDDR14_Controller(
23+
val axi4ctrl = GowinDDR14_Controller(
2424
sys_clk,
2525
ddr_ref_clk,
2626
contextType = axi4cache.context_type,

gowin/spinal/hw/spinal/axi4ddr3/Paski_GowinDDR_AXI4WithCache.scala renamed to gowin/spinal/hw/spinal/axi4ddr3/GowinDDR_AXI4WithCache.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import spinal.lib.{master, slave, Stream}
99
// val last = Bool()
1010
// }
1111

12-
case class Paski_GowinDDR_AXI4WithCache(sys_clk: ClockDomain, dataWidth: Int, axiaddrlen: Int, idWidth: Int, addrlen: Int = 27, burstlen: Int = 6) extends Component {
12+
case class GowinDDR_AXI4WithCache(sys_clk: ClockDomain, dataWidth: Int, axiaddrlen: Int, idWidth: Int, addrlen: Int = 27, burstlen: Int = 6) extends Component {
1313

1414
val sys_clk_inst = sys_clk
1515

gowin/spinal/hw/spinal/axi4ddr3/Paski_GowinDDR14_Controller.scala renamed to gowin/spinal/hw/spinal/axi4ddr3/GowinDDR_Controller.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ case class Paski_GowinDDR_PayloadRSP[T <: Data](contextType: T) extends Bundle {
2121
val context = cloneOf(contextType)
2222
}
2323

24-
case class Paski_GowinDDR14_Controller[T <: Data](sys_clk: ClockDomain, ddr_ref_clk: ClockDomain, addrlen: Int = 27, burstlen: Int = 6, fifo_length: Int = 32, contextType: T) extends Component {
24+
case class GowinDDR14_Controller[T <: Data](sys_clk: ClockDomain, ddr_ref_clk: ClockDomain, addrlen: Int = 27, burstlen: Int = 6, fifo_length: Int = 32, contextType: T) extends Component {
2525

2626
val sys_clk_inst = sys_clk
2727
val ddr_ref_clk_inst = ddr_ref_clk

0 commit comments

Comments
 (0)