mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-12-22 22:25:50 +00:00
Add DAC Pin definitions to platform in make.py
This commit is contained in:
parent
8c0eee54b4
commit
f5b923ca57
19
make.py
19
make.py
|
@ -211,14 +211,17 @@ class BaseSoC(SoCCore):
|
||||||
|
|
||||||
# GPIO Pins --------------------------------------------------------------------------------
|
# GPIO Pins --------------------------------------------------------------------------------
|
||||||
platform.add_extension([
|
platform.add_extension([
|
||||||
("gpio", 0, Pins("GPIO:0 GPIO:1 GPIO:5 GPIO:6 GPIO:9 GPIO:10 GPIO:11 GPIO:12 GPIO:13 GPIO:18 GPIO:19 GPIO:20 GPIO:21"),
|
("dac_pcm", 0,
|
||||||
IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")),
|
Subsignal("sck", Pins("G4")),
|
||||||
("analog", 0,
|
Subsignal("bck", Pins("N17")),
|
||||||
Subsignal("mux", Pins("F4 F3 F2 H1")),
|
Subsignal("lrck", Pins("M18")),
|
||||||
Subsignal("enable", Pins("F1")),
|
Subsignal("data", Pins("T17")),
|
||||||
Subsignal("ctrl", Pins("G1")),
|
IOStandard("LVCMOS33")
|
||||||
Subsignal("sense_p", Pins("H3"), IOStandard("LVCMOS33D")),
|
),
|
||||||
Subsignal("sense_n", Pins("G3")),
|
("dac_ctrl", 0,
|
||||||
|
Subsignal("ms", Pins("N15")),
|
||||||
|
Subsignal("mc", Pins("R17")),
|
||||||
|
Subsignal("md", Pins("N16")),
|
||||||
IOStandard("LVCMOS33")
|
IOStandard("LVCMOS33")
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue