PYTHON3 ?= "python3"
+
gitupdate:
git submodule init
git submodule update --recursive
test:
$(PYTHON3) setup.py test # could just run nosetest3...
+
+pypiupload:
+ $(PYTHON3) setup.py sdist upload
supports FP16, FP32 and FP64. It is a general-purpose unit that
may be used in any project (not limited to one specific processor).
+Developed under a Grant from NLnet (http://nlnet.nl), more information
+may be found at http://libre-soc.org
+
# Requirements
* nmigen
+* libresoc-nmutil
* yosys (latest git repository, required by nmigen)
* sfpy (running unit tests). provides python bindings to berkeley softfloat-3
cd /path/to/sfpy/berkeley-softfloat-3
git apply /path/to/ieee754fpu/berkeley-softfloat.patch
-
-
The following modifications are required to the sfpy SoftPosit Makefile:
cd /path/to/sfpy/SoftPosit
version = '0.0.1'
install_requires = [
- 'nmutil',
+ 'libresoc-nmutil',
# 'sfpy', # XXX temporarily disabled
'bigfloat'
]
]
setup(
- name='ieee754fpu',
+ name='libresoc-ieee754fpu',
version=version,
description="A nmigen IEEE754 Floating-Point library",
long_description=README + '\n\n' + NEWS,
classifiers=[
"Topic :: Software Development :: Libraries",
- "License :: OSI Approved :: LGPLv3+",
+ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)"
"Programming Language :: Python :: 3",
],
keywords='nmigen ieee754',