Documentation/fmc/FMC-and-SDB.txt

2024-06-22 07:38
文章标签 fmc documentation sdb txt

本文主要是介绍Documentation/fmc/FMC-and-SDB.txt,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

如果想评论或更新本文的内容,请直接联系原文档的维护者。


如果你使用英文交流有困难的话,也可以向中文版维护者求助。


如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。


中文版维护者: 陶莹莉  tyl18768122426@163.com


中文版翻译者:  陶莹莉  tyl18768122426@163.com


中文版校译者:  陶莹莉  tyl18768122426@163.com


FMC (FPGA Mezzanine Card) is the standard we use for our I/O devices,
in the context of White Rabbit and related hardware.


FMC(FPGA夹层卡)是我们使用I/O设备的标准,在White Rabbit以及相关硬件的上下文环境下。


In our I/O environments we need to write drivers for each mezzanine
card, and such drivers must work regardless of the carrier being used.
To achieve this, we abstract the FMC interface.


在我们的I/O环境,我们需要为每个夹层卡编写驱动程序,这些驱动程序必须工作无论是否正在被使用。
为了实现这一目标,我们将FMC接口抽象。


We have a carrier for PCI-E called SPEC and one for VME called SVEC,
but more are planned.  Also, we support stand-alone devices (usually
plugged on a SPEC card), controlled through Etherbone, developed by GSI.


我们有一个称为SPEC的PCI-E载体和VME的一个被称为SVEC但更多的正在规划中。此外,我们支持单机设备
(通常是插入一个SPEC卡),通过GSI开发的Etherbone控制。


Code and documentation for the FMC bus was born as part of the spec-sw
project, but now it lives in its own project. Other projects, i.e.
software support for the various carriers, should include this as a
submodule.


FMC总线的代码和文档是作为spec-sw项目的一部分诞生的,但现在生存自己的项目中。其他项目,即
软件支持的各种载体,作为一个子模块应包括这个。


The most up to date version of code and documentation is always
available from the repository you can clone from:


        git://ohwr.org/fmc-projects/fmc-bus.git (read-only)
        git@ohwr.org:fmc-projects/fmc-bus.git (read-write for developers)


最新版本的代码和文档是始终可用的,从知识库你可以克隆以下:
 git://ohwr.org/fmc-projects/fmc-bus.git (只读)
        git@ohwr.org:fmc-projects/fmc-bus.git (开发者可读和写)

Selected versions of the documentation, as well as complete tar
archives for selected revisions are placed to the Files section of the
project: `http://www.ohwr.org/projects/fmc-bus/files'


选择文档的版本,以及供选择的档案版本文件都放在部分项目中
: `http://www.ohwr.org/projects/fmc-bus/files'


What is FMC
***********
什么是FMC
***********


