*** tpb has joined #yosys | 00:00 | |
*** promach_ has joined #yosys | 00:37 | |
cr1901_modern | ZipCPU: Path bug == "yosys-config returns the wrong directory on Windows." But I need to test something before actually submitting a report | 01:26 |
---|---|---|
*** seldridge has joined #yosys | 01:26 | |
cr1901_modern | it's possible I forgot to run "make PREFIX=/path/to/root" while compiling | 01:26 |
ZipCPU | I just ask because Clifford and I were chasing some path bugs today. | 01:26 |
ZipCPU | I wasn't using Windows though | 01:26 |
* cr1901_modern goes ahead and checks | 01:27 | |
ZipCPU | We were looking into include paths | 01:27 |
ZipCPU | I was surprised to discover that yosys allows code in multiple directories, and include paths between them | 01:27 |
cr1901_modern | Why wouldn't it? | 01:28 |
ZipCPU | Exactly ... I just hadn't used that feature before. | 01:28 |
ZipCPU | Well, that and .... there were some bugs when using the feature with Verific ... initially, as I recall, there was no way to create new paths. Then once we fixed that, everytime you specified an include path it would get reset after a single read command. | 01:29 |
ZipCPU | But ... that was just my morning's work ;) | 01:29 |
cr1901_modern | include paths are broken on ISE too if memory serves. I.e. you can only add one | 01:29 |
*** [Ristovski] is now known as Ristovski | 01:29 | |
ZipCPU | Hmm ... I didn't check more than one | 01:30 |
cr1901_modern | https://github.com/YosysHQ/yosys/blob/master/Makefile#L487 (Why don't ppl use m4 for this?) | 01:32 |
tpb | Title: yosys/Makefile at master · YosysHQ/yosys · GitHub (at github.com) | 01:32 |
cr1901_modern | Yea in any case, it's my fault for not running w/ "make PREFIX=" | 01:33 |
* ZipCPU pulls up the link | 01:33 | |
ZipCPU | With the PREFIX, does it work? | 01:34 |
cr1901_modern | yes. Well I haven't tested it, but I know it'll work :P | 01:34 |
cr1901_modern | When I see multiple sed expressions laid out like that, my first instinct is "m4 -DDATDIR=$(DATDIR)" etc | 01:34 |
ZipCPU | Yeah .... but I'm kind of glad it's not using m4 .... that's just one more dependency that would need to be installed to use it. | 01:36 |
awygle | also I'd have to learn m4 :-P | 01:37 |
cr1901_modern | (Tbf, POSIX requires m4 to be present :P.) | 01:37 |
awygle | (technically m4 would just be a build time dependency, not a runtime) | 01:38 |
ZipCPU | All good arguments | 01:39 |
*** promach_ has quit IRC | 01:39 | |
*** pie___ has quit IRC | 01:39 | |
*** m_w has quit IRC | 01:49 | |
*** seldridge has quit IRC | 04:44 | |
*** mjoldfield has quit IRC | 07:05 | |
*** mjoldfield has joined #yosys | 07:07 | |
*** jaafar has quit IRC | 07:39 | |
*** xerpi has joined #yosys | 07:52 | |
*** maartenBE has quit IRC | 08:14 | |
*** maartenBE has joined #yosys | 08:14 | |
*** xerpi has quit IRC | 08:44 | |
*** fsasm has joined #yosys | 09:45 | |
*** quigonjinn has quit IRC | 10:04 | |
*** quigonjinn has joined #yosys | 10:08 | |
*** knielsen has quit IRC | 10:17 | |
*** knielsen has joined #yosys | 10:17 | |
*** knielsen has quit IRC | 10:44 | |
*** knielsen has joined #yosys | 10:47 | |
*** keesj has quit IRC | 11:20 | |
*** cr1901_modern has quit IRC | 11:38 | |
*** cr1901_modern has joined #yosys | 11:39 | |
*** fsasm has quit IRC | 11:59 | |
*** jwhitmore has joined #yosys | 12:02 | |
*** m_t has joined #yosys | 12:03 | |
*** jwhitmore has quit IRC | 12:08 | |
*** ar3itrary has quit IRC | 12:22 | |
*** ar3itrary has joined #yosys | 12:25 | |
*** keesj has joined #yosys | 12:27 | |
*** fsasm has joined #yosys | 12:39 | |
*** ar3itrary has quit IRC | 12:42 | |
*** ar3itrary has joined #yosys | 12:46 | |
*** X-Scale has quit IRC | 12:47 | |
*** dxld has quit IRC | 13:08 | |
*** dxld has joined #yosys | 13:10 | |
*** maikmerten has joined #yosys | 13:23 | |
*** fsasm has quit IRC | 13:25 | |
*** fsasm has joined #yosys | 13:28 | |
*** indy has quit IRC | 14:01 | |
*** promach_ has joined #yosys | 14:08 | |
*** pie_ has joined #yosys | 14:21 | |
*** seldridge has joined #yosys | 14:21 | |
*** indy has joined #yosys | 14:24 | |
*** mjoldfield has quit IRC | 14:32 | |
*** mjoldfie_ has joined #yosys | 14:32 | |
*** quigonjinn has quit IRC | 14:35 | |
*** mjoldfie_ has quit IRC | 14:59 | |
*** mjoldfield has joined #yosys | 14:59 | |
*** jwhitmore has joined #yosys | 15:24 | |
*** jwhitmore has quit IRC | 15:29 | |
*** proteus-guy has quit IRC | 16:03 | |
*** proteus-guy has joined #yosys | 16:05 | |
*** indy has quit IRC | 16:18 | |
*** indy has joined #yosys | 16:21 | |
*** m_t has quit IRC | 16:24 | |
*** kristianpaul has quit IRC | 16:31 | |
*** kristianpaul has joined #yosys | 16:33 | |
*** jwhitmore has joined #yosys | 16:42 | |
*** digshadow has quit IRC | 16:57 | |
*** xa0 has quit IRC | 17:06 | |
*** jaafar has joined #yosys | 17:11 | |
*** xa0 has joined #yosys | 17:12 | |
*** pie_ has quit IRC | 17:17 | |
*** xa0 has quit IRC | 17:23 | |
*** xa0 has joined #yosys | 17:31 | |
*** promach_ has quit IRC | 17:33 | |
*** m_w has joined #yosys | 17:35 | |
*** jwhitmore has quit IRC | 17:41 | |
*** emeb has joined #yosys | 17:46 | |
*** jwhitmore has joined #yosys | 18:00 | |
*** maikmerten has quit IRC | 18:00 | |
*** maikmerten has joined #yosys | 18:10 | |
*** X-Scale has joined #yosys | 18:21 | |
*** digshadow has joined #yosys | 18:29 | |
*** fsasm has quit IRC | 18:41 | |
*** jwhitmore has quit IRC | 18:56 | |
maikmerten | ported my design over the the HX8K breakout board, yay! https://github.com/maikmerten/spu32/commit/5e3401f6a67064faa11896b5a037c142c72cd7bd | 19:02 |
tpb | Title: initial port of SoC to the Lattice HX8K breakout board · maikmerten/spu32@5e3401f · GitHub (at github.com) | 19:02 |
maikmerten | turns out it helps to actually double-check pin assignments and not misreading the somewhat wacky silk screen on that board | 19:03 |
maikmerten | in the icestorm toolchain, is there something more than toying around with the seeds to tweak timings? My design somewhat fluctuates between 45 MHz and 56 MHz depending on minor tweaks (pin assignments, minor logic tweaks far away from the critical path) so I guess "placement and routing luck" has a role here | 19:09 |
*** jwhitmore has joined #yosys | 19:29 | |
ZipCPU | maikmerten: Not sure what to say. The arachne-pnr placer isn't really timing driven, so ... it gets different timing's depending upon the random variables used to generate the placement. | 19:31 |
maikmerten | well, I guess that answers the question quite fine, actually ;-) | 19:37 |
daveshah | You can pick a seed using -s, or use -r to use a random seed each time | 19:38 |
daveshah | If you want to experiment without even modifying the design at all | 19:38 |
maikmerten | I think -r may be very useful if arachne-pnr and icetime are wrapped into a nice little script with a loop to retry if there's no timing closure | 19:45 |
daveshah | Because arachne-pnr is only single-threaded, it would make sense also to run 4-8 times in parallel too | 19:46 |
maikmerten | indeed | 19:47 |
daveshah | I've seen a Makefile which did this once | 19:47 |
daveshah | https://git.raptorcs.com/git/talos-system-fpga/tree/Makefile | 19:47 |
tpb | Title: Makefile - talos-system-fpga - Talos™ II FPGA sources (at git.raptorcs.com) | 19:47 |
maikmerten | my Ryzen would sure like that | 19:47 |
daveshah | I would not say that Makefile is an example to follow | 19:47 |
maikmerten | can't be worse than mine. | 19:47 |
maikmerten | oh my. | 19:48 |
sorear | at the very least use $(seq 1 64)… | 19:49 |
maikmerten | yeah, -r for arachne-pnr with brute-force threading sure looks like it has very neat potential https://paste.debian.net/1034143/ | 19:53 |
tpb | Title: debian Pastezone (at paste.debian.net) | 19:53 |
*** jwhitmore has quit IRC | 19:53 | |
*** luismarques has quit IRC | 19:56 | |
daveshah | Haha, you could add two of the most researched and difficult parts of PnR - parallelisation and timing driven - to arachne in 10 lines of bash... | 19:57 |
maikmerten | of course, that would be parallelisation with no net speed gain ;-) | 19:58 |
awygle | but improved QoR which is still a win | 19:59 |
maikmerten | sure :-) | 20:00 |
*** X-Scale has quit IRC | 20:13 | |
*** X-Scale has joined #yosys | 20:16 | |
*** maikmerten has quit IRC | 20:20 | |
*** seldridge has quit IRC | 20:32 | |
*** dxld has quit IRC | 21:03 | |
*** dxld has joined #yosys | 21:06 | |
*** seldridge has joined #yosys | 21:13 | |
*** digshadow has quit IRC | 21:20 | |
*** digshadow has joined #yosys | 21:36 | |
*** tinyfpga has quit IRC | 21:52 | |
*** tinyfpga has joined #yosys | 21:54 | |
*** digshadow has quit IRC | 21:58 | |
*** digshadow has joined #yosys | 22:39 | |
*** knielsen has quit IRC | 23:17 | |
*** knielsen has joined #yosys | 23:18 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!