URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 25 |
Rev 45 |
Line 1... |
Line 1... |
|
/*$$HEADER*/
|
|
/******************************************************************************/
|
|
/* */
|
|
/* H E A D E R I N F O R M A T I O N */
|
|
/* */
|
|
/******************************************************************************/
|
|
|
|
// Project Name : ORPSoC v2
|
|
// File Name : bin2c.c
|
|
// Prepared By :
|
|
// Project Start :
|
|
|
|
/*$$COPYRIGHT NOTICE*/
|
|
/******************************************************************************/
|
|
/* */
|
|
/* C O P Y R I G H T N O T I C E */
|
|
/* */
|
|
/******************************************************************************/
|
|
/*
|
|
This library 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;
|
|
version 2.1 of the License, a copy of which is available from
|
|
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
|
|
|
|
This library 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.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
/*$$DESCRIPTION*/
|
|
/******************************************************************************/
|
|
/* */
|
|
/* D E S C R I P T I O N */
|
|
/* */
|
|
/******************************************************************************/
|
|
//
|
|
// Generate C file containing binary data in hex format in an array
|
|
//
|
|
|
#include <stdio.h>
|
#include <stdio.h>
|
|
|
int main(void)
|
int main(void)
|
{
|
{
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.