*** tpb has joined #yosys | 00:00 | |
*** emeb has quit IRC | 00:27 | |
*** emeb_mac has joined #yosys | 00:29 | |
*** Nazara has joined #yosys | 02:26 | |
*** Nazara has quit IRC | 02:26 | |
*** Nazara has joined #yosys | 02:29 | |
*** PyroPeter has quit IRC | 02:34 | |
*** PyroPeter has joined #yosys | 02:48 | |
*** _whitelogger has quit IRC | 02:54 | |
*** _whitelogger has joined #yosys | 02:56 | |
*** citypw has joined #yosys | 03:31 | |
*** citypw has quit IRC | 03:33 | |
*** citypw has joined #yosys | 03:34 | |
*** citypw has quit IRC | 03:40 | |
*** rohitksingh has joined #yosys | 04:32 | |
*** rohitksingh has quit IRC | 05:08 | |
*** proteusguy has joined #yosys | 06:02 | |
pepijndevos_ | Could anyone knowleable weigh in on how to implement module instantiation in a VHDL frontend? https://gitter.im/ghdl1/Lobby | 06:55 |
---|---|---|
tpb | Title: ghdl1/Lobby - Gitter (at gitter.im) | 06:55 |
pepijndevos_ | I think the current approach is to just synthesize the whole hierarchy in ghdl, but I don't think this allows using hardware primitives or mixing vhdl and verilog. | 06:56 |
pepijndevos_ | If I load a verilog file that references another, it just puts that in as a cell. Is there any extra work required on the ghdl side to do that, or as soon as a module is in ilang all is good and hierarchy will be handled by yosys? | 06:58 |
pepijndevos_ | How is this handled around implementations? In vhdl an entity can have multiple implementations that you can select. | 07:00 |
daveshah | I don't know about implementations | 07:03 |
daveshah | But the problem is parameterisable modules | 07:03 |
daveshah | At the moment read_verilog stores the Verilog AST as well as creating RTLIL | 07:03 |
daveshah | If the hierarchy command encounters an instance of a module with non-default parameters (and a set of parameters not seen before), then it will rerun elaboration with those parameters | 07:04 |
daveshah | If you only want to handle VHDL instantiating Verilog modules or blackbox cells (eg FPGA cell instantiation) | 07:05 |
daveshah | Then elaborating the whole hierarchy in ghdl and leaving unknown modules as blackbox cell instantiations would work | 07:05 |
daveshah | This wouldn't handle the case of a Verilog module instantiating a VHDL module though | 07:06 |
*** emeb_mac has quit IRC | 07:31 | |
*** pie_ has quit IRC | 09:19 | |
*** filssavi has joined #yosys | 09:49 | |
*** filssavi has quit IRC | 09:56 | |
pepijndevos_ | daveshah, ah thanks. Is that how verific does it as well? | 10:16 |
pepijndevos_ | ZirconiumX, I can now generate my PWM pcb from VHDL, except it adds a ton of buffer chips. So that's good progress, but it'd be nice if we could tell ABC to not do that. | 10:27 |
pepijndevos_ | It's weird that it adds more of them than the same code in verilog | 10:27 |
ZirconiumX | Hmm... | 10:27 |
pepijndevos_ | Looking at "show" they are all on the reset lines in this case, but not on the clock. Hmmm indeed | 10:32 |
pepijndevos_ | The hacky solution is of course to do what you suggested and just short them when generating the kicad netlist. Or maybe we could make a techmap that is just a wire. | 10:36 |
*** knielsen has quit IRC | 10:56 | |
*** knielsen has joined #yosys | 10:58 | |
*** SpaceCoaster has joined #yosys | 11:03 | |
*** pie_ has joined #yosys | 11:13 | |
*** rrika has quit IRC | 12:34 | |
*** rrika has joined #yosys | 12:37 | |
pepijndevos_ | ZirconiumX, holy shit, I updated yosys and all 74xx benchmareks are *much* less chips now. Hmmmm https://twitter.com/whitequark/status/1150829419323363328 | 13:16 |
ZirconiumX | Maybe it's proc_prune? | 13:18 |
pepijndevos_ | Dunno but I'm not complaining :))) | 13:19 |
pepijndevos_ | Some of them are tempting to be built now. Still quite rediculous, but 370 chips for a 6502... | 13:23 |
ZirconiumX | That's reaching the realm of feasibility | 13:24 |
ZirconiumX | But it's not as good as a human there | 13:24 |
pepijndevos_ | How much chips does it take a human to build a 6502? | 13:25 |
tnt | 1 ? | 13:28 |
tnt | :) | 13:28 |
pepijndevos_ | -.- | 13:29 |
*** alexhw has joined #yosys | 13:53 | |
*** proteusguy has quit IRC | 14:19 | |
*** m4ssi has joined #yosys | 14:22 | |
*** emeb has joined #yosys | 14:27 | |
*** Cerpin has joined #yosys | 14:47 | |
*** pfrankis has joined #yosys | 14:51 | |
*** pie_ has quit IRC | 15:07 | |
*** AlexDaniel has joined #yosys | 15:44 | |
*** m4ssi has quit IRC | 16:51 | |
*** pie_ has joined #yosys | 17:13 | |
*** dys has joined #yosys | 17:13 | |
*** pie_ has quit IRC | 17:14 | |
*** pie_ has joined #yosys | 17:14 | |
*** pie_ has joined #yosys | 17:16 | |
*** pie_ has quit IRC | 17:17 | |
*** pie_ has joined #yosys | 17:17 | |
*** pie_ has quit IRC | 17:19 | |
*** pie_ has joined #yosys | 17:19 | |
*** pie_ has joined #yosys | 17:20 | |
*** pie_ has joined #yosys | 17:22 | |
*** pie_ has quit IRC | 17:23 | |
*** pie_ has joined #yosys | 17:23 | |
*** pie_ has quit IRC | 17:25 | |
*** pie_ has joined #yosys | 17:25 | |
*** pie_ has joined #yosys | 17:26 | |
*** pie_ has joined #yosys | 17:29 | |
*** pie__ has joined #yosys | 17:30 | |
*** pie__ has quit IRC | 17:32 | |
*** rohitksingh has joined #yosys | 17:35 | |
*** rohitksingh has quit IRC | 18:17 | |
*** Wolf480pl has quit IRC | 19:24 | |
*** Wolf480pl has joined #yosys | 19:25 | |
*** pfrankis has quit IRC | 19:46 | |
*** dys has quit IRC | 21:18 | |
*** pie_ has quit IRC | 21:22 | |
*** pie_ has joined #yosys | 22:13 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!