diff options
Diffstat (limited to 'bus.c')
-rw-r--r-- | bus.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -167,11 +167,11 @@ static void gpmc_printinfo() // multiply by 10 ns -#define TOTAL_IO_CYCLE 20; // 200 ns cycle -#define CS_DELAY 0; // CS low right away -#define DELAY_TO_WR_RD 4; // i.e., 40 ns after CS -#define WR_RD_WIDTH 15; // 40 ns delay + 150 ns pulse + 10 ns spare -#define DATA_READY 15; // data ready 150 ns after CS, 110 ns after RD/WR +#define TOTAL_IO_CYCLE 25; // 250 ns cycle +#define CS_DELAY 2; // CS low 20ns after address valid +#define DELAY_TO_WR_RD 5; // RD/WR lines low 50ns after address valid +#define WR_RD_WIDTH 20; // stay low for until 200 ns after address valid +#define DATA_READY 15; // data ready 150ns after address valid static void gpmc_setup(void) |