From c5e00a560584127a1e0efee2dba28cebdac6c52c Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 4 Jun 2026 21:47:40 -0500 Subject: v1 prototype --- .gitignore | 1 + newnewexi.chn | 6 ++++++ newnewexi.pld | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 newnewexi.chn 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; -- cgit v1.2.3-70-g09d2