*** tpb has joined #yosys | 00:00 | |
*** adjtm has joined #yosys | 01:18 | |
*** emeb_mac has quit IRC | 01:26 | |
*** emeb_mac has joined #yosys | 01:29 | |
*** rohitksingh has joined #yosys | 01:30 | |
*** PyroPeter has quit IRC | 02:08 | |
*** PyroPeter has joined #yosys | 02:21 | |
promach | I have used https://github.com/YosysHQ/nextpnr/blob/master/docs/constraints.md , why still "Warning: No clocks found in design" ? | 02:48 |
---|---|---|
tpb | Title: nextpnr/constraints.md at master · YosysHQ/nextpnr · GitHub (at github.com) | 02:48 |
*** rohitksingh has quit IRC | 04:13 | |
*** PyroPeter has quit IRC | 04:15 | |
*** _whitelogger has quit IRC | 04:21 | |
*** _whitelogger has joined #yosys | 04:23 | |
*** _whitelogger has quit IRC | 04:27 | |
*** PyroPeter has joined #yosys | 04:28 | |
*** rohitksingh has joined #yosys | 04:28 | |
*** _whitelogger has joined #yosys | 04:29 | |
*** citypw has joined #yosys | 04:36 | |
*** Jybz has joined #yosys | 05:33 | |
*** rohitksingh has quit IRC | 06:11 | |
*** rohitksingh has joined #yosys | 06:18 | |
*** emeb_mac has quit IRC | 06:26 | |
*** rohitksingh has quit IRC | 06:34 | |
*** GoldRin has quit IRC | 06:51 | |
*** rohitksingh has joined #yosys | 07:16 | |
*** rohitksingh has quit IRC | 07:31 | |
*** rohitksingh has joined #yosys | 07:46 | |
*** _whitelogger has quit IRC | 08:39 | |
*** _whitelogger has joined #yosys | 08:41 | |
*** rohitksingh has quit IRC | 08:44 | |
*** lutsabound has joined #yosys | 08:52 | |
*** PyroPeter has quit IRC | 09:12 | |
*** captain_morgan has quit IRC | 09:12 | |
*** PyroPeter has joined #yosys | 09:26 | |
*** unkraut has quit IRC | 10:00 | |
*** unkraut has joined #yosys | 10:03 | |
*** dys has quit IRC | 10:25 | |
janrinze | promach: do you have a clock? | 10:36 |
promach | janrinze: I have clk in my verilog | 10:42 |
janrinze | promach: is your verilog desing on github? | 10:50 |
janrinze | promach: might be easier to look at the verilog code and assess what the issue is. | 10:51 |
promach | janrinze: https://gist.github.com/promach/cf3ae626a85badad6cd822d3107c86b7 | 10:55 |
tpb | Title: Spidergon Networks On Chip · GitHub (at gist.github.com) | 10:55 |
janrinze | promach: datainput and dataoutput are missing in NoC module .. try adding like module NoC #(...) (clk,rest,data_input,data_output); | 11:00 |
janrinze | promach: 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 |
promach | janrinze: No | 11:05 |
promach | NoC.v is used to encapsule the spidergon NoC | 11:05 |
promach | data_input and data_output need hardware pins if without NoC.v | 11:05 |
promach | do you understand what I mean ? | 11:05 |
janrinze | when you build with yosys, what is the 'top'? | 11:20 |
promach | janrinze: see https://gist.github.com/promach/cf3ae626a85badad6cd822d3107c86b7#file-spidergon-ys | 11:21 |
tpb | Title: Spidergon Networks On Chip · GitHub (at gist.github.com) | 11:21 |
promach | line 9 | 11:22 |
janrinze | top=NoC thus no inputs for data_input and data_output | 11:22 |
janrinze | so if you add then to the module definition of NoC the accompanying pins will be retrieved from the constraints file. | 11:24 |
janrinze | the top module in your design only has clk and reset. | 11:25 |
promach | janrinze: there is no need for hardware IO pins for data_input and data_output | 11:25 |
promach | do you understand what I mean ? | 11:25 |
janrinze | then yosys will consider those irrelevant to the design and optimise out. | 11:26 |
janrinze | promach: how about you just try to add them as pins and then look at the result. | 11:28 |
janrinze | a design that is not connected can be optimized away. and thus no clock necessary either | 11:29 |
promach | janrinze: not enough hardware IO pins | 11:29 |
promach | on FPGA | 11:29 |
promach | janrinze: I just found some logic loop issues, let me solve those those first | 11:32 |
janrinze | promach: does not matter, you don't need to have real hardware to run yosys. the pin assignment only happens in nextpnr anyway. | 11:33 |
promach | yes, but data_input and data_output takes out too many IO pins | 11:34 |
promach | do you understand ? | 11:34 |
promach | not enough pins to assign, even inside nextpnr | 11:34 |
janrinze | hrmm.. 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 |
promach | huh ? | 11:37 |
*** GoldRin has joined #yosys | 11:47 | |
*** elGamal has quit IRC | 11:54 | |
*** elGamal has joined #yosys | 11:54 | |
janrinze | promach: you can try using "setattr -set keep 1" in the spidergon.ys file on line 8. | 12:07 |
janrinze | it 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 IRC | 12:57 | |
*** citypw has quit IRC | 13:39 | |
*** emeb_mac has joined #yosys | 13:54 | |
*** emeb_mac has quit IRC | 14:06 | |
promach | janrinze: thanks, but I need to solve some logic loop issues first | 14:22 |
promach | that is more important now | 14:22 |
* promach just solved those loop issues | 16:46 | |
*** pie__ has joined #yosys | 16:54 | |
*** lutsabound has quit IRC | 17:12 | |
*** Jybz has quit IRC | 18:40 | |
*** pie__ has quit IRC | 18:53 | |
*** Jybz has joined #yosys | 18:57 | |
*** pie_ has joined #yosys | 19:17 | |
*** Jybz has quit IRC | 19:40 | |
*** forksand has joined #yosys | 19:44 | |
*** rohitksingh has joined #yosys | 20:12 | |
*** dxld has quit IRC | 21:50 | |
*** dxld has joined #yosys | 21:56 | |
*** emeb_mac has joined #yosys | 23:04 | |
*** gnufan_home has joined #yosys | 23:26 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!