mirror of https://github.com/YosysHQ/yosys.git
greenpak4: replaced MOSI/MISO with single one-way SDAT pin
This commit is contained in:
parent
d4a05b499e
commit
073e8df9f1
|
@ -591,7 +591,7 @@ endmodule
|
||||||
|
|
||||||
module GP_SPI(
|
module GP_SPI(
|
||||||
input SCK,
|
input SCK,
|
||||||
input MOSI,
|
inout SDAT,
|
||||||
input CSN,
|
input CSN,
|
||||||
output reg MISO,
|
output reg MISO,
|
||||||
input[7:0] TXD_HIGH,
|
input[7:0] TXD_HIGH,
|
||||||
|
@ -599,7 +599,6 @@ module GP_SPI(
|
||||||
output reg[7:0] RXD_HIGH,
|
output reg[7:0] RXD_HIGH,
|
||||||
output reg[7:0] RXD_LOW);
|
output reg[7:0] RXD_LOW);
|
||||||
|
|
||||||
initial MISO = 0;
|
|
||||||
initial DOUT_HIGH = 0;
|
initial DOUT_HIGH = 0;
|
||||||
initial DOUT_LOW = 0;
|
initial DOUT_LOW = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue