*** tpb has joined #yosys | 00:00 | |
*** rohitksingh has joined #yosys | 01:47 | |
*** bitmapper has quit IRC | 02:05 | |
*** rohitksingh has quit IRC | 02:47 | |
*** markus-k has quit IRC | 02:56 | |
*** develonepi3 has quit IRC | 03:25 | |
*** emily has quit IRC | 03:25 | |
*** corecode has quit IRC | 03:26 | |
*** corecode_ has joined #yosys | 03:26 | |
*** markus-k has joined #yosys | 03:29 | |
*** citypw has joined #yosys | 03:31 | |
*** emily has joined #yosys | 03:34 | |
*** ZirconiumX has quit IRC | 04:30 | |
*** dh73 has quit IRC | 05:05 | |
*** attie has joined #yosys | 05:06 | |
*** tpb has joined #yosys | 05:11 | |
*** attie has quit IRC | 05:11 | |
*** X-Scale` has joined #yosys | 06:00 | |
*** X-Scale has quit IRC | 06:01 | |
*** X-Scale` is now known as X-Scale | 06:01 | |
*** captain_morgan20 has joined #yosys | 06:06 | |
*** X-Scale` has joined #yosys | 06:16 | |
*** X-Scale has quit IRC | 06:17 | |
*** X-Scale` is now known as X-Scale | 06:18 | |
*** futarisIRCcloud has quit IRC | 07:41 | |
*** az0re has joined #yosys | 08:08 | |
*** dys has joined #yosys | 08:22 | |
*** ZirconiumX has joined #yosys | 08:32 | |
*** dys has quit IRC | 08:37 | |
*** corecode_ has quit IRC | 08:42 | |
*** vidbina_ has joined #yosys | 08:55 | |
*** corecode has joined #yosys | 09:11 | |
*** rohitksingh has joined #yosys | 09:14 | |
*** az0re has quit IRC | 09:26 | |
*** attie has joined #yosys | 09:46 | |
*** vidbina_ has quit IRC | 09:49 | |
*** attie has quit IRC | 10:10 | |
*** fsasm has joined #yosys | 10:11 | |
*** cr1901_modern has quit IRC | 11:01 | |
*** cr1901_modern has joined #yosys | 11:05 | |
*** vidbina_ has joined #yosys | 11:06 | |
*** futarisIRCcloud has joined #yosys | 11:16 | |
*** vidbina_ has quit IRC | 11:20 | |
*** rohitksingh has quit IRC | 11:31 | |
*** vidbina_ has joined #yosys | 12:08 | |
*** attie has joined #yosys | 12:09 | |
*** attie has quit IRC | 12:14 | |
*** mjoldfield has quit IRC | 12:24 | |
*** mjoldfield has joined #yosys | 12:26 | |
Xiretza | just got to the point where my SoC successfully gets through ghdl and Yosys, but nextpnr-xilinx fails because I have too many global clocks. looking at them, there are 4 with cryptic names like '$auto$clkbufmap.cc:247:execute$237951' - any tips on tracing those back to their approximate context in the design? | 12:34 |
---|---|---|
daveshah | Find the BUFG in the netlist (perhaps do a write_ilang at the end as that should be more readable than the JSON) and have a look at the input name | 12:46 |
mwk | Xiretza: try synth_xilinx -noclkbuf | 12:54 |
mwk | this will disable the clkbufmap pass | 12:54 |
daveshah | Then you will need to instantiate BUFGs manually as nextpnr-xilinx currently relies on Yosys to promote them | 12:56 |
mwk | hmm right | 12:57 |
daveshah | In this case I think '$auto$clkbufmap.cc:247:execute$237951' are usually clock buffer inputs | 12:59 |
Xiretza | indeed | 12:59 |
daveshah | somewhat confusingly the current hacky clock router in nextpnr-xilinx also lists these as global clocks because it uses a similar algorithm to route them | 12:59 |
*** s_frit has quit IRC | 13:04 | |
*** s_frit has joined #yosys | 13:05 | |
*** gromero has quit IRC | 13:24 | |
*** futarisIRCcloud has quit IRC | 13:46 | |
*** develonepi3 has joined #yosys | 13:56 | |
*** dys has joined #yosys | 14:07 | |
*** vidbina_ has quit IRC | 14:29 | |
*** vidbina_ has joined #yosys | 14:47 | |
*** emeb has joined #yosys | 15:26 | |
*** captain_morgan20 has quit IRC | 15:58 | |
*** captain_morgan20 has joined #yosys | 16:03 | |
*** dh73 has joined #yosys | 16:07 | |
*** captain_morgan20 has quit IRC | 16:10 | |
*** mjoldfield has quit IRC | 16:13 | |
*** mjoldfield has joined #yosys | 16:13 | |
*** captain_morgan20 has joined #yosys | 16:24 | |
*** rohitksingh has joined #yosys | 17:01 | |
*** vidbina_ has quit IRC | 17:04 | |
*** vidbina_ has joined #yosys | 17:05 | |
*** vidbina_ has quit IRC | 17:11 | |
*** fsasm has quit IRC | 17:13 | |
*** X-Scale` has joined #yosys | 17:32 | |
*** rohitksingh has quit IRC | 17:33 | |
*** X-Scale has quit IRC | 17:34 | |
*** X-Scale` is now known as X-Scale | 17:34 | |
*** citypw has quit IRC | 17:48 | |
ZirconiumX | So, here's a question: how does one create an asynchronous load when you only have a synchronous load input? | 17:56 |
ZirconiumX | The Cyclone V LAB has 3 clock inputs, a synchronous-load line, a synchronous-clear line, and two asynchronous-clear lines | 18:02 |
*** attie has joined #yosys | 18:03 | |
*** dys has quit IRC | 18:17 | |
daveshah | > So, here's a question: how does one create an asynchronous load when you only have a synchronous load input? | 18:17 |
daveshah | I expect the same way you fake async set and reset on devices that only have one or the other | 18:18 |
daveshah | more or less two FFs one with an async set and one with an async reset; and a latch and mux to select the last one asserted | 18:18 |
sorear | isn't "latch" the same thing as "asynchronous load" and thereby begging the question | 18:19 |
daveshah | Well, a latch is easy enough to make out of a LUT | 18:19 |
daveshah | I'm guessing asynchronous load was FF + async load | 18:20 |
*** attie has quit IRC | 18:56 | |
*** rohitksingh has joined #yosys | 19:34 | |
*** Jybz has joined #yosys | 19:42 | |
*** rohitksingh has quit IRC | 19:49 | |
*** rohitksingh has joined #yosys | 19:54 | |
*** Jybz has quit IRC | 19:59 | |
*** rohitksingh has quit IRC | 20:00 | |
*** rohitksingh has joined #yosys | 20:11 | |
*** dys has joined #yosys | 20:12 | |
*** rohitksingh has quit IRC | 20:51 | |
*** rohitksingh has joined #yosys | 22:26 | |
Xiretza | is there a pass in yosys that removes all $assert/$assume/$cover cells? VHDL doesn't have the same preprocessor mechanic as verilog, so turning off generation of verification blocks in the frontend isn't quite as straightforward. | 22:33 |
daveshah | Xiretza: chformal -remove | 22:35 |
Xiretza | daveshah: thanks, that's a useful command! | 22:36 |
*** rohitksingh has quit IRC | 22:50 | |
*** ebb has quit IRC | 23:21 | |
*** ebb has joined #yosys | 23:22 | |
*** dys has quit IRC | 23:33 | |
*** develonepi3 has quit IRC | 23:34 | |
*** develonepi3 has joined #yosys | 23:39 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!