Saturday, 2019-09-28

*** tpb has joined #yosys00:00
*** adjtm has joined #yosys01:18
*** emeb_mac has quit IRC01:26
*** emeb_mac has joined #yosys01:29
*** rohitksingh has joined #yosys01:30
*** PyroPeter has quit IRC02:08
*** PyroPeter has joined #yosys02:21
promachI have used https://github.com/YosysHQ/nextpnr/blob/master/docs/constraints.md , why still "Warning: No clocks found in design" ?02:48
tpbTitle: nextpnr/constraints.md at master · YosysHQ/nextpnr · GitHub (at github.com)02:48
*** rohitksingh has quit IRC04:13
*** PyroPeter has quit IRC04:15
*** _whitelogger has quit IRC04:21
*** _whitelogger has joined #yosys04:23
*** _whitelogger has quit IRC04:27
*** PyroPeter has joined #yosys04:28
*** rohitksingh has joined #yosys04:28
*** _whitelogger has joined #yosys04:29
*** citypw has joined #yosys04:36
*** Jybz has joined #yosys05:33
*** rohitksingh has quit IRC06:11
*** rohitksingh has joined #yosys06:18
*** emeb_mac has quit IRC06:26
*** rohitksingh has quit IRC06:34
*** GoldRin has quit IRC06:51
*** rohitksingh has joined #yosys07:16
*** rohitksingh has quit IRC07:31
*** rohitksingh has joined #yosys07:46
*** _whitelogger has quit IRC08:39
*** _whitelogger has joined #yosys08:41
*** rohitksingh has quit IRC08:44
*** lutsabound has joined #yosys08:52
*** PyroPeter has quit IRC09:12
*** captain_morgan has quit IRC09:12
*** PyroPeter has joined #yosys09:26
*** unkraut has quit IRC10:00
*** unkraut has joined #yosys10:03
*** dys has quit IRC10:25
janrinze promach: do you have a clock?10:36
promachjanrinze: I have clk in my verilog10:42
janrinzepromach: is your verilog desing on github?10:50
janrinzepromach: might be easier to look at the verilog code and assess what the issue is.10:51
promachjanrinze: https://gist.github.com/promach/cf3ae626a85badad6cd822d3107c86b710:55
tpbTitle: Spidergon Networks On Chip · GitHub (at gist.github.com)10:55
janrinzepromach: datainput and dataoutput are missing in NoC module .. try adding like  module NoC #(...) (clk,rest,data_input,data_output);11:00
janrinzepromach: if those are not driven nor used as output then Yosys can optimize them out and the result will be an empty design.11:01
promachjanrinze: No11:05
promachNoC.v is used to encapsule the spidergon NoC11:05
promachdata_input and data_output need hardware pins if without NoC.v11:05
promachdo you understand what I mean ?11:05
janrinzewhen you build with yosys, what is the 'top'?11:20
promachjanrinze: see https://gist.github.com/promach/cf3ae626a85badad6cd822d3107c86b7#file-spidergon-ys11:21
tpbTitle: Spidergon Networks On Chip · GitHub (at gist.github.com)11:21
promachline 911:22
janrinzetop=NoC thus no inputs for data_input and data_output11:22
janrinzeso if you add then to the module definition of NoC the accompanying pins will be retrieved from the constraints file.11:24
janrinzethe top module in your design only has clk and reset.11:25
promachjanrinze: there is no need for hardware IO pins for data_input and data_output11:25
promachdo you understand what I mean ?11:25
janrinzethen yosys will consider those irrelevant to the design and optimise out.11:26
janrinzepromach: how about you just try to add them as pins and then look at the result.11:28
janrinzea design that is not connected can be  optimized away. and thus no clock necessary either11:29
promachjanrinze: not enough hardware IO pins11:29
promachon FPGA11:29
promachjanrinze: I just found some logic loop issues, let me solve those those first11:32
janrinzepromach: does not matter, you don't need to have real hardware to run yosys. the pin assignment only happens in nextpnr anyway.11:33
promachyes, but data_input and data_output takes out too many IO pins11:34
promachdo you understand ?11:34
promachnot enough pins to assign, even inside nextpnr11:34
janrinzehrmm.. how about creating a simple mux that is connected to io pins. then at least yosys can see that all input and output pins are used.11:35
promachhuh ?11:37
*** GoldRin has joined #yosys11:47
*** elGamal has quit IRC11:54
*** elGamal has joined #yosys11:54
janrinzepromach: you can try using "setattr -set keep 1" in the spidergon.ys file on line 8.12:07
janrinzeit might help keeping the design from being optimized away. and you cna then run nextpnr-ice40 to see if the design fits and what fmax is.12:08
*** GoldRin has quit IRC12:57
*** citypw has quit IRC13:39
*** emeb_mac has joined #yosys13:54
*** emeb_mac has quit IRC14:06
promachjanrinze: thanks, but I need to solve some logic loop issues first14:22
promachthat is more important now14:22
* promach just solved those loop issues16:46
*** pie__ has joined #yosys16:54
*** lutsabound has quit IRC17:12
*** Jybz has quit IRC18:40
*** pie__ has quit IRC18:53
*** Jybz has joined #yosys18:57
*** pie_ has joined #yosys19:17
*** Jybz has quit IRC19:40
*** forksand has joined #yosys19:44
*** rohitksingh has joined #yosys20:12
*** dxld has quit IRC21:50
*** dxld has joined #yosys21:56
*** emeb_mac has joined #yosys23:04
*** gnufan_home has joined #yosys23:26

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!