<gatecat>
so, to map to BRAM, reads must all be in a clocked process
<ikskuh>
they are, right?
<ikskuh>
or is the rst a problem?
<gatecat>
rst is a problem
<ikskuh>
ah!
<ikskuh>
so synchronous reset is key?
<gatecat>
so the current_color_index won't map to BRAM
<gatecat>
no reset at all
<gatecat>
on the BRAM read port register
<ikskuh>
oh
<ikskuh>
i can make the reading part into a resetless process, right?
<gatecat>
yeah
<gatecat>
I'm also not sure if nested 'if's are alright for BRAM reads
<gatecat>
they should be but there have been bugs in various tools in the past
nelgau has joined #yosys
<ikskuh>
let's see
<ikskuh>
i'm still a learner
<ikskuh>
commit, change, let's rock!
<ikskuh>
Number of memories: 0
<ikskuh>
hm
<ikskuh>
should go up, right?
<gatecat>
no, that's about unmapped memories
<ikskuh>
ah, okay :)
<gatecat>
it should never be anything other than 0 post-synthesis, whatever happens, that's memories in the early part Yosys' IL which doesn't include BRAM etc
<gatecat>
mapping to BRAM should show "DP16KD" or "PDPW16KD" in the results
<ikskuh>
Bram port B1.2 has no sync reset input.
<ikskuh>
huh
<Sarayan>
what's a reset supposed to do on a memory?
<Sarayan>
I know on cyclonev it clears the output latch and nothing else, in particular not the memory contents
<ikskuh>
hm, now it complains "Bram port B1.1 has no initial value support."
<gatecat>
Sarayan: yeah, if memories have resets they're invariably just for the read latch
<gatecat>
but Yosys can't map them yet
<gatecat>
ikskuh: remove the `= 5'h00;` in `reg [4:0] vga_b_buf= 5'h00;`
<gatecat>
BRAM read ports don't support initialisation in ECP5
<ikskuh>
ah
<ikskuh>
synthesis is suddenly down to "immediate"
<ikskuh>
:D
<ikskuh>
DP16KD: 26 / 208 ( 12%)
<ikskuh>
this looks good
<gatecat>
looks good!
<ikskuh>
doesn't work :D
<ikskuh>
seems to be stuck on 0x3F
<ikskuh>
wait
<ikskuh>
okay, this was definitly me being stupid
<ikskuh>
memtest seems to run now
<ikskuh>
i could hug you right now, gatecat!
adamse_ has joined #yosys
trabucay1e has joined #yosys
bluesceada_ has joined #yosys
bl0x_ has joined #yosys
tpb_ has joined #yosys
tpb has quit [Killed (NickServ (GHOST command used by tpb_))]
tpb_ is now known as tpb
Knarfian_______ has joined #yosys
cr1901_ has joined #yosys
krispaul has joined #yosys
bl0x has quit [*.net *.split]
trabucayre has quit [*.net *.split]
bluesceada has quit [*.net *.split]
adamse has quit [*.net *.split]
Knarfian_____ has quit [*.net *.split]
gatecat has quit [*.net *.split]
Knarfian_______ is now known as Knarfian_____
adamse_ is now known as adamse
srk- has joined #yosys
tlwoerner__ has joined #yosys
koorogi1 has joined #yosys
msh has joined #yosys
uis has joined #yosys
bl0x_ has quit [Ping timeout: 240 seconds]
uis_ has quit [Ping timeout: 240 seconds]
srk has quit [Ping timeout: 240 seconds]
bluesceada_ has quit [Ping timeout: 240 seconds]
tux3_ has quit [Ping timeout: 240 seconds]
lofty has quit [Ping timeout: 240 seconds]
FL4SHK has quit [Ping timeout: 240 seconds]
msh_ has quit [Ping timeout: 240 seconds]
cr1901 has quit [Ping timeout: 240 seconds]
GenTooMan has quit [Ping timeout: 240 seconds]
Xark has quit [Ping timeout: 240 seconds]
tpb has quit [Ping timeout: 256 seconds]
lambda has quit [Ping timeout: 240 seconds]
GenTooMan has joined #yosys
tpb has joined #yosys
FL4SHK has joined #yosys
lambda has joined #yosys
tlwoerner_ has quit [Ping timeout: 240 seconds]
bluesceada has joined #yosys
trabucay1e has quit [Ping timeout: 256 seconds]
srk- is now known as srk
kristianpaul has quit [*.net *.split]
koorogi has quit [*.net *.split]
ZipCPU has quit [*.net *.split]
DoubleJ has quit [*.net *.split]
lofty has joined #yosys
lambda has quit [Client Quit]
ZipCPU has joined #yosys
lambda has joined #yosys
krispaul has quit [Ping timeout: 256 seconds]
bl0x_ has joined #yosys
whitequark has quit [Ping timeout: 240 seconds]
krispaul has joined #yosys
promach[m] has quit [Ping timeout: 250 seconds]
sadoon_albader[m has quit [Ping timeout: 245 seconds]
jevinskie[m] has quit [Ping timeout: 252 seconds]
jryans has quit [Ping timeout: 252 seconds]
tux3 has joined #yosys
tux3 has joined #yosys
tux3 has quit [Changing host]
trabucayre has joined #yosys
Xark has joined #yosys
xiretza[m] has quit [Ping timeout: 268 seconds]
diadatp has quit [Ping timeout: 240 seconds]
levalicious[m] has quit [Ping timeout: 240 seconds]
pepijndevos[m] has quit [Ping timeout: 250 seconds]
CarlosEDP has quit [Ping timeout: 240 seconds]
gatecat has joined #yosys
emilazy has quit [Ping timeout: 245 seconds]
whitequark has joined #yosys
promach[m] has joined #yosys
jevinskie[m] has joined #yosys
levalicious[m] has joined #yosys
diadatp has joined #yosys
pepijndevos[m] has joined #yosys
lexano has joined #yosys
sadoon_albader[m has joined #yosys
xiretza[m] has joined #yosys
jryans has joined #yosys
tlwoerner__ has quit [Quit: Leaving]
tlwoerner has joined #yosys
DoubleJ has joined #yosys
xiretza[m] has quit [Write error: Connection reset by peer]
whitequark has quit [Read error: Connection reset by peer]
pepijndevos[m] has quit [Read error: Connection reset by peer]
diadatp has quit [Read error: Connection reset by peer]
sadoon_albader[m has quit [Remote host closed the connection]
jevinskie[m] has quit [Write error: Connection reset by peer]
promach[m] has quit [Read error: Connection reset by peer]
levalicious[m] has quit [Remote host closed the connection]
jryans has quit [Write error: Connection reset by peer]