X-Git-Url: https://git.libre-soc.org/?p=pinmux.git;a=blobdiff_plain;f=docs%2FAddingPeripherals.mdwn;h=e905a4a8c8043ad39cc79b9bfc147b76db70cc33;hp=cbe2c306ff42a95f7f310bbd1ffb01e86b9f568f;hb=6443f501b07ae5b5987db8c37fbe85035aa060e8;hpb=b6f21db2f45985aaeffa2a41daf5e4edf386b16c diff --git a/docs/AddingPeripherals.mdwn b/docs/AddingPeripherals.mdwn index cbe2c30..e905a4a 100644 --- a/docs/AddingPeripherals.mdwn +++ b/docs/AddingPeripherals.mdwn @@ -424,8 +424,7 @@ now they are to be connected *automatically* (on the peripheral side) to the IO pads in the pinmux. However, at the time of writing this is not fully understood by the author, so the fastifdecl and extfastifinstance functions are modified to generate the correct output but the code is -*commented out*, and the corresponding manual declarations of sdram_out -removed. +*commented out* def extfastifinstance(self, name, count): return "// TODO" + self._extifinstance(name, count, "_out", "", True, @@ -435,6 +434,20 @@ removed. return "// (*always_ready*) interface " + \ "Ifc_sdram_out sdr{0}_out;".format(count) +Also the corresponding (old) manual declarations of sdram\_out +removed from the template: + + `ifdef SDRAM <-- xxxx + (*always_ready*) interface Ifc_sdram_out sdram_out; <-- xxxx + `endif <-- xxxx + ... + ... + `ifdef SDRAM <--- xxxx + interface sdram_out=sdram.ifc_sdram_out; <--- xxxx + `endif <--- xxxx + + + Next, again searching for signs of the "hand-written" code, we encounter the fabric connectivity, which wires the SDRAM to the AXI4. We note however that there is not just one AXI slave device but *two*: one for the SDRAM