summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <bigfoot@figboot.dev>2026-06-04 21:47:40 -0500
committerLibravatar bigfoot547 <bigfoot@figboot.dev>2026-06-04 21:47:40 -0500
commitc5e00a560584127a1e0efee2dba28cebdac6c52c (patch)
tree8924ba0586f4e40dcf2d2aaf13c328d82142061f
parentmove more pins around (diff)
-rw-r--r--.gitignore1
-rw-r--r--newnewexi.chn6
-rw-r--r--newnewexi.pld6
3 files changed, 11 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 142bd6c..8f0bc20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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;