mc8051开源8051软核V1.3
mc8051开源8051软核V1.3,mc8051开源8051软核V1.3,mc8051开源8051软核V1.3,mc8051开源8051软核V1.3
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2161 2002-07-01 09:56 mc8051开源8051软核mc8051dcscrsynth_core_dc.scr
文件 45031 2002-07-01 12:40 mc8051开源8051软核mc8051docucomp_orig_ipcore.pdf
文件 86429 2002-07-01 12:40 mc8051开源8051软核mc8051documc8051_overview.pdf
文件 142987 2002-07-01 12:53 mc8051开源8051软核mc8051documc8051_user_guide.pdf
文件 6331 2002-07-01 09:26 mc8051开源8051软核mc8051msimhex2dual.c
文件 2304 2002-07-01 09:15 mc8051开源8051软核mc8051msimkeil.dua
文件 733 2002-07-01 09:15 mc8051开源8051软核mc8051msimkeil.hex
文件 2131 2002-07-01 10:18 mc8051开源8051软核mc8051msimmc8051_compile.do
文件 3843 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_rom.dua
文件 102 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_sim.do
文件 4367 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_wave.do
文件 1259 2002-07-01 09:26 mc8051开源8051软核mc8051msim
eadme.txt
文件 2304 2002-07-01 09:15 mc8051开源8051软核mc8051msim
egs.log
文件 4209 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.asm
文件 3843 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.dua
文件 1218 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.hex
文件 4227 2001-09-05 18:44 mc8051开源8051软核mc8051msimwrite2file.do
文件 2511 2001-08-29 12:12 mc8051开源8051软核mc8051synplmc8051_core.prj
文件 4625 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_.vhd
文件 4892 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_sim.vhd
文件 4173 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_sim_cfg.vhd
文件 4679 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_.vhd
文件 5235 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_sim.vhd
文件 4161 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_sim_cfg.vhd
文件 4602 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_.vhd
文件 5046 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_sim.vhd
文件 4143 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_sim_cfg.vhd
文件 4248 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_.vhd
文件 60983 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_sim.vhd
文件 4271 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_sim_cfg.vhd
............此处省略169个文件信息
/*****************************************************************************/
/* Program : hex2dual */
/* */
/* Author : Roland H鰈ler */
/* Date : 23.08.2001 */
/* Purpose: Convert Intel HEX files to binary notation text files. */
/*****************************************************************************/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define LINE_LENGTH 128
#define FILE_EXT “.dua“
static char *cmnd;
FILE *fpr;
FILE *fpw;
/*---------------------------------------------------------------------------*/
/* Function : error_exit */
/* */
/* Purpose : Print error message close files and exit */
/* program with exit code EXIT_FAILURE. */
/* Input : Message text */
/*---------------------------------------------------------------------------*/
void error_exit (char *msg)
{
(void) fprintf (stderr “%s: %s: %s
“ cmnd msg strerror(errno));
/* (void) fclose(fpr); */
/* (void) fclose(fpw); */
(void) fflush(stdout);
exit (EXIT_FAILURE);
}
/*---------------------------------------------------------------------------*/
/* Function : hex2bin */
/* */
/* Purpose : Convert a hexadecimal character in its binary representation */
/* Input : Hexadecimal character */
/*---------------------------------------------------------------------------*/
char *hex2bin (char hexval)
{
/* Default is new line */
static char bnibble[5] = “---- “;
/* Convert hexadecimal character */
if (hexval == ‘0‘) (void)strcpy(bnibble“0000“);
if (hexval == ‘1‘) (void)strcpy(bnibble“0001“);
if (hexval == ‘2‘) (void)strcpy(bnibble“0010“);
if (hexval == ‘3‘) (void)strcpy(bnibble“0011“);
if (hexval == ‘4‘) (void)strcpy(bnibble“0100“);
if (hexval == ‘5‘) (void)strcpy(bnibble“0101“);
if (hexval == ‘6‘) (void)strcpy(bnibble“0110“);
if (hexval == ‘7‘) (void)strcpy(bnibble“0111“);
if (hexval == ‘8‘) (void)strcpy(bnibble“1000“);
if (hexval == ‘9‘) (void)strcpy(bnibble“1001“);
if ((hexval == ‘A‘) || (hexval == ‘a‘)) (void)strcpy(bnibble“1010“);
if ((hexval == ‘B‘) || (hexval == ‘b‘)) (void)strcpy(bnibble“1011“);
if ((hexval == ‘C‘) || (hexval == ‘c‘)) (void)strcpy(bnibble“1100“);
if ((hexval == ‘D‘) || (hexval
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2161 2002-07-01 09:56 mc8051开源8051软核mc8051dcscrsynth_core_dc.scr
文件 45031 2002-07-01 12:40 mc8051开源8051软核mc8051docucomp_orig_ipcore.pdf
文件 86429 2002-07-01 12:40 mc8051开源8051软核mc8051documc8051_overview.pdf
文件 142987 2002-07-01 12:53 mc8051开源8051软核mc8051documc8051_user_guide.pdf
文件 6331 2002-07-01 09:26 mc8051开源8051软核mc8051msimhex2dual.c
文件 2304 2002-07-01 09:15 mc8051开源8051软核mc8051msimkeil.dua
文件 733 2002-07-01 09:15 mc8051开源8051软核mc8051msimkeil.hex
文件 2131 2002-07-01 10:18 mc8051开源8051软核mc8051msimmc8051_compile.do
文件 3843 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_rom.dua
文件 102 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_sim.do
文件 4367 2002-07-01 09:15 mc8051开源8051软核mc8051msimmc8051_wave.do
文件 1259 2002-07-01 09:26 mc8051开源8051软核mc8051msim
eadme.txt
文件 2304 2002-07-01 09:15 mc8051开源8051软核mc8051msim
egs.log
文件 4209 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.asm
文件 3843 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.dua
文件 1218 2002-07-01 09:15 mc8051开源8051软核mc8051msim c1.hex
文件 4227 2001-09-05 18:44 mc8051开源8051软核mc8051msimwrite2file.do
文件 2511 2001-08-29 12:12 mc8051开源8051软核mc8051synplmc8051_core.prj
文件 4625 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_.vhd
文件 4892 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_sim.vhd
文件 4173 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ramx_sim_cfg.vhd
文件 4679 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_.vhd
文件 5235 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_sim.vhd
文件 4161 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_ram_sim_cfg.vhd
文件 4602 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_.vhd
文件 5046 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_sim.vhd
文件 4143 2002-01-07 13:16 mc8051开源8051软核mc8051 bmc8051_rom_sim_cfg.vhd
文件 4248 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_.vhd
文件 60983 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_sim.vhd
文件 4271 2002-01-07 13:16 mc8051开源8051软核mc8051 b b_mc8051_alu_sim_cfg.vhd
............此处省略169个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)