cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
test.py
Go to the documentation of this file.
1
# *****************************************************************************
2
# * cloudFPGA
3
# * Copyright 2016 -- 2022 IBM Corporation
4
# * Licensed under the Apache License, Version 2.0 (the "License");
5
# * you may not use this file except in compliance with the License.
6
# * You may obtain a copy of the License at
7
# *
8
# * http://www.apache.org/licenses/LICENSE-2.0
9
# *
10
# * Unless required by applicable law or agreed to in writing, software
11
# * distributed under the License is distributed on an "AS IS" BASIS,
12
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# * See the License for the specific language governing permissions and
14
# * limitations under the License.
15
# *----------------------------------------------------------------------------
16
17
import
sys
18
import
os
19
20
trieres_lib=os.environ[
'cFpRootDir'
] +
"/HOST/custom/uppercase/languages/python/build"
21
sys.path.append(trieres_lib)
22
23
import
_trieres
24
25
input =
"HelloWorld"
26
output =
"111111111"
27
28
out, output = _trieres.uppercase(
"127.0.0.1"
,
"2718"
, input,
True
)
29
30
print(out)
31
print(output)
repos_for_Dox
cFp_Zoo
HOST
custom
uppercase
languages
python
test.py
Generated on Sat Jul 15 2023 05:03:00 for cloudFPGA (cF) API by
1.9.1