3 May
2020
3 May
'20
5:32 a.m.
Joerg:
With 32bit INTEGERs and max 24bit address bus of the RISC5 (max 16 MB) you don‘t run into this overflow problem. SYSTEM.GET/PUT can handle „negative“ values (=large positive values) correctly.
The 24 bit address bus is an artifact of this particular Verilog implementation file. The full address bus is 32 bit and it can easily be routed to the rest of the design and to the FPGA pins as well. If someone wanted to use an FPGA board with a large DRAM, then one can route all the bits. It would make sense after adding a cache to the CPU, which is a separate issue. Wojtek