Commit History

Autor SHA1 Mensaxe Data
  bart 2287e54c6b Integrated valid bits into cache block ram. Reset now iteratively clears the entire cache. Allows for much lower FPGA usage and better timings. Should be able to greatly increase cache size as there is an abundance of BRAM. hai 1 ano
  bart 2fe0518bb3 Improved interrupt timing/alignment, fixing bug where interrupts are not allowed during the UART bootloader. hai 1 ano
  bart 52f2819774 Removed leftover ccache instructions from debugging instability problems. Commented out required ccache instructions for when L1I cache returns in the future. hai 1 ano
  bart 9a285550c0 Updated documentation a bit, added newlines to BENCH, removed wrong comments from L2cache.v hai 1 ano
  bart 88681ec5d0 New arbiter that further improves performance by removing latency for instruction memory access. Created instability again, which I found to be caused by bad interrupt timings. Fixed by changing the interruptValid wire to use branch_MEM for alignment. I do not know why this fixed all problems as it is very hard to simulate this issue. L1 cache should be possible again! hai 1 ano
  bart add43b75da L2 cache at 100MHz now greatly increases performance. Attempted to create l1i and l1d cache, but becomes unstable and the issue is difficult to similate/replicate. Therefore, all l1 cache is now bypassed and the code can be found in l1cacheUnstable.v. As no l1 cache anymore, I removed some ccache statements to increase performance as this instruction currently does nothing. hai 1 ano
  bart 5af536210d Fixed instability by adding clear cache instruction during SPI transfer. No idea why this fixed the issue, as the I/O address range is above the limit for cache to work. hai 1 ano
  bart 9a6bf3cd52 Improved reset for cache. Disabled l2 cache as it currently reduces performance. Added more CCache instructions to code, although likely not needed. Still instability issues when L1I cache is enabled. hai 1 ano
  bart 7e81e7fa17 Added files missing from last commit (L1I cache). hai 1 ano
  bart 3253b1bc2c Added L1I cache. Added clear cache instruction, which is now added in the UART bootloader and BDOS program loaders. Fixed too fast read part in SPI flasher. Snake userbdos program now sometimes crashes, which needs further investigation. hai 1 ano
  bart dfb3bbb48e Added L1D cache. Currently only works stable when valid bit is set 0 on WRITE. Valid bit 1 after cache miss read works fine for some reason. hai 1 ano
  bart b6831c4209 Added L2 cache (no L1 for now) between CPU and SDRAM controller. No noticable performance difference, can likely be optimized further to reduce cache hit latency. hai 1 ano
  bart 28bcde6466 New SDRAM controller that uses both SDRAM chips. Now separate bus from MU for better performance, as controller runs at 100MHz. Also updated some debug code as debugging was needed. Tested working in hardware. 2x performance boost in some cases. hai 1 ano
  bart 240770cb51 Progress on asm for bcc with new architecture. Started on SDRAM testbench for new controller. hai 1 ano
  bart 1a2f5e6c55 Added qws Quartus file. %!s(int64=2) %!d(string=hai) anos
  bart e1bb01a621 Cleaned and renamed Quartus project. %!s(int64=2) %!d(string=hai) anos
  bart d602419429 Added support for negative ints in .dw for python assembler. %!s(int64=2) %!d(string=hai) anos
  bart 7e822dcae0 Made assembly for rendering mandelbrot program, with other improvements as well. %!s(int64=2) %!d(string=hai) anos
  bart 19b70deac8 Added support for signed .dw instructions. %!s(int64=2) %!d(string=hai) anos
  Bart cf2db3b9cd Merge pull request #1 from b4rt-dev/PixelEngine %!s(int64=2) %!d(string=hai) anos
  bart 01b9bb8f29 Added signed right shift operation to CPU, assembler, compiler, code and documentation. %!s(int64=2) %!d(string=hai) anos
  bart 4dd2ff7765 Merged from main. %!s(int64=2) %!d(string=hai) anos
  bart 6e3cd7cd9c PixelEngine now works in hardware with both HDMI and NTSC. Added pxtest and mandelbrot test programs. %!s(int64=2) %!d(string=hai) anos
  bart 7b14d2d273 Improved Pixel Engine. %!s(int64=2) %!d(string=hai) anos
  bart 6dc8fc396f Added Pixel Engine in simulation. %!s(int64=2) %!d(string=hai) anos
  bart 442d51ba85 Added images to documentation, HDMI is working without lvds, init of new sdram controller done. %!s(int64=2) %!d(string=hai) anos
  bart 308cc6a90d Fixed SDRAM controller by setting phase shift to 180 degrees. %!s(int64=2) %!d(string=hai) anos
  bart a76905443f Ported Quartus to 5CEA5 FPGA. SDRAM does not seem to work. %!s(int64=2) %!d(string=hai) anos
  b4rt-dev 8d56c91fea Added fast (but inaccurate) and accurate (but slow) option for UART flasher. %!s(int64=2) %!d(string=hai) anos
  b4rt-dev 118fe8b319 Improved new button check in USB keyboard driver of BDOS %!s(int64=2) %!d(string=hai) anos