Frequently Asked Questions (FAQ)
Q: Where can I find some software making good use of SDB-aware firmware?
A: Examples of (real) usage of SDB in FMC designs can be found in the software support sub-projects of boards like the fmc-adc-100m14b4cha:, fmc-delay-1ns-8cha: and the spec: and svec: carriers. To get a good grasp of how it all fits together, heavy use of SDB is made by the FMC bus software abstraction fmc-bus:.
Good usage of this abstraction and of SDB records is done, for example, in the following drivers fine-delay-sw:, spec-sw:
Q: What is the origin of the vendor_id and device_id for the wishbone devices?
What is the origin of the vendor_id and device_id for the wishbone devices that are connected to the wishbone crossbar (defined in the SDB)? I see that CERN chose vendor_id "0000CE42". What number should I give to our company? The device_id seems a random number. Are these numbers managed somewhere or could I freely choose some?
A: Nobody is managing these numbers. As long as we are just the few of us, we agree on numbers. The standard says that the high-half is free for anyone to use, provided the vendor is randomized. And for the device number, it's a little local mess. fine delay is ascii-like 0xf19ede1a, ADC is an md5 hash of the device name and others are sequential (the vic is 0x13).
In general, each vendor is on its own. We'd better not have duplicates, but it's not really that bad unless it's a top-level thing that is used for higher-level identification.
8 July 2013