IRC logs for #openrisc Friday, 2016-10-21

--- Log opened Fri Oct 21 00:00:06 2016
karussellbremserin the meantime, with the second or third try, the board was 'succesfully' programmed. however, there's no uart output at all.08:33
-!- Netsplit *.net <-> *.split quits: ZipCPU, eliask, LoneTech19:01
-!- Netsplit *.net <-> *.split quits: oleg-nenashev, mithro, Amadiro, Hoolootwo, _florent_, parasite, julzmb, ZipCPU|Laptop19:01
-!- Netsplit over, joins: LoneTech19:01
-!- Netsplit *.net <-> *.split quits: Guest3678_, rah, bentley`, Shentino, kc5tja, mafm, LoneTech, karussellbremser, knz, heroux, (+5 more, use /NETSPLIT to show all of them)19:01
-!- Netsplit over, joins: rokka19:06
-!- Netsplit over, joins: Amadiro19:07
-!- Netsplit over, joins: Guest3678_, olofk, SMDwrk, rhythmx19:07
-!- Netsplit over, joins: LoneTech19:07
-!- Netsplit over, joins: Laksen, kc5tja19:08
-!- Netsplit over, joins: karussellbremser19:08
-!- Netsplit over, joins: ZipCPU|Laptop, rah, oleg-nenashev, mithro, parasite, Hoolootwo, _florent_, julzmb19:08
-!- Netsplit over, joins: Shentino, knz19:08
promachwhen I tried yosys on openrisc, I have the following error:
promachwhy ?21:21
ZipCPU|Laptoppromach: Your yosys command isn't (yet) correct.21:45
ZipCPU|LaptopYou give it the command to process all of the files until the last one with the error.21:45
ZipCPU|LaptopOn that one, you just give it the file name.21:45
promachhuh ?21:47
promachZipCPU|Laptop: On that one, you just give it the file name. ?22:30
ZipCPU|LaptopWell, read the error.  You process all of the files well until the last one.22:30
ZipCPU|LaptopOne the last file, the one that it errors out on, it says there's no such command and lists the filename as though it were the command it was given.22:31
ZipCPU|LaptopIn other words, you gave it the filename, not the command followed by the filename.22:31
ZipCPU|LaptopHence ... the error.22:31
promachZipCPU|Laptop: I do not get your reason for "not the command followed by the filename."22:37
ZipCPU|LaptopLet's try this: How  are you running yosys?22:37
promachyosys -p *.v22:38
ZipCPU|LaptopOk, now do this: echo yosys -p *.v into a window, copy it into a paste bin and send the link.22:38
promach   same command used before22:40
promachwhat do you mean ?22:41
ZipCPU|LaptopNot quite.  You ran "yosys -p *.v" (or so I presume) and posted the results, instead of "echo yosys -p *.v" and posting the results.22:42
ZipCPU|LaptopEither way, read th output: over and over you have "-- Parsing (filename) using frontend ..."22:43
ZipCPU|LaptopAt the end, you have (instead) "-- Running command `mor1kx_branch_prediction.v' --"22:43
ZipCPU|LaptopYou wanted to parse mor1kx_branch_prediction.v.  Why are you running it as a command?22:43
ZipCPU|LaptopThen, as one might expect, you get the error: "No such command: mor1kx_branch_prediction.v"22:44
ZipCPU|LaptopWell, of course there isn't such a command!  That's the file that's supposed to be parsed.22:44
ZipCPU|LaptopSo ... why did you tell yosys that it was a command?22:44
promachI see22:44
promachso, instead of command, I want to parse the last file as a filename, right ?22:44
ZipCPU|LaptopI think you want to parse all of those files, right?22:45
ZipCPU|LaptopI should point out ... I've only gotten so far as parsing the ZipCPU with Yosys.22:45
ZipCPU|LaptopI haven't managed to make a full image yet--I've just been focused on other things.22:45
ZipCPU|LaptopSo ... in what may be two minutes or less, you may know more than I do.22:45
ZipCPU|LaptopNow what I wouldn't give to have a proper man page telling you how to use Yosys.22:47
* ZipCPU|Laptop snarls, and curls his lips22:47
ZipCPU|LaptopThe project I was doing where I got farther used a script with Yosys.22:48
ZipCPU|LaptopThe script contained such lines as: read_verilog mor1kx_branch_prediction.v22:49
ZipCPU|Laptopand so forth.22:49
ZipCPU|LaptopThen you might have a line such as: "synth -top orpsoc_top" or some such.22:50
ZipCPU|LaptopI was also running yosys with a command similar to "yosys < yosys-script".  Check out for more information.22:51
ZipCPU|LaptopAgain, I think you'll probably know more than I do about this within two minutes or so.22:52
promachbut in this few hours, I am stucked with some other work22:52
ZipCPU|LaptopYou might manage to get some more help on the #mystorm forum, here on freenode, or you might not.22:52
ZipCPU|LaptopThat forums got the folks that know the answer, but no one seems to be talking there.22:53
promachgive me some time22:53
promachZipCPU|Laptop: Could I have the link of your  yosys-script  for reference as well ?22:59
ZipCPU|Laptopin the morning ...23:04
--- Log closed Sat Oct 22 00:00:08 2016

Generated by 2.15.2 by Marius Gedminas - find it at!