diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | newnewexi.chn | 6 | ||||
| -rw-r--r-- | newnewexi.pld | 6 |
3 files changed, 11 insertions, 2 deletions
@@ -9,3 +9,4 @@ *.pin
*.so
*.wo
+*.svf
diff --git a/newnewexi.chn b/newnewexi.chn new file mode 100644 index 0000000..8eaca02 --- /dev/null +++ b/newnewexi.chn @@ -0,0 +1,6 @@ +1 4 1 0 + +ATF1504ASV +10 +4 +C:\users\steamuser\Documents\newnewexi\newnewexi.jed diff --git a/newnewexi.pld b/newnewexi.pld index 590be55..5f58bec 100644 --- a/newnewexi.pld +++ b/newnewexi.pld @@ -22,8 +22,8 @@ Device F1504ISPTQFP44; Pin 37 = EXI_CLK; /* IN: EXI bit clock (act on rising edge) */
Pin 34 = !EXI_CS; /* IN: EXI chip select (active-low) - device in standby when FALSE */
-Pin 43 = EXI_DO; /* OUT: EXI data (slave out) */
-Pin 42 = EXI_DI; /* IN: EXI data (slave in) */
+Pin 43 = EXI_DI; /* OUT: EXI data (slave out) */
+Pin 42 = EXI_DO; /* IN: EXI data (slave in) */
Pin 44 = EXI_INT; /* OUT: EXI interrupt (not used) */
/** USB-side pins **/
@@ -60,6 +60,8 @@ Field EXI_State = [EXI_SEQ3..0]; /* Clock state */ Enable = EXI_CS & USB_PWREN;
LED = LED_STATE # !USB_PWREN; /* LED should be on if USB isn't set up yet, or if requested by EXI */
+EXI_DO.OE = Enable;
+
$Repeat i = [0..3]
/* EXI_SEQ state machine clocked by EXI (assuming we're selected) */
EXI_SEQ{i}.CKMUX = EXI_CLK;
|
