clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
pie___ is now known as pie__
GoldRin has quit [Read error: Connection reset by peer]
leviathan has joined #yosys
kuldeep has joined #yosys
Forty-Bot has quit [Ping timeout: 250 seconds]
lutsabound has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #yosys
_whitelogger has joined #yosys
zkms has quit [Quit: WeeChat 2.1]
zkms has joined #yosys
zkms has quit [Client Quit]
zkms has joined #yosys
zkms has quit [Quit: WeeChat 2.2]
zkms has joined #yosys
xdeller_ has quit [Remote host closed the connection]
emeb_mac has quit [Quit: Leaving.]
rohitksingh has joined #yosys
rohitksingh has quit [Quit: Leaving.]
_whitelogger has joined #yosys
rohitksingh has joined #yosys
dys has joined #yosys
dys has quit [Ping timeout: 252 seconds]
rohitksingh has quit [Ping timeout: 264 seconds]
dys has joined #yosys
flaviusb has quit [Quit: Leaving.]
flaviusb has joined #yosys
leviathanch has joined #yosys
leviathanch has quit [Read error: Connection reset by peer]
rohitksingh has joined #yosys
lutsabound has joined #yosys
leviathanch has joined #yosys
s_frit has quit [Remote host closed the connection]
s_frit has joined #yosys
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #yosys
rohitksingh has quit [Quit: Leaving.]
_whitelogger has joined #yosys
TFKyle has joined #yosys
rohitksingh has joined #yosys
maikmerten has joined #yosys
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #yosys
_whitelogger has joined #yosys
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #yosys
rohitksingh has quit [Quit: Leaving.]
maikmerten has quit [Remote host closed the connection]
rohitksingh has joined #yosys
m4ssi has joined #yosys
m4ssi has quit [Ping timeout: 252 seconds]
rohitksingh has quit [Quit: Leaving.]
emeb has joined #yosys
dxld has quit [Quit: Bye]
dxld has joined #yosys
rohitksingh has joined #yosys
m4ssi has joined #yosys
leviathanch has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
m4ssi has quit [Ping timeout: 264 seconds]
m4ssi has joined #yosys
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #yosys
m4ssi has quit [Ping timeout: 252 seconds]
m4ssi has joined #yosys
massi_ has joined #yosys
pie__ has quit [Ping timeout: 252 seconds]
m4ssi has quit [Ping timeout: 264 seconds]
rohitksingh has quit [Ping timeout: 268 seconds]
pie__ has joined #yosys
massi_ has quit [Remote host closed the connection]
pie__ has quit [Ping timeout: 272 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #yosys
dys has quit [Ping timeout: 252 seconds]
gruetzkopf has quit [Read error: Connection reset by peer]
gruetze has joined #yosys
gundy has joined #yosys
pie_ has joined #yosys
dys has joined #yosys
<gundy> Hi all; I have a design that has a "reg[31:0] buffer [0:7]" (line buffers for some sprite data), and yosys appears to be turning this into a $mem element which can't be placed. Is there any way I can nudge yosys not to do this for this particular set of registers?
<gundy> The error I get during placement is "hardware.blif:24623: fatal error: unknown model `$mem'" (from arachne-pnr; nextpnr gives a similar error about timing data not being available for $mem).
<daveshah> Putting (* mem2reg *) before it should fix it
<gundy> OMG thank you!!! that may not specifically have _solved_ my problem, but it got me a *much* better error message and now I've got another lead to follow!!
<daveshah> What is the problem now?
pie_ has quit [Ping timeout: 252 seconds]
<sorear> this is a weird problem to have and i'd like to know how it turns out
<gundy> Well, I got a new set of errors about multiple drivers for the registers, which reminded me that although I'm using always @(posedge clk) blocks in most places, I'd switched one block to negedge while trying to fix something else, and forgotten about it... and the negedge block was obviously impacting the way the memory was being used in such a way that it couldn't be synthesised nicely..
<gundy> so entirely my fault
<gundy> but I just couldn't figure out what was happening with the error messages I was seeing
<gundy> so, yeah, you're an absolute star :)
pie_ has joined #yosys
<sorear> I really don't think icestorm should be failing in the way you observed
<daveshah> The reason for the failure is simple - Yosys first maps the array of registers to a generic memory. But in this case its a very odd memory that can't map to BRAMs or registers, so it stays as a generic memory that causes PnR to die
<daveshah> Coincidentally there's a similar issue in LSE, although that is worse because that happens with sensible RAM too sometimes
pie__ has joined #yosys
<daveshah> Not that that makes it right of course
<sorear> IMO, pnr should never fail for any reason other than "you have too much routing congestion"
<sorear> synthesis errors should be caught in synthesis
pie_ has quit [Ping timeout: 240 seconds]
pie___ has joined #yosys
pie__ has quit [Ping timeout: 245 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #yosys
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #yosys
AlexDaniel has quit [Read error: Connection reset by peer]
AlexDaniel has joined #yosys