Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
fff536a0
Commit
fff536a0
authored
May 10, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demos:s[pv]ec: replace WRNC with TRTL in comments
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
726bc123
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
libspec-internal.h
demos/fmc-spec-carrier/software/lib/libspec-internal.h
+1
-1
libspec.c
demos/fmc-spec-carrier/software/lib/libspec.c
+4
-4
libsvec-internal.h
demos/fmc-svec-carrier/software/lib/libsvec-internal.h
+1
-1
libsvec.c
demos/fmc-svec-carrier/software/lib/libsvec.c
+4
-4
No files found.
demos/fmc-spec-carrier/software/lib/libspec-internal.h
View file @
fff536a0
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
* Description of a fmc-spec-carrier device
* Description of a fmc-spec-carrier device
*/
*/
struct
spec_desc
{
struct
spec_desc
{
struct
trtl_dev
*
trtl
;
/**<
WRNC
device associated */
struct
trtl_dev
*
trtl
;
/**<
TRTL
device associated */
uint32_t
dev_id
;
/**< fmc device id */
uint32_t
dev_id
;
/**< fmc device id */
uint32_t
app_id
;
/**< Application id */
uint32_t
app_id
;
/**< Application id */
uint32_t
n_cpu
;
/**< Number of CPUs */
uint32_t
n_cpu
;
/**< Number of CPUs */
...
...
demos/fmc-spec-carrier/software/lib/libspec.c
View file @
fff536a0
...
@@ -49,7 +49,7 @@ const char *spec_strerror(unsigned int err)
...
@@ -49,7 +49,7 @@ const char *spec_strerror(unsigned int err)
* Initialize the SPEC library. It must be called before doing
* Initialize the SPEC library. It must be called before doing
* anything else.
* anything else.
* This library is based on the libmockturtle, so internally, this function also
* This library is based on the libmockturtle, so internally, this function also
* run spec_init() in order to initialize the
WRNC
library.
* run spec_init() in order to initialize the
TRTL
library.
* @return 0 on success, otherwise -1 and errno is appropriately set
* @return 0 on success, otherwise -1 and errno is appropriately set
*/
*/
int
spec_init
()
int
spec_init
()
...
@@ -118,10 +118,10 @@ void spec_close(struct spec_node *dev)
...
@@ -118,10 +118,10 @@ void spec_close(struct spec_node *dev)
/**
/**
* Return the
WRNC
token in order to allows users to run
* Return the
TRTL
token in order to allows users to run
* functions from the
WRNC
library
* functions from the
TRTL
library
* @param[in] dev device token
* @param[in] dev device token
* @return the
WRNC
token
* @return the
TRTL
token
*/
*/
struct
trtl_dev
*
spec_get_trtl_dev
(
struct
spec_node
*
dev
)
struct
trtl_dev
*
spec_get_trtl_dev
(
struct
spec_node
*
dev
)
{
{
...
...
demos/fmc-svec-carrier/software/lib/libsvec-internal.h
View file @
fff536a0
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
* Description of a fmc-svec-carrier device
* Description of a fmc-svec-carrier device
*/
*/
struct
svec_desc
{
struct
svec_desc
{
struct
trtl_dev
*
trtl
;
/**<
WRNC
device associated */
struct
trtl_dev
*
trtl
;
/**<
TRTL
device associated */
uint32_t
dev_id
;
/**< fmc device id */
uint32_t
dev_id
;
/**< fmc device id */
uint32_t
app_id
;
/**< Application id */
uint32_t
app_id
;
/**< Application id */
uint32_t
n_cpu
;
/**< Number of CPUs */
uint32_t
n_cpu
;
/**< Number of CPUs */
...
...
demos/fmc-svec-carrier/software/lib/libsvec.c
View file @
fff536a0
...
@@ -39,7 +39,7 @@ const char *svec_strerror(unsigned int err)
...
@@ -39,7 +39,7 @@ const char *svec_strerror(unsigned int err)
* Initialize the SVEC library. It must be called before doing
* Initialize the SVEC library. It must be called before doing
* anything else.
* anything else.
* This library is based on the libmockturtle, so internally, this function also
* This library is based on the libmockturtle, so internally, this function also
* run svec_init() in order to initialize the
WRNC
library.
* run svec_init() in order to initialize the
TRTL
library.
* @return 0 on success, otherwise -1 and errno is appropriately set
* @return 0 on success, otherwise -1 and errno is appropriately set
*/
*/
int
svec_init
()
int
svec_init
()
...
@@ -108,10 +108,10 @@ void svec_close(struct svec_node *dev)
...
@@ -108,10 +108,10 @@ void svec_close(struct svec_node *dev)
/**
/**
* Return the
WRNC
token in order to allows users to run
* Return the
TRTL
token in order to allows users to run
* functions from the
WRNC
library
* functions from the
TRTL
library
* @param[in] dev device token
* @param[in] dev device token
* @return the
WRNC
token
* @return the
TRTL
token
*/
*/
struct
trtl_dev
*
svec_get_trtl_dev
(
struct
svec_node
*
dev
)
struct
trtl_dev
*
svec_get_trtl_dev
(
struct
svec_node
*
dev
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment