*** tpb has joined #yosys | 00:00 | |
*** gsi__ has joined #yosys | 01:12 | |
*** gsi_ has quit IRC | 01:15 | |
*** gsi_ has joined #yosys | 02:40 | |
*** gsi__ has quit IRC | 02:42 | |
*** mirage335 has quit IRC | 03:25 | |
*** leviathanch has joined #yosys | 03:35 | |
*** mirage335 has joined #yosys | 03:36 | |
*** _whitelogger has quit IRC | 03:46 | |
*** _whitelogger has joined #yosys | 03:48 | |
*** pie__ has joined #yosys | 04:38 | |
*** pie___ has quit IRC | 04:42 | |
*** rohitksingh has joined #yosys | 04:47 | |
*** mirage335 has quit IRC | 05:08 | |
*** mirage335 has joined #yosys | 05:15 | |
*** rohitksingh has quit IRC | 05:48 | |
*** _whitelogger has quit IRC | 06:46 | |
*** _whitelogger has joined #yosys | 06:48 | |
*** emeb_mac has quit IRC | 07:45 | |
*** rohitksingh has joined #yosys | 08:12 | |
*** rohitksingh has quit IRC | 09:21 | |
*** _whitelogger has quit IRC | 09:34 | |
*** _whitelogger has joined #yosys | 09:36 | |
*** leviathanch has quit IRC | 09:46 | |
*** _whitelogger has quit IRC | 09:58 | |
*** _whitelogger has joined #yosys | 10:00 | |
*** maikmerten has joined #yosys | 11:27 | |
*** leviathanch has joined #yosys | 11:34 | |
*** leptonix has joined #yosys | 11:59 | |
*** maikmerten has quit IRC | 12:18 | |
*** maikmerten has joined #yosys | 12:19 | |
*** proteusguy has quit IRC | 12:45 | |
*** rohitksingh has joined #yosys | 13:06 | |
*** rohitksingh has quit IRC | 13:20 | |
*** rohitksingh has joined #yosys | 13:22 | |
*** rohitksingh has quit IRC | 13:32 | |
*** GuzTech has joined #yosys | 14:22 | |
*** Forty-Bot has quit IRC | 14:23 | |
*** AlexDaniel has quit IRC | 14:41 | |
*** develonepi3 has joined #yosys | 14:45 | |
*** danieljabailey has quit IRC | 14:53 | |
*** AlexDaniel has joined #yosys | 15:01 | |
*** rohitksingh has joined #yosys | 15:15 | |
*** maikmerten has quit IRC | 15:16 | |
*** _whitelogger has quit IRC | 15:28 | |
*** _whitelogger has joined #yosys | 15:30 | |
*** citypw has quit IRC | 16:26 | |
*** rohitksingh has quit IRC | 16:32 | |
*** kraiskil has joined #yosys | 16:34 | |
kraiskil | Can anyone point me to a "hello world" example project that uses icestorm & next-pnr? All I can find is yosys/icestorm/arachne-pnr examples. | 16:36 |
---|---|---|
kraiskil | Using next-pnr as a drop-in replacement for arachne-pnr doesn't seem to work even after modifying the command line options - should it? Or should I as end-user just use arachne-pnr for now? | 16:37 |
daveshah | See https://github.com/cliffordwolf/picorv32/blob/master/picosoc/Makefile#L69 | 16:42 |
tpb | Title: picorv32/Makefile at master · cliffordwolf/picorv32 · GitHub (at github.com) | 16:42 |
daveshah | nextpnr is not a drop in replacement | 16:42 |
daveshah | It has a totally different set of options - use --help | 16:42 |
daveshah | It also needs a JSON file rather than BLIF from Yosys - use synth_ice40 -json rather than -blif | 16:42 |
tnt | kraiskil: https://github.com/icebreaker-fpga/icebreaker-examples | 16:46 |
tpb | Title: GitHub - icebreaker-fpga/icebreaker-examples: This repository contains small example designs that can be used with the open source icestorm flow. (at github.com) | 16:46 |
kraiskil | daveshah, ha - I'd missed that blif vs json thingy. (wait - is this json as in Java script object notation?) | 16:47 |
daveshah | Yes | 16:48 |
kraiskil | tnt, thanks :) | 16:48 |
daveshah | http://www.clifford.at/yosys/cmd_write_json.html | 16:48 |
tpb | Title: Yosys Open SYnthesis Suite :: Command Reference :: write_json (at www.clifford.at) | 16:48 |
daveshah | Is the syntax | 16:48 |
kraiskil | Ok, got past that hurdle :) But seems the .pcf file syntax has changed too? Or do I just have a bad .pcf to start with? | 16:51 |
tnt | pcf syntax is the same AFAIK | 16:53 |
tnt | pastebin your pcf ? | 16:54 |
kraiskil | tnt, https://github.com/tinyfpga/TinyFPGA-BX/blob/master/icestorm_template/pins.pcf | 16:57 |
tpb | Title: TinyFPGA-BX/pins.pcf at master · tinyfpga/TinyFPGA-BX · GitHub (at github.com) | 16:57 |
*** leviathanch has quit IRC | 16:58 | |
tnt | Looks fine to me, what's the error ? | 16:58 |
kraiskil | File "pins.pcf", line 41 | 17:00 |
kraiskil | set_io --warn-no-port PIN_1 A2 | 17:00 |
kraiskil | ^ | 17:00 |
kraiskil | SyntaxError: invalid syntax | 17:00 |
tnt | That ... looks like a python error. | 17:01 |
daveshah | I think you are missing a --pcf | 17:01 |
daveshah | --warn-no-port is now deprecated (it's the default, use -nowarn if you don't want a warning at all), but should be ignored happily | 17:02 |
kraiskil | the next-pnr cmd line is: | 17:23 |
kraiskil | nextpnr-ice40 --lp8k --package cm81 --pcf pins.pcf pins.pcf top.json | 17:23 |
kraiskil | eh | 17:23 |
kraiskil | took me this long to spot the error :D | 17:24 |
tnt | lol | 17:28 |
kraiskil | so, the correct next-pnr line is: | 17:29 |
kraiskil | nextpnr-ice40 --lp8k --package cm81 --pcf pins.pcf top.json --asc top.asc | 17:29 |
tnt | looks about right | 17:29 |
daveshah | --json top.json | 17:29 |
kraiskil | but no "top.asc" is produced? | 17:29 |
tnt | oh yeah --json | 17:29 |
kraiskil | hehe - and now a top.asc is produced :p | 17:29 |
tnt | I'm not even sure why it accepts positional argumentS ? | 17:29 |
kraiskil | the coolness of a tool is related to its learning curve? :p | 17:31 |
tnt | well so far it's really just reading the -h output, not exactly rocket science. | 17:31 |
kraiskil | anyways, I got my .bin now. Next up, find my board and try to flash it :) Thanks all for the help | 17:33 |
kraiskil | (also, why are there at least three flashing tools for Lattice - not including Lattice's own - out there. Is anyone working on unifying these?) | 17:34 |
tnt | kraiskil: 3 ? | 17:36 |
MoeIcenowy | to be honest, I use flashrom for my board ;-) | 17:37 |
tnt | kraiskil: there is iceprog which is the 'standard' stuff using the ftdi chips connected the same way as the official boards. Then tinyfpga has its own stuff because it has a 'bootloader' thing which is completely specific to tinyfpga. | 17:38 |
kraiskil | iceprog, iceburn, tinyprog | 17:38 |
kraiskil | ok, I haven't looked into all this yet :) | 17:38 |
tnt | Oh yeah, iceburn ... but that one is pretty much the same as iceprog function wise, it doesn't have any advantage other than being python only. | 17:39 |
kraiskil | heh - tinyprog fails to program the board. Ohwell, this I leave for another time :D | 17:56 |
*** maikmerten has joined #yosys | 18:01 | |
*** rohitksingh has joined #yosys | 18:25 | |
*** maikmerten has quit IRC | 18:35 | |
*** Laksen has joined #yosys | 18:40 | |
*** danieljabailey has joined #yosys | 18:54 | |
*** voxadam has quit IRC | 19:16 | |
*** voxadam has joined #yosys | 19:17 | |
*** emeb has joined #yosys | 19:49 | |
*** maikmerten has joined #yosys | 19:58 | |
*** maikmerten has quit IRC | 21:36 | |
*** Laksen has quit IRC | 21:47 | |
*** GuzTech has quit IRC | 22:17 | |
*** rohitksingh has quit IRC | 22:17 | |
*** memchk has joined #yosys | 22:50 | |
*** kraiskil has quit IRC | 23:04 | |
*** memchk has quit IRC | 23:35 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!