Wednesday, 2022-06-15

openpowerbot[slack] <Anton Blanchard> I've worked with tgingold to fix some ghdl Verilog synthesis issues. Mainline ghdl now synthesizes working Verilog for microwatt using `ghdl --synth --out=verilog` avoiding the requirement for yosys and the ghdl plugin. We'll still use yosys for FPGA builds, but for the ASIC flow or verilator and icarus verilog simulation, the ghdl output works.06:55
openpowerbot[slack] <joel> > We'll still use yosys for FPGA builds07:03
openpowerbot[slack] <joel> @Anton Blanchard Is this because it's used in the FPGA flow regardless?07:03
openpowerbot[slack] <Anton Blanchard> Yeah. One day the ASIC flow might integrate VHDL directly (via the GHDL plugin), but for now we have to do some modification of the Verilog for plumbing power in.07:08
openpowerbot[slack] <joel> I see, so it's more about wanting to do some changes to the verilog than eliminating yosys from the flow07:11
openpowerbot[slack] <Anton Blanchard> Yep. Avoiding Yosys for Verilator and Icarus Verilog simulation simplifies things a bit. It also simulates faster, possibly because the Verilog output from ghdl is higher level.07:19
lkclAnton: is it also more "meaningful"? the yosys-ghdl-plugin is... well... pretty awful: it trashes VHDL records, converts everything to anonymous bits with virtually no recogniseable names from the original VHDL20:50
lkclalso, you may be interested to know that coriolis2 automatically adds VSS/VDD to all Cells, automatically20:51
lkclalthough it converts VHDL-yosys-BLIF-{VHDL-subset} the process is fully automated20:51
lkclthe VHDL-subset is at the "Cell-only" bit-level20:52
lkclbut at the same time the conversion to VHDL-subset takes the opportunity to add all and any missing VSS/VDD20:52

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!