greenpak4: replaced MOSI/MISO with single one-way SDAT pin

This commit is contained in:
Andrew Zonenberg 2016-12-20 12:34:56 +08:00
parent d4a05b499e
commit 073e8df9f1
1 changed files with 1 additions and 2 deletions

View File

@ -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;