greenpak4: replaced MOSI/MISO with single one-way SDAT pin
authorAndrew Zonenberg <azonenberg@drawersteak.com>
Tue, 20 Dec 2016 04:34:56 +0000 (12:34 +0800)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Tue, 20 Dec 2016 04:34:56 +0000 (12:34 +0800)
techlibs/greenpak4/cells_sim.v

index b3060b14aa3f6c4eba0e409fb022a2c5d9fdcdda..3263c4ebcb8c227bfccd418a8e4073312d949659 100644 (file)
@@ -591,7 +591,7 @@ endmodule
 
 module GP_SPI(
        input SCK,
-       input MOSI,
+       inout SDAT,
        input CSN,
        output reg MISO,
        input[7:0] TXD_HIGH,
@@ -599,7 +599,6 @@ module GP_SPI(
        output reg[7:0] RXD_HIGH,
        output reg[7:0] RXD_LOW);
 
-       initial MISO = 0;
        initial DOUT_HIGH = 0;
        initial DOUT_LOW = 0;