FMC, as said, stands for "FPGA Mezzanine Card". It is a standard
developed by the VME consortium called VITA (VMEbus International Trade
Association and ratified by ANSI, the American National Standard
Institute.  The official documentation is called "ANSI-VITA 57.1".


FMC,据说全称是“FPGA夹层卡”。这是一个由VME财团称为VITA(VMEbus国际贸易开发
协会和美国国家标准(ANSI)研究所批准。)的标准,官方文档被称为“ANSI-VITA57.1”。


The FMC card is an almost square PCB, around 70x75 millimeters, that is
called mezzanine in this document.  It usually lives plugged into
another PCB for power supply and control; such bigger circuit board is
called carrier from now on, and a single carrier may host more than one
mezzanine.


FMC卡几乎是个方形的印刷电路板,70x75毫米左右,在本文档中称为夹层。它通常插入
另一个PCB的电源和控制器,从现在开始,这种更大的电路板被称为载波,单载波可托管多个
夹层。


In the typical application the mezzanine is mostly analog while the
carrier is mostly digital, and hosts an FPGA that must be configured to
match the specific mezzanine and the desired application. Thus, you may
need to load different FPGA images to drive different instances of the
same mezzanine.


夹层的典型应用大多是模拟当载体主要是数字并且寄主的FPGA的配置必须和特定的夹层
和所需的应用匹配。因此,你可能需要加载不同的FPGA图像来驱动同一夹层的不同实例。


FMC, as such, is not a bus in the usual meaning of the term, because
most carriers have only one connector, and carriers with several
connectors have completely separate electrical connections to them.
This package, however, implements a bus as a software abstraction.


FMC诸如此类,在通常意义上不是总线,因为大多数载体只有一个连接器,有几个
连接器的载体具有完全独立的电器连接到他们。然而,这个包,实现了总线作为一种软件抽象。


What is SDB
***********


什么是SDB
***********
SDB (Self Describing Bus) is a set of data structures that we use for
enumerating the internal structure of an FPGA image. We also use it as
a filesystem inside the FMC EEPROM.


SDB(总线自我描述)是一组我们用来列举FPGA的内部结构成像的数据结构。
我们还用它作为在FMC只读存储器的文件系统。


SDB is not mandatory for use of this FMC kernel bus, but if you have SDB
this package can make good use of it.  SDB itself is developed in the
fpga-config-space OHWR project. The link to the repository is
`git://ohwr.org/hdl-core-lib/fpga-config-space.git' and what is used in
this project lives in the sdbfs subdirectory in there.


SDB不强制使用这种FMC内核总线,但如果你有SDB这个软件包,你可以好好利用它。
SDB本身是建立在FPGA的配置空间上。链接库是` git://ohwr.org/hdl-core-lib/fpga-config-space.git”,
在这个项目中使用的是存在在sdbfs目录中的。


SDB support for FMC is described in *note FMC Identification:: and
*note SDB Support::


FMC的SDB支持在*注意 FMC识别::和*注意SDB的支持::中描述


SDB Support
***********


SDB的支持
***********


The fmc.ko bus driver exports a few functions to help drivers taking
advantage of the SDB information that may be present in your own FPGA
memory image.


fmc.ko的总线驱使一些功能来帮助利用SDB信息,这可能在你当前的FPGA存储图像中。


The module exports the following functions, in the special header
<linux/fmc-sdb.h>. The linux/ prefix in the name is there because we
plan to submit it upstream in the future, and don't want to force
changes on our drivers if that happens.


该模块输出以下功能,在特殊的头文件< Linux / FMC SDB。”。名称中的linux/ prefix
是因为我们计划在未来向上提交,如果那事发生,不想迫使我们的驱动发生变化。


         int fmc_scan_sdb_tree(struct fmc_device *fmc, unsigned long address);
         void fmc_show_sdb_tree(struct fmc_device *fmc);
         signed long fmc_find_sdb_device(struct sdb_array *tree, uint64_t vendor,
                                         uint32_t device, unsigned long *sz);
         int fmc_free_sdb_tree(struct fmc_device *fmc);
 
int fmc_scan_sdb_tree(struct fmc_device *fmc, unsigned long address);
         void fmc_show_sdb_tree(struct fmc_device *fmc);
         signed long fmc_find_sdb_device(struct sdb_array *tree, uint64_t vendor,
                                         uint32_t device, unsigned long *sz);
         int fmc_free_sdb_tree(struct fmc_device *fmc);

这篇关于Documentation/fmc/FMC-and-SDB.txt的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1083680

相关文章

oracle数据导出txt及导入txt

oracle数据导出txt及导入txt ORACLE数据导出TXT及从TXT导入: 导出到TXT文件: 1、用PL/SQL DEV打开CMD窗口。 2、spool d:/output.txt; 3、set heading off; --去掉表头 4、select * from usergroup; 5、spool off; www.2ct

c++写txt文件

// Txt_Write.cpp : 定义控制台应用程序的入口点。#include "stdafx.h"#include<iostream>#include<fstream>using namespace std;//将int _tmain(int argc, _TCHAR* argv[]){ofstream in;in.open("shuchu.txt",ios::trunc);/

c++ 读取txt文件

1,按行读取 // TEST_Read.cpp : 定义控制台应用程序的入口点。#include "stdafx.h"#include<iostream>#include<string>#include<fstream>//读取文件所需的文件头//以下为读取文件的一种方法:将文件每行内容存储到字符串中,再输出字符串using namespace std;int _tmain(int

ChatTTS增强版V3【已开源】,长文本修复,中英混读,导入音色,批量SRT、TXT

ChatTTS增强版V3来啦!本次更新增加支持导入SRT、导入音色等功能。结合上次大家反馈的问题,修复了长文本、中英混读等问题。 项目已开源(https://github.com/CCmahua/ChatTTS-Enhanced) 项目介绍 V3 ChatTTS增强版V3,长文本修复,中英混读,导入音色,批量SRT、TXT,代码开源_哔哩哔哩_bilibili V2 ChatTTS

关于ROS包中CMakeList.txt中几个常用的命令的作用 ——————(二)

目录 (5)catkin_package() (6)add_library()    (7)add_dependencies( []...) 接(一)关于ROS包中CMakeList.txt中几个常用的命令的作用 ——————(一)_u012057432的博客-CSDN博客,以下是其他相关的配置命令,有些不是必要的,但是却十分常用,但是也是十分重要的。 (5)catkin_packa

关于ROS包中CMakeList.txt中几个常用的命令的作用 ——————(一)

目录 (1)find_package(catkin REQUIRED  COMPONENTS  ...) (2)include_directories()  (3)add_executable(  src1 src2 ...)   (简易写法) (4)target_link_libraries( lib1  lib2 ...) (简易写法,lib是依赖库的路径) 重点的命令总结:

Documentation/input/cd32.txt

如果想评论或更新本文的内容,请直接联系原文档的维护者。 如果你使用英文交流有困难的话,也可以向中文版维护者求助。 如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 中文版维护者: 姚家珺AriosYao   ks666dejia@163.com 中文版翻译者: 姚家珺AriosYao   ks666dejia@163.com 中文版校译者: 姚家珺AriosYao   ks666d

Documentation/timers/hpet.txt

如果想评论或更新本文的内容,请直接联系原文档的维护者。 如果你使用英文交流有困难的话,也可以向中文版维护者求助。 如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 中文版维护者: 姚家珺AriosYao   ks666dejia@163.com 中文版翻译者: 姚家珺AriosYao   ks666dejia@163.com 中文版校译者: 姚家珺AriosYao   ks666d

Documentation/Filesystem_ext3的中文翻译

Linux内核 文档 翻译Filesystem_ext3Chinese translated version of Documentation/Filesystem_ext3 If you have any comment or update to the content, please contact the original document maintainer directly.  Ho

Documentation_scheduler_sched-rt-group.txt

如果想评论或更新本文的内容,请直接联系原文档的维护者。 如果你使用英文交流有困难的话,也可以向中文版维护者求助。 如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 中文版维护者: 陶莹莉  tyl18768122426@163.com 中文版翻译者:  陶莹莉  tyl18768122426@163.com 中文版校译者:  陶莹莉  tyl18768122426@163.co