H. Peter Anvin
|
65dec219d1
Fix top level Makefile
|
3 years ago |
H. Peter Anvin
|
3f417a182e
tools: build a z80-none-elf binutils, riscv-gdb
|
3 years ago |
H. Peter Anvin
|
48d72fab81
fpga: better Makefile handling of the Quartus flow
|
3 years ago |
H. Peter Anvin
|
062a3d9eb1
Reorganize tree so a single Makefile can do the right thing
|
3 years ago |
H. Peter Anvin
|
29838ba040
Add toolchain build via git submodules and Makefile
|
3 years ago |
H. Peter Anvin
|
4771d428e2
bin2mif: fast_ram expects unpacked decimal filename indicies
|
3 years ago |
H. Peter Anvin
|
aad6fa3aad
fw: link against newlib-nano
|
3 years ago |
H. Peter Anvin
|
873b48e082
synchro.sv: use global version of tostr()
|
3 years ago |
H. Peter Anvin
|
8e77198270
Better fast_mem implementation; need to split .mif files
|
3 years ago |
H. Peter Anvin
|
0a742774ae
Getting full synthesis with CPU and fast memory; not tested yet
|
3 years ago |
H. Peter Anvin
|
345f6b4fb6
fw: build and link a file that can go into the fast memory
|
3 years ago |
H. Peter Anvin
|
29caaeebbe
pll: change system clock to 84 MHz
|
3 years ago |
H. Peter Anvin
|
98999420a7
max80: better testing of the sdram controller
|
3 years ago |
H. Peter Anvin
|
dd78b3450d
sdram.sv: fix logic for next_bank and last_dword
|
3 years ago |
H. Peter Anvin
|
2517eac8ba
sdram: make the bus protocol actually work sanely
|
3 years ago |
H. Peter Anvin
|
728e8de139
sdram: allow arbitrary alignments on port 1
|
3 years ago |
H. Peter Anvin
|
35ce29d153
spi_master: remove non-synthesizable constructs
|
3 years ago |
H. Peter Anvin
|
fadf05d416
spi_master: use "output reg" where it makes sense
|
3 years ago |
H. Peter Anvin
|
b1330f1322
spi_master: move some configs to ports; add latch_q option
|
3 years ago |
H. Peter Anvin
|
d2dbda9124
spi_master: add support for CPOL=1 (SPI mode 2)
|
3 years ago |
H. Peter Anvin
|
1355c99091
Add SPI master unit IP, move generally useful functions to a common file
|
3 years ago |
H. Peter Anvin
|
2c6d4d66d2
sdram: fix some timing calculations, pre-ack, cleanups
|
3 years ago |
H. Peter Anvin
|
7efe6c8d1c
sdram: fix op_cycle counter overflow
|
3 years ago |
H. Peter Anvin
|
0b53a475f8
sdram: make it a little clearer what the equation actually is
|
3 years ago |
H. Peter Anvin
|
9363f018e1
sdram: rewrite state machine with an operations loop counter
|
3 years ago |
H. Peter Anvin
|
b2d184d021
Fix polarity of output SDRAM clock; move into sdram module
|
3 years ago |
H. Peter Anvin
|
8bf5d90a2d
.gitignore: add some editor temp file patterns
|
3 years ago |
H. Peter Anvin
|
94b62ada47
max80.qsf: restore sourcing of pins.tcl
|
3 years ago |
H. Peter Anvin
|
30d5acc569
Change core clock to 168 MHz and video clock to 48 MHz
|
3 years ago |
H. Peter Anvin
|
afc9429471
Add simple SDRAM controller
|
3 years ago |