21 Commits

Author SHA1 Message Date
1551249b90 RTL: Fix bug in ROM Bank select
At reset the rom bank select was set to follow addr[16:15] until IDE was activated by a write to any IDE reg.

After that it reflects the value of the rom_bankSel register

On a new board with no driver yet in flash this switch would not be triggered, causing the driver to be written to the wrong bank of flash.

Now the switch will flip on any write to the boards range, the flash identification step will trigger this.
2024-04-18 16:25:16 +12:00
7e949f9765 Add option to build for 64K board size 2024-03-02 15:59:49 +13:00
9def334bef Autoconfig: Don't hardcode upper address bits
Kickstart may place the board in the Z2 Memory region if IO area is full.
2024-03-02 15:40:02 +13:00
ec1083faf4 RTL: Only use bank select register after ide enabled
Before then the ROM bank select is connected to A16 to allow loading modules by the bootloader
2023-11-18 19:51:34 +00:00
5e1237c056 Revert timing changes 2023-11-18 19:49:38 +00:00
d92e60953c Fixup pin mapping 2023-10-20 19:06:34 +00:00
b31d9414c2 Change IDECS decode, tweak timing
* Don't latch AS_n on falling edge, setup time not guaranteed
* IOW now active from S4
* On Reads, open IDE buffers as soon as UDS/LDS asserted
2023-10-20 19:06:00 +00:00
1f9973fba7 Expose second Bank select pin from CPLD 2023-10-13 11:44:31 +00:00
7eb51c0ce6 Add flash bank select 2023-10-11 11:02:29 +00:00
36c812807a RTL: Add Proto-A2 Extra IDE Chip selects and update UCF 2023-10-11 10:16:39 +00:00
1ab028f067 Tweaks after testing feedback
* Check RESET length before asserting, seems noise is causing cold-boot issues on BUSRST
* Enable Buffers for reads during S4 regardless of DS'es
* Fixups for Autoconfig
* IDE: don't assert IOW/IOW until S3 to meet address set-up times
2023-09-25 18:55:14 +00:00
ebacb93b37 Fixups
IDE Enable logic wasn't working in A4000/060
2023-09-03 20:20:10 +00:00
36e76d08ef Fixup some issues
* Qualify SLAVE_n with AS_n or it will trigger during Z3 cycles
* Don't register CFGIN at AS_n posedge - Z3 cards would prevent this from working
* Disable DTACK/OVR gen as it's not needed
2023-08-20 07:42:59 +00:00
4cd67c076a Fixup everything and make it actually work 2023-08-14 07:39:20 +00:00
6a7b69fcce Update CPLD Pin mapping and tweak a few things 2023-07-24 20:24:46 +00:00
7f1c8157c8 Moved CPLD and ROM data behind IDE buffers
* Enable Buffers for IDE, ROM and Autoconfig
* Add SLAVE_n equation
2023-07-12 08:36:13 +00:00
a61b822c16 Add Firmware 2023-07-12 08:36:13 +00:00
e92db97d39 Rename to RIPPLE, do a bunch more routing etc 2023-07-04 13:03:45 +02:00
ada1612930 A good start 2023-06-25 19:59:43 +02:00
55a873f313 Begin schematic 2023-02-11 20:51:31 +01:00
12f0d58f16 Initial commit. 2023-02-09 14:20:20 +01:00