clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
gsi__ has joined #yosys
gsi_ has quit [Ping timeout: 252 seconds]
gsi_ has joined #yosys
gsi__ has quit [Ping timeout: 255 seconds]
mirage335 has quit [Ping timeout: 252 seconds]
leviathanch has joined #yosys
mirage335 has joined #yosys
_whitelogger has joined #yosys
pie__ has joined #yosys
pie___ has quit [Ping timeout: 272 seconds]
rohitksingh has joined #yosys
mirage335 has quit [Ping timeout: 245 seconds]
mirage335 has joined #yosys
rohitksingh has quit [Ping timeout: 255 seconds]
_whitelogger has joined #yosys
emeb_mac has quit [Ping timeout: 246 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 255 seconds]
_whitelogger has joined #yosys
leviathanch has quit [Remote host closed the connection]
_whitelogger has joined #yosys
maikmerten has joined #yosys
leviathanch has joined #yosys
leptonix has joined #yosys
maikmerten has quit [Remote host closed the connection]
maikmerten has joined #yosys
proteusguy has quit [Remote host closed the connection]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 245 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 244 seconds]
GuzTech has joined #yosys
Forty-Bot has quit []
AlexDaniel has quit [Ping timeout: 245 seconds]
develonepi3 has joined #yosys
danieljabailey has quit [Ping timeout: 272 seconds]
AlexDaniel has joined #yosys
rohitksingh has joined #yosys
maikmerten has quit [Quit: bye]
_whitelogger has joined #yosys
citypw has quit [Ping timeout: 245 seconds]
rohitksingh has quit [Ping timeout: 246 seconds]
kraiskil has joined #yosys
<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.
<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?
<tpb> Title: picorv32/Makefile at master · cliffordwolf/picorv32 · GitHub (at github.com)
<daveshah> nextpnr is not a drop in replacement
<daveshah> It has a totally different set of options - use --help
<daveshah> It also needs a JSON file rather than BLIF from Yosys - use synth_ice40 -json rather than -blif
<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)
<kraiskil> daveshah, ha - I'd missed that blif vs json thingy. (wait - is this json as in Java script object notation?)
<daveshah> Yes
<kraiskil> tnt, thanks :)
<tpb> Title: Yosys Open SYnthesis Suite :: Command Reference :: write_json (at www.clifford.at)
<daveshah> Is the syntax
<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?
<tnt> pcf syntax is the same AFAIK
<tnt> pastebin your pcf ?
<tpb> Title: TinyFPGA-BX/pins.pcf at master · tinyfpga/TinyFPGA-BX · GitHub (at github.com)
leviathanch has quit [Remote host closed the connection]
<tnt> Looks fine to me, what's the error ?
<kraiskil> File "pins.pcf", line 41
<kraiskil> SyntaxError: invalid syntax
<kraiskil> set_io --warn-no-port PIN_1 A2
<kraiskil> ^
<tnt> That ... looks like a python error.
<daveshah> I think you are missing a --pcf
<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
<kraiskil> the next-pnr cmd line is:
<kraiskil> nextpnr-ice40 --lp8k --package cm81 --pcf pins.pcf pins.pcf top.json
<kraiskil> eh
<kraiskil> took me this long to spot the error :D
<tnt> lol
<kraiskil> so, the correct next-pnr line is:
<kraiskil> nextpnr-ice40 --lp8k --package cm81 --pcf pins.pcf top.json --asc top.asc
<tnt> looks about right
<daveshah> --json top.json
<kraiskil> but no "top.asc" is produced?
<tnt> oh yeah --json
<kraiskil> hehe - and now a top.asc is produced :p
<tnt> I'm not even sure why it accepts positional argumentS ?
<kraiskil> the coolness of a tool is related to its learning curve? :p
<tnt> well so far it's really just reading the -h output, not exactly rocket science.
<kraiskil> anyways, I got my .bin now. Next up, find my board and try to flash it :) Thanks all for the help
<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?)
<tnt> kraiskil: 3 ?
<MoeIcenowy> to be honest, I use flashrom for my board ;-)
<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.
<kraiskil> iceprog, iceburn, tinyprog
<kraiskil> ok, I haven't looked into all this yet :)
<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.
<kraiskil> heh - tinyprog fails to program the board. Ohwell, this I leave for another time :D
maikmerten has joined #yosys
rohitksingh has joined #yosys
maikmerten has quit [Ping timeout: 245 seconds]
Laksen has joined #yosys
danieljabailey has joined #yosys
danieljabailey has quit [K-Lined]
voxadam has quit [Read error: Connection reset by peer]
voxadam has joined #yosys
emeb has joined #yosys
maikmerten has joined #yosys
maikmerten has quit [Quit: Ex-Chat]
Laksen has quit [Quit: Leaving]
GuzTech has quit [Ping timeout: 250 seconds]
rohitksingh has quit [Ping timeout: 255 seconds]
memchk has joined #yosys
kraiskil has quit [Ping timeout: 246 seconds]
memchk has quit [Ping timeout: 256 seconds]
tpb has quit [Remote host closed the connection]
tpb has joined #yosys