clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys
Nazara has joined #yosys
Nazara has quit [Client Quit]
Nazara has joined #yosys
PyroPeter has quit [Ping timeout: 250 seconds]
PyroPeter has joined #yosys
_whitelogger has joined #yosys
citypw has joined #yosys
citypw has quit [Client Quit]
citypw has joined #yosys
citypw has quit [Quit: Leaving]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 245 seconds]
proteusguy has joined #yosys
<pepijndevos_> Could anyone knowleable weigh in on how to implement module instantiation in a VHDL frontend? https://gitter.im/ghdl1/Lobby
<tpb> Title: ghdl1/Lobby - Gitter (at gitter.im)
<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.
<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?
<pepijndevos_> How is this handled around implementations? In vhdl an entity can have multiple implementations that you can select.
<daveshah> I don't know about implementations
<daveshah> But the problem is parameterisable modules
<daveshah> At the moment read_verilog stores the Verilog AST as well as creating RTLIL
<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
<daveshah> If you only want to handle VHDL instantiating Verilog modules or blackbox cells (eg FPGA cell instantiation)
<daveshah> Then elaborating the whole hierarchy in ghdl and leaving unknown modules as blackbox cell instantiations would work
<daveshah> This wouldn't handle the case of a Verilog module instantiating a VHDL module though
emeb_mac has quit [Ping timeout: 272 seconds]
pie_ has quit [Ping timeout: 276 seconds]
filssavi has joined #yosys
filssavi has quit [Remote host closed the connection]
<pepijndevos_> daveshah, ah thanks. Is that how verific does it as well?
<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.
<pepijndevos_> It's weird that it adds more of them than the same code in verilog
<ZirconiumX> Hmm...
<pepijndevos_> Looking at "show" they are all on the reset lines in this case, but not on the clock. Hmmm indeed
<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.
knielsen has quit [Quit: -f]
knielsen has joined #yosys
SpaceCoaster has joined #yosys
pie_ has joined #yosys
rrika has quit [Ping timeout: 248 seconds]
rrika has joined #yosys
<pepijndevos_> ZirconiumX, holy shit, I updated yosys and all 74xx benchmareks are *much* less chips now. Hmmmm https://twitter.com/whitequark/status/1150829419323363328
<ZirconiumX> Maybe it's proc_prune?
<pepijndevos_> Dunno but I'm not complaining :)))
<pepijndevos_> Some of them are tempting to be built now. Still quite rediculous, but 370 chips for a 6502...
<ZirconiumX> That's reaching the realm of feasibility
<ZirconiumX> But it's not as good as a human there
<pepijndevos_> How much chips does it take a human to build a 6502?
<tnt> 1 ?
<tnt> :)
<pepijndevos_> -.-
alexhw has joined #yosys
proteusguy has quit [Read error: Connection reset by peer]
m4ssi has joined #yosys
emeb has joined #yosys
Cerpin has joined #yosys
pfrankis has joined #yosys
pie_ has quit [Ping timeout: 250 seconds]
AlexDaniel has joined #yosys
m4ssi has quit [Remote host closed the connection]
pie_ has joined #yosys
dys has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
pie__ has joined #yosys
pie__ has quit [Client Quit]
rohitksingh has joined #yosys
rohitksingh has quit [Remote host closed the connection]
Wolf480pl has quit [Quit: ZNC disconnected]
Wolf480pl has joined #yosys
pfrankis has quit [Ping timeout: 272 seconds]
dys has quit [Ping timeout: 245 seconds]
pie_ has quit [Ping timeout: 268 seconds]
pie_ has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys