[Libre-soc-dev] PLL integration
Jean-Paul.Chaput at lip6.fr
Thu May 27 12:00:55 BST 2021
On Thu, 2021-05-27 at 10:30 +0100, Luke Kenneth Casson Leighton wrote:
> On Thu, May 27, 2021 at 10:05 AM Jean-Paul Chaput <Jean-Paul.Chaput at lip6.fr>
> > Ha. No, I was meaning "in the rest of the test issuer"...
> > The PLL may be one of the most safe part of the chip. It has been
> > completely simulated at spice level (and proved ok). And Dimitri has
> > a long experience in those kind of design.
> which is fantastic to hear
> > Now that I also have manually and one by one checked the connexions
> > I'm pretty confident that it is working.
> ok, so what i mean is: testing its connections in simulation is tricky
> (needing to use a VBE model not the actual SPICE in e.g. verilator
> it's not Dimitri's work that is of concern, it's yosys handling of
Yes, I did see that warning. After investigations, the connexions
are what they should be, even if the direction is wrong.
We have to check the blif file to see if the error is due to
Yosys or blif2vst. If it's on my side I will fix it. If not,
I may force the signal direction (to build the clock tree I
need to known where is the driver).
Small other point : to be similar to what I do with the TSMC
variant, the "pll" black box should be renamed into "cmpt_pll".
But it's optional I manually made the correction in the relevant
Verilog files (not commited).
> i currently have this in the output from the build:
> o Protect external components not useds as RoutingPads.
> o Running global routing.
> o Back annotate global routing graph.
> [ 0] nets:[ERROR] Diskstra::load(): Net
> "core.subckt_12347_test_issuer.ti_coresync_clk" do not have a driver.
> which, oink, i'm reviewing the...
> ahhh, the wrapped PLL has had the outputs all turned into inputs:
> component cmpt_wrappll
> port ( clk_24_i : in bit
> ; clk_pll_o : in bit
> ; pll_test_o : in bit
> ; pll_vco_o : in bit
> ; clk_sel_i : in bit_vector(1 downto 0)
> ; vdd : linkage bit
> ; vss : linkage bit
> end component;
> this is despite the blackbox clearly saying they are outputs:
> (* blackbox = 1 *)
> module pll(ref , div_out_test, a0, a1, vco_test_ana, out);
> input a0;
> input a1;
> output div_out_test;
> output out;
> input ref ;
> output vco_test_ana;
> and in the verilog (libresoc.v) they are clearly outputs:
> (* \nmigen.hierarchy = "test_issuer.wrappll" *)
> (* generator = "nMigen" *)
> module wrappll(clk_24_i, pll_test_o, pll_vco_o, clk_sel_i, clk_pll_o);
> input clk_24_i;
> output clk_pll_o;
> input [1:0] clk_sel_i;
> output pll_test_o;
> output pll_vco_o;
> pll real_pll (
> .\ref (clk_24_i),
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
.-. J e a n - P a u l C h a p u t / Administrateur Systeme
/v\ Jean-Paul.Chaput at lip6.fr
/(___)\ work: (33) 01.44.27.53.99
^^ ^^ cell: 06.66.25.35.55 home: 09.65.29.83.38
U P M C Universite Pierre & Marie Curie
L I P 6 Laboratoire d'Informatique de Paris VI
S o C System On Chip
More information about the Libre-soc-dev