<daveshah>
Looks like system RAM has taken over now
<sxpert>
yeah
<daveshah>
(26,82) -> (27,27) is a long wire
<sxpert>
I see
<sxpert>
guess I could use some registers or something
<daveshah>
yeah
<sxpert>
on reading and writing
<sxpert>
for the rom, I pre-read on phase 0, then dump that on phase 1 to the bus
<sxpert>
guess I could do the same for the ram
<corecode>
ah, it was 44 pre route, 61 post route
<corecode>
and with -8 68 pre route, 85 post route
<daveshah>
that makes much more sense
<daveshah>
what if you try a 5g part (--um5g-45k)
<daveshah>
they have much faster block RAMs
<corecode>
i thought they're all the same die
<corecode>
oh yea
<corecode>
120 pre, 120 post
<daveshah>
the 5g parts run at 1.2V rather than 1.1V
* sxpert
would love an ULX3S++ with an 85FUM5G ;-)
<daveshah>
this makes a big difference
<corecode>
aha!
<sxpert>
47€ a piece on mouser !
<sxpert>
not too bad
<sxpert>
the evn board is 86 eur
<daveshah>
yeah, the evn board is very good value for money
<daveshah>
only problem is it has no external RAM :(
<sxpert>
hah
<sxpert>
that's a problem
<sxpert>
all depends on the system flash though. I could do with the system rom in the flash
m4ssi has quit [Ping timeout: 246 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
<sxpert>
daveshah: ok, ram accesses are now pipelined
<sxpert>
Info: Max frequency for clock '$glbnet$clk_25mhz': 72.06 MHz (PASS at 25.00 MHz)
<sxpert>
rom still shows up as the biggest delay
<sxpert>
not a big issue though
<daveshah>
what does --um5g-85k give?
<daveshah>
I guess this is much faster than a real Saturn?
<sxpert>
the real saturn ran at 4MHz
<sxpert>
also, I seem to be able to implement things in less cycles than the original
<daveshah>
Could you make an upgrade board for calculators with an ECP5 on?
<sxpert>
possibly
<daveshah>
Might need a bigger battery too
<daveshah>
that would be really awesome
<sxpert>
yeah
<sxpert>
replace those 3x AA with lipo
<sxpert>
or was it AAA
<sxpert>
yeah, 3x AAA
<sxpert>
blast the TIs out the water ;)
<sxpert>
the original idea was to build one with a giant led screen
<sxpert>
so, with all basic modules setup, am going at 70Mhz or so
<sxpert>
(rom, mmio, ram)
AlexDaniel has quit [Ping timeout: 255 seconds]
<sxpert>
now, just need to fill in alu based instructions
m4ssi has joined #yosys
rohitksingh has joined #yosys
AlexDaniel has joined #yosys
<sxpert>
daveshah: on the um5g-85k part: Info: Max frequency for clock '$glbnet$clk_25mhz': 108.05 MHz (PASS at 25.00 MHz)
<daveshah>
Nice
m4ssi has quit [Ping timeout: 245 seconds]
<MoeIcenowy>
daveshah: I think a Saturn emulator on ARM920T is faster than real Saturn
<MoeIcenowy>
(I have such an emulator
citypw has quit [Ping timeout: 272 seconds]
citypw has joined #yosys
<sxpert>
MoeIcenowy: indeed, an emulator on an arm is faster, but it's not the same thing
<sxpert>
for instance, you can't do grayscale display
<sxpert>
also, that's no fun ;)
<sxpert>
the fun part is, I may also implement the instruction added in that emulator ;-)
emeb has joined #yosys
<sxpert>
(all those 80Cblah instructions)
m4ssi has joined #yosys
<MoeIcenowy>
sxpert: I only bought a 39gs because it's dirty cheap
<MoeIcenowy>
sxpert: in fact I wonder why don't they add some "execute raw ARM code" instruction ;-)
<somlo>
daveshah: is there a branch on github for the "stable" trellis? (https://twitter.com/fpga_dave/status/1101216373454393349) Do you have version numbers anywhere that I should "bump" (from "0.0") before I open a bugzilla ticket for submitting to Fedora ?
<daveshah>
somlo: It's a git tag, 1.0
<somlo>
oh, so I'll actually have to clone the repo before I can see it :) Thanks!
maikmerten has quit [Remote host closed the connection]
<sorear>
gonna try to get that in #fedora-riscv? :D
<somlo>
yeah, that's the plan -- find/buy (or, worst case, design/build) a dev board with 2GB RAM and an 85k 5g ECP5 chip, build a rv64gc based SoC that can boot Fedora (similar to lowRISC), then we'd have a self-hosting computer (that can not only rebuild its own kernel, but also its own *hardware*) :)
rohitksingh has quit [Ping timeout: 245 seconds]
AlexDaniel has quit [Remote host closed the connection]
AlexDaniel has joined #yosys
AlexDaniel has quit [Ping timeout: 245 seconds]
<sxpert>
somlo: can you self-update the flash and reboot the fpga ?
dys has joined #yosys
dys has quit [Ping timeout: 255 seconds]
dys has joined #yosys
dys has quit [Ping timeout: 245 seconds]
<somlo>
sxpert: I think that depends on the particulars of the (at this point, theoretical) development board