clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
fouric has joined #yosys
promach2 has joined #yosys
xrexeon has quit [Remote host closed the connection]
promach2 has quit [Ping timeout: 264 seconds]
leviathan has joined #yosys
wump is now known as wumpus
digshadow has quit [Ping timeout: 276 seconds]
emeb has quit [Quit: Leaving.]
digshadow has joined #yosys
seldridge has quit [Ping timeout: 240 seconds]
emeb_mac has quit [Quit: Leaving.]
seldridge has joined #yosys
seldridge has quit [Ping timeout: 276 seconds]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jwhitmore has joined #yosys
leviathan has joined #yosys
jwhitmore has quit [Ping timeout: 264 seconds]
promach_ has quit [Quit: WeeChat 2.1-dev]
GuzTech has joined #yosys
promach_ has joined #yosys
jwhitmore has joined #yosys
promach_ has quit [Quit: WeeChat 2.1-dev]
indy has quit [Read error: Connection reset by peer]
indy has joined #yosys
jwhitmore has quit [Ping timeout: 256 seconds]
jwhitmore has joined #yosys
promach_ has joined #yosys
jwhitmore has quit [Remote host closed the connection]
promach_ has quit [Quit: WeeChat 2.1-dev]
xrexeon has joined #yosys
promach_ has joined #yosys
emeb has joined #yosys
jpo has joined #yosys
seldridge has joined #yosys
keesj has quit [Ping timeout: 264 seconds]
keesj has joined #yosys
jwhitmore has joined #yosys
promach__ has joined #yosys
promach__ is now known as promach2
AlexDaniel has quit [Ping timeout: 260 seconds]
GuzTech has quit [Quit: Leaving]
<shapr> Does yosys support PolarFire? I'd never heard of 'em before this RISC-V board
<daveshah> shapr: no, but I suspect synthesis for polarfire wouldn't be too hard
<daveshah> P&R and bitstream generation would be the hard part
<shapr> that's quite the url
<shapr> daveshah: I have the newbie impression than PnR is the same for all FPGAs
<shapr> time to learn more
<shapr> oh wait, of course it would depend on the internal layout
<daveshah> shapr: although it would be possible to write a generic place and route tool, there isn't really one out there in the same way that Yosys is a generic synthesis tool
<shapr> I guess I thought that internal layout would be a parameter you hand to the PnR program?
<daveshah> Exactly
<daveshah> But the only open tool that works like that is VPR, which is currently only for virtual, theoretical FPGAs
<daveshah> But there's a big effort to make it support real FPGAs like the ice40 and artix7 too
<shapr> silly question, is there a standard approach to PnR? I'd guess it uses binary decision diagrams internally?
<shapr> although I could think of other approaches, BDDs seem easiest
<awygle> simulated annealing is the traditional approach
<shapr> hm, does that have issues with local minima?
<ZipCPU> Yes.
<awygle> Some yes but it's pretty good. The problem is it's slow.
<awygle> Or at least, not very parallelizable
<ZipCPU> ISE has a *horrible* time dealing with (inoperable) local minima.
<shapr> I think there are better approaches.
<awygle> There are a few other approaches. Analytic approaches are popular.
<shapr> I was thinking about prolog-style constraint solving, but I bet that's not much better than simulated annealing, maybe less likely to get stuck in local minima
<awygle> You're in ##openfpga right? The wiki on github has a list of papers I collected on parallel place and route
<awygle> Also rqou tried to implement constraint solving for a CPLD and had issues
<tpb> Title: Place and Route Research · azonenberg/openfpga Wiki · GitHub (at github.com)
<shapr> oh that sounds interesting
<shapr> I think place and route is the same as a bunch of other things, I should really write up a blog post
m_t has joined #yosys
<awygle> I'd be interested in seeing that
<awygle> azonenberg has an idea about molecular dynamics algorithms for PnR
<shapr> in the style of fold.it ?
<awygle> It's ultimately an energy minimization problem
<shapr> right, but there are a bunch of approaches and I think they're almost all equivalent in function, but different in ease of implementation/execution
<awygle> Mhm
<shapr> I think it's the same thing the homomorphic encryption projects use to optimize logic, same as SIMD Within a Register, and others
<awygle> Huh, I see homomorphic encryption but SWAR doesn't jump out at me
<awygle> Regardless, I'd love to see the blog
<awygle> Very relevant to my interests obviously
<sorear> PnR is interesting because it’s fundamentally geometrical, you need to minimize 2D wire lengths
<shapr> global minimization of the sum of all wire lengths, with max wire length also minimized
<shapr> that's a really interesting problem
<daveshah> you also have to take into account timing paths
<awygle> Yeah it gets complicated once you add in timing constraints
<daveshah> there may be different number of blocks in different paths, so just looking at wirelength alone isn't ideal
<daveshah> afaik this is why arachne-pnr fails in terms of timing
<awygle> I find it weird that so many tools minimize total wire length. Max seems to be the obvious FoM (in the absence of timing info)
<daveshah> yeah, I'd like to experiment with the FoM in arachne at some point
<shapr> What's FoM?
<daveshah> figure of merit
<shapr> ah
<daveshah> to be minimised
<shapr> would be fun to do a PhD on an FPGA tinkertoy kit
<shapr> there's too much cool stuff to learn, not enough time
<sorear> You need to at least constrain total because the chip has a finite amount of wire and routing resources
<awygle> Yeah but that's not really length either, that's density
leviathan has quit [Read error: Connection reset by peer]
leviathan has joined #yosys
cemerick has joined #yosys
<rqou> awygle, shapr: the current CPLD code is still technically formulated as "constraint solving"
<rqou> it's not naively using a SMT solver anymore though
promach2 has quit [Ping timeout: 250 seconds]
<shapr> price is out for the improved risc-v board, I can't spare $2k after spending $1k on the risc-v board that hasn't arrived yet.
<shapr> now I wish I'd saved my money for this improved board :-(
<sorear> AFAIK the new one is not useful if you don’t also have the old one
<awygle> does the new one have a polarfire on it?
<shapr> yup
<tpb> Title: HiFive Unleashed Expansion Board | Crowd Supply (at www.crowdsupply.com)
<shapr> that's the new board
<awygle> polarfires are cool
<awygle> lots of fast serdes
<shapr> But no yosys support?
<shapr> I'm in that lucky position of only using FPGAs for fun, so I don't have to use closed source tools.
<shapr> sorear: good point, I thought it was an entirely new board
<awygle> no and not likely to be for a long time imo
<awygle> microsemi being mostly military/space seems like the kind to get uptight about that kind of thing
<daveshah> I heard on the grapevine all PolarFile bitstreams are encrypted (by default with a factory key)
<daveshah> So legal fuzzing (for people in DMCAland at least) may be simply impossible
<sorear> I read the documentation and can confirm this
<daveshah> I'm not sure if using your own key would help, if it's a standard algorithm and implementation
<daveshah> I feel that messing too much with these things could result in a knock on the door...
AlexDaniel has joined #yosys
<awygle> Yeah I think technically if it says "it's aes256" and then you implement aes256, and RE the "program key" process but not the "extract key" process, you'd technically be legally OK, but only technically lol
<awygle> I personally would not risk it
<daveshah> Given how many other FPGAs there are to play with, it's just not worth the risk indeed
dys has joined #yosys
[X-Scale] has joined #yosys
ralu has quit [Ping timeout: 264 seconds]
ralu has joined #yosys
X-Scale has quit [Ping timeout: 264 seconds]
eightdot_ has quit [Ping timeout: 264 seconds]
[X-Scale] is now known as X-Scale
eightdot has joined #yosys
<sorear> You can supply a custom key; doing so and then REing the cipher (it ain’t aes-gcm) might work when I’m not in freedomland
cemerick_ has joined #yosys
<sorear> PCIe on Xilinx-7 with symbiflow will probably happen first
<daveshah> Definitely
<daveshah> Or ECP5...
<daveshah> But 7 series almost certainly first
cemerick has quit [Ping timeout: 255 seconds]
<daveshah> You could of course do PCIe on an ice40 with a PCI->PCIe bridge
<daveshah> PCI on an ice40 should be manageable
dys has quit [Ping timeout: 246 seconds]
<shapr> that discussion makes me sad
<shapr> the DMCA makes me sad
cemerick has joined #yosys
cemerick_ has quit [Ping timeout: 255 seconds]
jwhitmore has quit [Remote host closed the connection]
<ZipCPU> shapr: Be glad you are funding open source FPGA design then!
m_t has quit [Quit: Leaving]
quigonjinn has quit [Read error: Connection reset by peer]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
quigonjinn has joined #yosys
jwhitmore has joined #yosys
<shapr> ZipCPU: means I don't want to send in money for this expansion board
<shapr> also, I corrupted the drive on my novena, gotta reinstall :-(
<ZipCPU> Smile, it's good for you! :D
<ZipCPU> shapr: Have you seen my most recent video demo?
<shapr> nope, link?
<tpb> Title: GitHub - ZipCPU/vgasim: A Video display simulator (at github.com)
<ZipCPU> I added a memory reader to the video generator, so it can now display anything stored in memory.
<shapr> wow, nifty
<ZipCPU> While it's not implemented in an FPGA (yet), the code is ready for an FPGA as the next step.
jwhitmore has quit [Remote host closed the connection]
sklv has quit [Remote host closed the connection]
sklv has joined #yosys
cemerick has quit [Ping timeout: 240 seconds]
dxld has quit [Ping timeout: 276 seconds]
jwhitmore has joined #yosys
jwhitmore has quit [Remote host closed the connection]
jwhitmore has joined #yosys
seldridge has quit [Ping timeout: 260 seconds]
dxld has joined #yosys
jwhitmore has quit [Remote host closed the connection]
jwhitmore has joined #yosys
jwhitmore has quit [Remote host closed the connection]
xrexeon has quit [Ping timeout: 260 seconds]
seldridge has joined #yosys
sklv has quit [Quit: quit]
dxld has quit [Quit: Bye]
dxld has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys