URL
https://opencores.org/ocsvn/neo430/neo430/trunk
Subversion Repositories neo430
Compare Revisions
- This comparison shows the changes necessary to convert path
/neo430/trunk
- from Rev 188 to Rev 189
- ↔ Reverse comparison
Rev 188 → Rev 189
/neo430/LICENSE
1,165 → 1,29
GNU LESSER GENERAL PUBLIC LICENSE |
Version 3, 29 June 2007 |
BSD 3-Clause License |
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
Everyone is permitted to copy and distribute verbatim copies |
of this license document, but changing it is not allowed. |
Copyright (c) 2020, Stephan Nolting |
All rights reserved. |
|
Redistribution and use in source and binary forms, with or without |
modification, are permitted provided that the following conditions are met: |
|
This version of the GNU Lesser General Public License incorporates |
the terms and conditions of version 3 of the GNU General Public |
License, supplemented by the additional permissions listed below. |
1. Redistributions of source code must retain the above copyright notice, this |
list of conditions and the following disclaimer. |
|
0. Additional Definitions. |
2. Redistributions in binary form must reproduce the above copyright notice, |
this list of conditions and the following disclaimer in the documentation |
and/or other materials provided with the distribution. |
|
As used herein, "this License" refers to version 3 of the GNU Lesser |
General Public License, and the "GNU GPL" refers to version 3 of the GNU |
General Public License. |
3. Neither the name of the copyright holder nor the names of its |
contributors may be used to endorse or promote products derived from |
this software without specific prior written permission. |
|
"The Library" refers to a covered work governed by this License, |
other than an Application or a Combined Work as defined below. |
|
An "Application" is any work that makes use of an interface provided |
by the Library, but which is not otherwise based on the Library. |
Defining a subclass of a class defined by the Library is deemed a mode |
of using an interface provided by the Library. |
|
A "Combined Work" is a work produced by combining or linking an |
Application with the Library. The particular version of the Library |
with which the Combined Work was made is also called the "Linked |
Version". |
|
The "Minimal Corresponding Source" for a Combined Work means the |
Corresponding Source for the Combined Work, excluding any source code |
for portions of the Combined Work that, considered in isolation, are |
based on the Application, and not on the Linked Version. |
|
The "Corresponding Application Code" for a Combined Work means the |
object code and/or source code for the Application, including any data |
and utility programs needed for reproducing the Combined Work from the |
Application, but excluding the System Libraries of the Combined Work. |
|
1. Exception to Section 3 of the GNU GPL. |
|
You may convey a covered work under sections 3 and 4 of this License |
without being bound by section 3 of the GNU GPL. |
|
2. Conveying Modified Versions. |
|
If you modify a copy of the Library, and, in your modifications, a |
facility refers to a function or data to be supplied by an Application |
that uses the facility (other than as an argument passed when the |
facility is invoked), then you may convey a copy of the modified |
version: |
|
a) under this License, provided that you make a good faith effort to |
ensure that, in the event an Application does not supply the |
function or data, the facility still operates, and performs |
whatever part of its purpose remains meaningful, or |
|
b) under the GNU GPL, with none of the additional permissions of |
this License applicable to that copy. |
|
3. Object Code Incorporating Material from Library Header Files. |
|
The object code form of an Application may incorporate material from |
a header file that is part of the Library. You may convey such object |
code under terms of your choice, provided that, if the incorporated |
material is not limited to numerical parameters, data structure |
layouts and accessors, or small macros, inline functions and templates |
(ten or fewer lines in length), you do both of the following: |
|
a) Give prominent notice with each copy of the object code that the |
Library is used in it and that the Library and its use are |
covered by this License. |
|
b) Accompany the object code with a copy of the GNU GPL and this license |
document. |
|
4. Combined Works. |
|
You may convey a Combined Work under terms of your choice that, |
taken together, effectively do not restrict modification of the |
portions of the Library contained in the Combined Work and reverse |
engineering for debugging such modifications, if you also do each of |
the following: |
|
a) Give prominent notice with each copy of the Combined Work that |
the Library is used in it and that the Library and its use are |
covered by this License. |
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license |
document. |
|
c) For a Combined Work that displays copyright notices during |
execution, include the copyright notice for the Library among |
these notices, as well as a reference directing the user to the |
copies of the GNU GPL and this license document. |
|
d) Do one of the following: |
|
0) Convey the Minimal Corresponding Source under the terms of this |
License, and the Corresponding Application Code in a form |
suitable for, and under terms that permit, the user to |
recombine or relink the Application with a modified version of |
the Linked Version to produce a modified Combined Work, in the |
manner specified by section 6 of the GNU GPL for conveying |
Corresponding Source. |
|
1) Use a suitable shared library mechanism for linking with the |
Library. A suitable mechanism is one that (a) uses at run time |
a copy of the Library already present on the user's computer |
system, and (b) will operate properly with a modified version |
of the Library that is interface-compatible with the Linked |
Version. |
|
e) Provide Installation Information, but only if you would otherwise |
be required to provide such information under section 6 of the |
GNU GPL, and only to the extent that such information is |
necessary to install and execute a modified version of the |
Combined Work produced by recombining or relinking the |
Application with a modified version of the Linked Version. (If |
you use option 4d0, the Installation Information must accompany |
the Minimal Corresponding Source and Corresponding Application |
Code. If you use option 4d1, you must provide the Installation |
Information in the manner specified by section 6 of the GNU GPL |
for conveying Corresponding Source.) |
|
5. Combined Libraries. |
|
You may place library facilities that are a work based on the |
Library side by side in a single library together with other library |
facilities that are not Applications and are not covered by this |
License, and convey such a combined library under terms of your |
choice, if you do both of the following: |
|
a) Accompany the combined library with a copy of the same work based |
on the Library, uncombined with any other library facilities, |
conveyed under the terms of this License. |
|
b) Give prominent notice with the combined library that part of it |
is a work based on the Library, and explaining where to find the |
accompanying uncombined form of the same work. |
|
6. Revised Versions of the GNU Lesser General Public License. |
|
The Free Software Foundation may publish revised and/or new versions |
of the GNU Lesser General Public License from time to time. Such new |
versions will be similar in spirit to the present version, but may |
differ in detail to address new problems or concerns. |
|
Each version is given a distinguishing version number. If the |
Library as you received it specifies that a certain numbered version |
of the GNU Lesser General Public License "or any later version" |
applies to it, you have the option of following the terms and |
conditions either of that published version or of any later version |
published by the Free Software Foundation. If the Library as you |
received it does not specify a version number of the GNU Lesser |
General Public License, you may choose any version of the GNU Lesser |
General Public License ever published by the Free Software Foundation. |
|
If the Library as you received it specifies that a proxy can decide |
whether future versions of the GNU Lesser General Public License shall |
apply, that proxy's public statement of acceptance of any version is |
permanent authorization for you to choose that version for the |
Library. |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
/neo430/README.md
270,26 → 270,37
|
## Disclaimer, Proprietary and Legal Notice |
|
This is a hobby project released under the LGPL-3.0 license. No copyright infringement intended. |
This is a hobby project released under the BSD 3-Clause license. No copyright infringement intended. |
|
This project is not affiliated with or endorsed by the Open Source Initiative (https://www.oshwa.org / https://opensource.org). |
|
This source file may be used and distributed without restriction provided that this copyright |
statement is not removed from the file and that any derivative work contains the original |
copyright notice and the associated disclaimer. |
|
This source file is free software; you can redistribute it and/or modify it under the terms of |
the GNU Lesser General Public License as published by the Free Software Foundation, either |
version 3 of the License, or (at your option) any later version. |
**BSD 3-Clause License** |
|
This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
See the GNU Lesser General Public License for more details. |
Copyright (c) 2020, Stephan Nolting. All rights reserved. |
|
You should have received a copy of the GNU Lesser General Public License along with this |
source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html |
Redistribution and use in source and binary forms, with or without modification, are |
permitted provided that the following conditions are met: |
|
1. Redistributions of source code must retain the above copyright notice, this list of |
conditions and the following disclaimer. |
2. Redistributions in binary form must reproduce the above copyright notice, this list of |
conditions and the following disclaimer in the documentation and/or other materials |
provided with the distribution. |
3. Neither the name of the copyright holder nor the names of its contributors may be used to |
endorse or promote products derived from this software without specific prior written |
permission. |
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
"MSP430" and "Code Composer Studio" are trademarks of Texas Instruments Corporation. |
|
"Windows" is a trademark of Microsoft Corporation. |
306,5 → 317,7
|
 |
|
This project is not affiliated with or endorsed by the Open Source Initiative (https://www.oshwa.org / https://opensource.org). |
|
|
Made with :beer: in Hannover, Germany. |
/neo430/doc/NEO430.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/neo430/rtl/core/neo430_addr_gen.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # Address computation and memory address register (MAR). # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 14.11.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_alu.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # Main data processing ALU and operand registers. DADD instruction is not supported! # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 12.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_boot_rom.vhd
4,25 → 4,35
-- # This memory includes the in-place executable image of the NEO430 bootloader. See the # |
-- # processor's documentary to get more information. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 28.04.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_bootloader_image.vhd
970,7 → 970,7
000959 => x"203a", |
000960 => x"614d", |
000961 => x"2072", |
000962 => x"3231", |
000962 => x"3631", |
000963 => x"3220", |
000964 => x"3230", |
000965 => x"0a30", |
/neo430/rtl/core/neo430_cfu.vhd
8,25 → 8,35
-- # kind of data manipulation. # |
-- # Exemplary applications: Cryptography, complex arithmetic, rocket science, ... # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 13.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_control.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # Central CPU control unit (FSM). # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 12.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_cpu.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # Top entity of the NEO430 CPU. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 21.11.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_crc.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # This module generates CRC16 and CRC32 check sums with variable polynomial masks. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 28.04.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_dmem.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Data memory ("DMEM") >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 15.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_exirq.vhd
13,25 → 13,35
-- # cleared. ext_irq_i(0) has highest priority while ext_irq_i(7) has the lowest priority. # |
-- # Each enabled interrupt channel can also be triggered by software using the sw_irq_x bits. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 06.12.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_gpio.vhd
5,25 → 5,35
-- # Pins used for the pin change interrupt are selected using a 16-bit mask. # |
-- # The PWM controller can be used to module the GPIO controller's output. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 21.11.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_imem.vhd
6,25 → 6,35
-- # Note: IMEM is split up into two 8-bit memories - some EDA tools have problems to synthesize # |
-- # a pre-initialized 16-bit memory with byte-enable signals. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 15.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_muldiv.vhd
7,25 → 7,35
-- # Division: DIVIDEND / DIVIDER = QUOTIENT + REMAINDER (16-bit) / DIVIDER (16-bit) # |
-- # Multiplication: FACTOR1 * FACTOR2 = PRODUCT (32-bit) # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 29.04.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_package.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Processor Package >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 15.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
30,7 → 40,7
|
-- Processor Hardware Version ------------------------------------------------------------- |
-- ------------------------------------------------------------------------------------------- |
constant hw_version_c : std_ulogic_vector(15 downto 0) := x"0341"; -- no touchy! |
constant hw_version_c : std_ulogic_vector(15 downto 0) := x"0400"; -- no touchy! |
|
-- Advanced Hardware Configuration -------------------------------------------------------- |
-- ------------------------------------------------------------------------------------------- |
/neo430/rtl/core/neo430_pwm.vhd
5,25 → 5,35
-- # counter width (frequency resolution) 4 or 8 bits. # |
-- # Channel 3 can be used to alternatively modulate the GPIO unit's output port. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 22.11.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_reg_file.vhd
3,25 → 3,35
-- # ********************************************************************************************* # |
-- # General data registers, program counter, status register and constant generator. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 29.11.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_spi.vhd
4,25 → 4,35
-- # Frame format: 8-bit or 16-bit, MSB or LSB first, 2 clock modes, 8 clock speeds, 6 CS lines. # |
-- # Interrupt: SPI_transfer_done # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 10.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_sysconfig.vhd
4,25 → 4,35
-- # This is a read only memory providing information about the processor configuration obtained # |
-- # from the top entity's generics. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 12.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_timer.vhd
6,25 → 6,35
-- # the counter can be automatically reset when reaching the threshold value to restart counting. # |
-- # Configure THRES before enabling the timer to prevent false interrupt requests. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # tephan Nolting, Hannover, Germany 04.03.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_top.vhd
28,25 → 28,35
-- # - Optional True Random Number Generator (TRNG) # |
-- # - OPtional External Interrupts Controller (EXIRQ) # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 06.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_trng.vhd
19,25 → 19,35
-- # - Von Neumann De-Biasing: "Iterating Von Neumann's Post-Processing under Hardware # |
-- # Constraints" by Vladimir Rozic, Bohan Yang, Wim Dehaene and Ingrid Verbauwhede, 2016 # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 04.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_twi.vhd
5,25 → 5,35
-- # Supports ACKs by the master. No multi-master support and no slave mode support yet! # |
-- # Interrupt: TWI_transfer_done # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 30.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_uart.vhd
4,25 → 4,35
-- # Fixed frame config: 8-bit, no parity bit, 1 stop bit, variable BAUD rate. # |
-- # Interrupt: UART_RX_available [OR] UART_TX_done # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 18.12.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_wb_interface.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - 32-bit Wishbone Bus Interface Adapter >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 28.04.2019 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/core/neo430_wdt.vhd
7,25 → 7,35
-- # written data contains the specific WDT password (0x47). I a write access occurs with a wrong # |
-- # password, a HW reset is triggered, but only if the WDT is enabled. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 04.03.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/fpga_specific/lattice_ice40up/neo430_dmem.ice40up_spram.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Data memory ("DMEM") >> # |
-- # << NEO430 - Data memory ("DMEM") for Lattice ice40 UltraPlus >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 15.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/fpga_specific/lattice_ice40up/neo430_imem.ice40up_spram.vhd
1,5 → 1,5
-- ################################################################################################# |
-- # << NEO430 - Instruction memory ("IMEM") >> # |
-- # << NEO430 - Instruction memory ("IMEM") for Lattice ice40 UltraPlus >> # |
-- # ********************************************************************************************* # |
-- # This memory includes the in-place executable image of the application. See the # |
-- # processor's documentary to get more information. # |
6,25 → 6,35
-- # Note: IMEM is split up into two 8-bit memories - some EDA tools have problems to synthesize # |
-- # a pre-initialized 16-bit memory with byte-enable signals. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 15.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/top_templates/neo430_test.vhd
5,25 → 5,35
-- # the NEO430 processor. Take a look at the project's documentary (chapter "Let's Get It # |
-- # Started!") to get more information. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 10.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/top_templates/neo430_top_avm.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Processor Top Entity with Avalon-Compatible Master Interface >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 10.01.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/top_templates/neo430_top_axi4lite.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Processor Top Entity with AXI4-Lite-Compatible Master Interface >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 14.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/rtl/top_templates/neo430_top_std_logic.vhd
1,25 → 1,35
-- ################################################################################################# |
-- # << NEO430 - Processor Top Entity using resolved signal types (std_logic) only >> # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 14.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/sim/neo430_tb.vhd
4,25 → 4,35
-- # This simple testbench instantiates the top entity of the NEO430 processors, generates clock # |
-- # and reset signals and outputs data send via the processor's UART to the simulator console. # |
-- # ********************************************************************************************* # |
-- # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
-- # Copyright by Stephan Nolting: stnolting@gmail.com # |
-- # BSD 3-Clause License # |
-- # # |
-- # This source file may be used and distributed without restriction provided that this copyright # |
-- # statement is not removed from the file and that any derivative work contains the original # |
-- # copyright notice and the associated disclaimer. # |
-- # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
-- # # |
-- # This source file is free software; you can redistribute it and/or modify it under the terms # |
-- # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
-- # either version 3 of the License, or (at your option) any later version. # |
-- # Redistribution and use in source and binary forms, with or without modification, are # |
-- # permitted provided that the following conditions are met: # |
-- # # |
-- # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
-- # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
-- # See the GNU Lesser General Public License for more details. # |
-- # 1. Redistributions of source code must retain the above copyright notice, this list of # |
-- # conditions and the following disclaimer. # |
-- # # |
-- # You should have received a copy of the GNU Lesser General Public License along with this # |
-- # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
-- # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
-- # conditions and the following disclaimer in the documentation and/or other materials # |
-- # provided with the distribution. # |
-- # # |
-- # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
-- # endorse or promote products derived from this software without specific prior written # |
-- # permission. # |
-- # # |
-- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
-- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
-- # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
-- # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
-- # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
-- # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
-- # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
-- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
-- # OF THE POSSIBILITY OF SUCH DAMAGE. # |
-- # ********************************************************************************************* # |
-- # Stephan Nolting, Hannover, Germany 14.02.2020 # |
-- # The NEO430 Processor - https://github.com/stnolting/neo430 # |
-- ################################################################################################# |
|
library ieee; |
/neo430/sw/bootloader/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 BOOTLOADER Compile Script - Linux / Cygwin / Windows Subsystem for Linux version > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 09.11.2019 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/bootloader/boot_crt0.asm
1,25 → 1,35
; ################################################################################################# |
; # < boot_crt0.asm - neo430 bootloader start-up code > # |
; # ********************************************************************************************* # |
; # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
; # Copyright by Stephan Nolting: stnolting@gmail.com # |
; # BSD 3-Clause License # |
; # # |
; # This source file may be used and distributed without restriction provided that this copyright # |
; # statement is not removed from the file and that any derivative work contains the original # |
; # copyright notice and the associated disclaimer. # |
; # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
; # # |
; # This source file is free software; you can redistribute it and/or modify it under the terms # |
; # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
; # either version 3 of the License, or (at your option) any later version. # |
; # Redistribution and use in source and binary forms, with or without modification, are # |
; # permitted provided that the following conditions are met: # |
; # # |
; # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
; # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
; # See the GNU Lesser General Public License for more details. # |
; # 1. Redistributions of source code must retain the above copyright notice, this list of # |
; # conditions and the following disclaimer. # |
; # # |
; # You should have received a copy of the GNU Lesser General Public License along with this # |
; # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
; # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
; # conditions and the following disclaimer in the documentation and/or other materials # |
; # provided with the distribution. # |
; # # |
; # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
; # endorse or promote products derived from this software without specific prior written # |
; # permission. # |
; # # |
; # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
; # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
; # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
; # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
; # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
; # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
; # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
; # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
; # OF THE POSSIBILITY OF SUCH DAMAGE. # |
; # ********************************************************************************************* # |
; # Stephan Nolting, Hannover, Germany 27.11.2019 # |
; # The NEO430 Processor - https://github.com/stnolting/neo430 # |
; ################################################################################################# |
|
.file "boot_crt0.asm" |
/neo430/sw/bootloader/boot_linker_script.x
1,25 → 1,35
/* ################################################################################################# */ |
/* # < NEO430 MSP430GCC bootloader linker script > # */ |
/* # ********************************************************************************************* # */ |
/* # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # */ |
/* # Copyright by Stephan Nolting: stnolting@gmail.com # */ |
/* # BSD 3-Clause License # */ |
/* # # */ |
/* # This source file may be used and distributed without restriction provided that this copyright # */ |
/* # statement is not removed from the file and that any derivative work contains the original # */ |
/* # copyright notice and the associated disclaimer. # */ |
/* # Copyright (c) 2020, Stephan Nolting. All rights reserved. # */ |
/* # # */ |
/* # This source file is free software; you can redistribute it and/or modify it under the terms # */ |
/* # of the GNU Lesser General Public License as published by the Free Software Foundation, # */ |
/* # either version 3 of the License, or (at your option) any later version. # */ |
/* # Redistribution and use in source and binary forms, with or without modification, are # */ |
/* # permitted provided that the following conditions are met: # */ |
/* # # */ |
/* # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # */ |
/* # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # */ |
/* # See the GNU Lesser General Public License for more details. # */ |
/* # 1. Redistributions of source code must retain the above copyright notice, this list of # */ |
/* # conditions and the following disclaimer. # */ |
/* # # */ |
/* # You should have received a copy of the GNU Lesser General Public License along with this # */ |
/* # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # */ |
/* # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # */ |
/* # conditions and the following disclaimer in the documentation and/or other materials # */ |
/* # provided with the distribution. # */ |
/* # # */ |
/* # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # */ |
/* # endorse or promote products derived from this software without specific prior written # */ |
/* # permission. # */ |
/* # # */ |
/* # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # */ |
/* # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # */ |
/* # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # */ |
/* # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # */ |
/* # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # */ |
/* # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # */ |
/* # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # */ |
/* # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # */ |
/* # OF THE POSSIBILITY OF SUCH DAMAGE. # */ |
/* # ********************************************************************************************* # */ |
/* # Stephan Nolting, Hannover, Germany 19.07.2019 # */ |
/* # The NEO430 Processor - https://github.com/stnolting/neo430 # */ |
/* ################################################################################################# */ |
|
OUTPUT_ARCH(msp430) |
/neo430/sw/bootloader/bootloader.c
11,25 → 11,35
// # -> Try booting from SPI flash at SPI.CS[0] # |
// # -> Permanently light up status led and freeze if SPI flash booting attempt fails # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 12.03.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
// Libraries |
/neo430/sw/common/crt0.asm
1,25 → 1,35
; ################################################################################################# |
; # < crt0.asm - general neo430 application start-up code > # |
; # ********************************************************************************************* # |
; # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
; # Copyright by Stephan Nolting: stnolting@gmail.com # |
; # BSD 3-Clause License # |
; # # |
; # This source file may be used and distributed without restriction provided that this copyright # |
; # statement is not removed from the file and that any derivative work contains the original # |
; # copyright notice and the associated disclaimer. # |
; # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
; # # |
; # This source file is free software; you can redistribute it and/or modify it under the terms # |
; # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
; # either version 3 of the License, or (at your option) any later version. # |
; # Redistribution and use in source and binary forms, with or without modification, are # |
; # permitted provided that the following conditions are met: # |
; # # |
; # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
; # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
; # See the GNU Lesser General Public License for more details. # |
; # 1. Redistributions of source code must retain the above copyright notice, this list of # |
; # conditions and the following disclaimer. # |
; # # |
; # You should have received a copy of the GNU Lesser General Public License along with this # |
; # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
; # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
; # conditions and the following disclaimer in the documentation and/or other materials # |
; # provided with the distribution. # |
; # # |
; # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
; # endorse or promote products derived from this software without specific prior written # |
; # permission. # |
; # # |
; # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
; # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
; # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
; # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
; # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
; # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
; # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
; # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
; # OF THE POSSIBILITY OF SUCH DAMAGE. # |
; # ********************************************************************************************* # |
; # Stephan Nolting, Hannover, Germany 27.11.2019 # |
; # The NEO430 Processor - https://github.com/stnolting/neo430 # |
; ################################################################################################# |
|
.file "crt0.asm" |
/neo430/sw/common/neo430_linker_script.x
1,25 → 1,35
/* ################################################################################################# */ |
/* # < NEO430 MSP430GCC linker script > # */ |
/* # ********************************************************************************************* # */ |
/* # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # */ |
/* # Copyright by Stephan Nolting: stnolting@gmail.com # */ |
/* # BSD 3-Clause License # */ |
/* # # */ |
/* # This source file may be used and distributed without restriction provided that this copyright # */ |
/* # statement is not removed from the file and that any derivative work contains the original # */ |
/* # copyright notice and the associated disclaimer. # */ |
/* # Copyright (c) 2020, Stephan Nolting. All rights reserved. # */ |
/* # # */ |
/* # This source file is free software; you can redistribute it and/or modify it under the terms # */ |
/* # of the GNU Lesser General Public License as published by the Free Software Foundation, # */ |
/* # either version 3 of the License, or (at your option) any later version. # */ |
/* # Redistribution and use in source and binary forms, with or without modification, are # */ |
/* # permitted provided that the following conditions are met: # */ |
/* # # */ |
/* # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # */ |
/* # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # */ |
/* # See the GNU Lesser General Public License for more details. # */ |
/* # 1. Redistributions of source code must retain the above copyright notice, this list of # */ |
/* # conditions and the following disclaimer. # */ |
/* # # */ |
/* # You should have received a copy of the GNU Lesser General Public License along with this # */ |
/* # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # */ |
/* # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # */ |
/* # conditions and the following disclaimer in the documentation and/or other materials # */ |
/* # provided with the distribution. # */ |
/* # # */ |
/* # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # */ |
/* # endorse or promote products derived from this software without specific prior written # */ |
/* # permission. # */ |
/* # # */ |
/* # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # */ |
/* # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # */ |
/* # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # */ |
/* # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # */ |
/* # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # */ |
/* # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # */ |
/* # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # */ |
/* # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # */ |
/* # OF THE POSSIBILITY OF SUCH DAMAGE. # */ |
/* # ********************************************************************************************* # */ |
/* # Stephan Nolting, Hannover, Germany 01.03.2019 # */ |
/* # The NEO430 Processor - https://github.com/stnolting/neo430 # */ |
/* ################################################################################################# */ |
|
OUTPUT_ARCH(msp430) |
/neo430/sw/example/blink_led/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/blink_led/main.c
3,25 → 3,35
// # ********************************************************************************************* # |
// # Displays an 8-bit counter on the high-active LEDs connected to the parallel output port. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/cfu_test/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/cfu_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < Custom Functions Unit Test Program > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/coremark/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/crc_test/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/crc_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < CRC unit test program > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: http://opencores.org/project,neo430 # |
// # Copyright 2015-2016, Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from http://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/exirq_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < External Interrupts Controller test program > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 06.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/exirq_test/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/game_of_life/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/game_of_life/main.c
1,25 → 1,35
// ################################################################################################# |
// # < Conway's Game of Life > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 29.04.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/gpio_interrupt/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/gpio_interrupt/main.c
3,25 → 3,35
// # ********************************************************************************************* # |
// # Prints a message whenever a GPIO input pin goes HIGH. Uses the PIO pin-change interrupt. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.12.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/gpio_pwm_demo/main.c
1,25 → 1,35
// ################################################################################################# |
// # < Use the PWM controller to modulate the GPIO output port > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: http://opencores.org/project,neo430 # |
// # Copyright 2015-2016, Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from http://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 22.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/gpio_pwm_demo/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/hw_analysis/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/hw_analysis/main.c
3,25 → 3,35
// # ********************************************************************************************* # |
// # Prints various information from the system. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 12.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux/Cygwin/WinBash version > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/morse_translator/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/morse_translator/main.c
4,25 → 4,35
// # Translates a text string into Morse code. The encode can only encode letters. # |
// # Output via GPIO.output(0) (bootloader status LED). # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/muldiv_test/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/muldiv_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < Test the multiplier/divider unit > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
// Libraries |
/neo430/sw/example/nested_irqs/main.c
4,25 → 4,35
// # Generates a run time clock using the timer IRQ. # |
// # Whenever a char via the UART is received, the according ISR show the current time. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.12.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/nested_irqs/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/prime_numbers/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/prime_numbers/main.c
5,25 → 5,35
// # approximation way ;) The printed numbers are formated using sprintf from # |
// # the C std library <stdio.h> # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 17.11.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/pwm_demo/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/pwm_demo/main.c
1,25 → 1,35
// ################################################################################################# |
// # < PWM controller demo program > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: http://opencores.org/project,neo430 # |
// # Copyright 2015-2016, Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from http://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 22.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/timer_simple/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/timer_simple/main.c
3,25 → 3,35
// # ********************************************************************************************* # |
// # Flashes LED using the timer interrupt. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 13.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/trng_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < TRNG test program > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 06.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/trng_test/makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/twi_test/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/twi_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < TWI bus explorer > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 14.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/uart_irq/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/uart_irq/main.c
4,25 → 4,35
// # UART RECEIVE is conducted using the UART RX interrupt # |
// # UART TRANSMIT is conducted by using the timer interrupt # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.12.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/wb_terminal/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/wb_terminal/main.c
4,25 → 4,35
// # Manual access to the registers of modules, which are connected to the Wishbone bus. This tool # |
// # uses NONBLOCKING Wishbone transactions. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.10.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/example/wdt_test/Makefile
1,25 → 1,35
################################################################################################# |
# < NEO430 Application Compile Script - Linux / Windows Powershell / Windows Linux Subsystem > # |
# ********************************************************************************************* # |
# This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
# Copyright by Stephan Nolting: stnolting@gmail.com # |
# BSD 3-Clause License # |
# # |
# This source file may be used and distributed without restriction provided that this copyright # |
# statement is not removed from the file and that any derivative work contains the original # |
# copyright notice and the associated disclaimer. # |
# Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
# # |
# This source file is free software; you can redistribute it and/or modify it under the terms # |
# of the GNU Lesser General Public License as published by the Free Software Foundation, # |
# either version 3 of the License, or (at your option) any later version. # |
# Redistribution and use in source and binary forms, with or without modification, are # |
# permitted provided that the following conditions are met: # |
# # |
# This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
# See the GNU Lesser General Public License for more details. # |
# 1. Redistributions of source code must retain the above copyright notice, this list of # |
# conditions and the following disclaimer. # |
# # |
# You should have received a copy of the GNU Lesser General Public License along with this # |
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
# conditions and the following disclaimer in the documentation and/or other materials # |
# provided with the distribution. # |
# # |
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
# endorse or promote products derived from this software without specific prior written # |
# permission. # |
# # |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
# OF THE POSSIBILITY OF SUCH DAMAGE. # |
# ********************************************************************************************* # |
# Stephan Nolting, Hannover, Germany 15.02.2020 # |
# The NEO430 Processor - https://github.com/stnolting/neo430 # |
################################################################################################# |
|
|
/neo430/sw/example/wdt_test/main.c
1,25 → 1,35
// ################################################################################################# |
// # < Test program for the Watchdog Timer (WDT) > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 27.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
|
/neo430/sw/lib/neo430/include/neo430.h
1,29 → 1,35
// ################################################################################################# |
// # < neo430.h - MAIN NEO430 INCLUDE FILE > # |
// # ********************************************************************************************* # |
// # This file is crucial for all NEO430 software projects! # |
// # You only need to include THIS file into your project code (all sub-libraries are included # |
// # within this library file). # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 12.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_h |
/neo430/sw/lib/neo430/include/neo430_cpu.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_cpu.h - CPU helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 12.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_cpu_h |
/neo430/sw/lib/neo430/include/neo430_crc.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_crc.h - CRC module helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 01.03.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_crc_h |
/neo430/sw/lib/neo430/include/neo430_exirq.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_exirqt.h - External interrupts controler driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 05.12.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_exirq_h |
/neo430/sw/lib/neo430/include/neo430_gpio.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_gpio.h - PIO controller helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 04.07.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_gpio_h |
/neo430/sw/lib/neo430/include/neo430_muldiv.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_muldiv.h - Multiplier/Divider function > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 04.07.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_muldiv_h |
/neo430/sw/lib/neo430/include/neo430_pwm.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_pwm.h - PWM controller helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 22.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_pwm_h |
/neo430/sw/lib/neo430/include/neo430_spi.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_spi.h - Internal SPI module driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_spi_h |
/neo430/sw/lib/neo430/include/neo430_timer.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_timer.h - Tim helper functions ;) > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 16.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_timer_h |
/neo430/sw/lib/neo430/include/neo430_trng.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_trng.h - True random number generator helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 09.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_trng_h |
/neo430/sw/lib/neo430/include/neo430_twi.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_twi.h - Internal Two Wire Serial interface functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 30.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_twi_h |
/neo430/sw/lib/neo430/include/neo430_uart.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_uart.h - Internal UART driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 11.03.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_uart_h |
/neo430/sw/lib/neo430/include/neo430_wdt.h
1,25 → 1,35
// ################################################################################################# |
// # < neo430_wdt.h - Watchdog helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 04.07.2018 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_wdt_h |
/neo430/sw/lib/neo430/include/neo430_wishbone.h
5,26 → 5,35
// # Use non-blocking functions (*_start, wishbone_busy, wishbone_get_data*) to prevent dead locks # |
// # when accessing invalid addresses and to do things in parallel when using the Wishbone bus. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Thanks to Edward Sherriff! # |
// # Stephan Nolting, Hannover, Germany 04.10.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#ifndef neo430_wishbone_h |
/neo430/sw/lib/neo430/source/neo430_cpu.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_cpu.c - CPU helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 12.02.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_crc.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_crc.c - CRC module helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 13.03.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_exirq.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_exirqt.c - External interrupts controler driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 05.12.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_gpio.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_gpio.c - PIO controller helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 13.03.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_muldiv.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_muldiv.c - Multiplier/Divider function > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 13.03.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_pwm.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_pwm.c - PWM controller helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 22.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_spi.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_spi.c - Internal SPI module driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 10.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_timer.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_timer.c - Timer helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 16.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_trng.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_trng.c - True random number generator helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 09.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_twi.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_twi.c - Internal Two Wire Serial interface functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 30.01.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_uart.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_usart.c - Internal UARt driver functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 11.03.2020 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_wdt.c
1,25 → 1,35
// ################################################################################################# |
// # < neo430_wdt.c - Watchdog helper functions > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 13.03.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/lib/neo430/source/neo430_wishbone.c
5,26 → 5,35
// # Use non-blocking functions (*_start, wishbone_busy, wishbone_get_data*) to prevent dead locks # |
// # when accessing invalid addresses and to do things in parallel when using the Wishbone bus. # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Thanks to Edward Sherriff! # |
// # Stephan Nolting, Hannover, Germany 04.10.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include "neo430.h" |
/neo430/sw/tools/image_gen/main.cpp
1,25 → 1,35
// ################################################################################################# |
// # < NEO430 Boot image generator > # |
// # ********************************************************************************************* # |
// # This file is part of the NEO430 Processor project: https://github.com/stnolting/neo430 # |
// # Copyright by Stephan Nolting: stnolting@gmail.com # |
// # BSD 3-Clause License # |
// # # |
// # This source file may be used and distributed without restriction provided that this copyright # |
// # statement is not removed from the file and that any derivative work contains the original # |
// # copyright notice and the associated disclaimer. # |
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. # |
// # # |
// # This source file is free software; you can redistribute it and/or modify it under the terms # |
// # of the GNU Lesser General Public License as published by the Free Software Foundation, # |
// # either version 3 of the License, or (at your option) any later version. # |
// # Redistribution and use in source and binary forms, with or without modification, are # |
// # permitted provided that the following conditions are met: # |
// # # |
// # This source is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # |
// # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # |
// # See the GNU Lesser General Public License for more details. # |
// # 1. Redistributions of source code must retain the above copyright notice, this list of # |
// # conditions and the following disclaimer. # |
// # # |
// # You should have received a copy of the GNU Lesser General Public License along with this # |
// # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html # |
// # 2. Redistributions in binary form must reproduce the above copyright notice, this list of # |
// # conditions and the following disclaimer in the documentation and/or other materials # |
// # provided with the distribution. # |
// # # |
// # 3. Neither the name of the copyright holder nor the names of its contributors may be used to # |
// # endorse or promote products derived from this software without specific prior written # |
// # permission. # |
// # # |
// # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS # |
// # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # |
// # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # |
// # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # |
// # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # |
// # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # |
// # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # |
// # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED # |
// # OF THE POSSIBILITY OF SUCH DAMAGE. # |
// # ********************************************************************************************* # |
// # Stephan Nolting, Hannover, Germany 19.11.2019 # |
// # The NEO430 Processor - https://github.com/stnolting/neo430 # |
// ################################################################################################# |
|
#include <stdint.h> |