2 Aug
2018
2 Aug
'18
3:06 p.m.
could you please remind me how I can handle the following situation. On the RiskFive board I used the Ethernet chip type Wiznet W5300. It is a memory-mapped peripheral, which works like ASRAM. In other words, a piece of memory. I could handle it like this:
WizMemArrayPtr := New (W5300_address, W5300_size)
where W5300_address is hardwired in the FPGA decoder, and W5300_size is a constant from the W5300 data sheet.
I guess I could adapt EO’s NEW(ptr, size) to accomodate that, if it doesn’t already do what you describe. PS: When you say “W5300_address is hardwired”, do you mean that it has to be located at a fixed address in memory?