mirror of https://github.com/YosysHQ/yosys.git
greenpak4: Added INT pin to GP_SPI
This commit is contained in:
parent
6b526e9382
commit
ada98844b9
|
@ -596,10 +596,12 @@ module GP_SPI(
|
||||||
input[7:0] TXD_HIGH,
|
input[7:0] TXD_HIGH,
|
||||||
input[7:0] TXD_LOW,
|
input[7:0] TXD_LOW,
|
||||||
output reg[7:0] RXD_HIGH,
|
output reg[7:0] RXD_HIGH,
|
||||||
output reg[7:0] RXD_LOW);
|
output reg[7:0] RXD_LOW,
|
||||||
|
output reg INT);
|
||||||
|
|
||||||
initial DOUT_HIGH = 0;
|
initial DOUT_HIGH = 0;
|
||||||
initial DOUT_LOW = 0;
|
initial DOUT_LOW = 0;
|
||||||
|
initial INT = 0;
|
||||||
|
|
||||||
parameter DATA_WIDTH = 8; //byte or word width
|
parameter DATA_WIDTH = 8; //byte or word width
|
||||||
parameter SPI_CPHA = 0; //SPI clock phase
|
parameter SPI_CPHA = 0; //SPI clock phase
|
||||||
|
|
Loading…
Reference in New Issue