• 大小: 11.6MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-30
  • 语言: 其他
  • 标签: fpga  cortexm3  

资源简介

fpga cortexm3

资源截图

代码片段和文件信息

%$K\ARM\ARMCC\BIN\fromelf.exe #L --vhx --8x1 --output  gpio_tests.hex

WIDTH = 32; %data width 32
filename = ‘..\..\software\project\m3_program.hex‘;
fhex=fopen(filename‘r‘); %打开txt文件
rhex=textscan(fhex‘%s‘);
fclose(fhex);

hexmatrix = char(rhex{11});
len_rhex = length(rhex{11});

fmif = fopen(‘..\..\fpgaipcore\m3ds_code_rom\hex2mif.mif‘‘wt‘);
fprintf(fmif  ‘DEPTH = %d;\n‘len_rhex/4);
fprintf(fmif ‘WIDTH = %d;\n‘WIDTH);
fprintf(fmif ‘ADDRESS_RADIX=DEC;\n‘);
fprintf(fmif‘DATA_RADIX=HEX;\n‘);
fprintf(fmif‘CONTENT \n‘);
fprintf(fmif‘BEGIN \n‘);
for(x = 1:len_rhex/4)
   fprintf(fmif‘%d:%s%s%s%s%s%s%s%s;\n‘x-1hexmatrix((x-1)*4+41)hexmatrix((x-1)*4+42)...
                                             hexmatrix((x-1)*4+31)hexmatrix((x-1)*4+32)...
                                             hexmatrix((x-1)*4+21)hexmatrix((x-1)*4+22)...
                                             hexmatrix((x-1)*4+11)hexmatrix((x-1)*4+12));
end
   fprintf(fmif ‘END;‘);
fclose(fmif);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-10 09:55  m3ds_fpga\
     目录           0  2018-06-10 19:43  m3ds_fpga\document\
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_core_obs\
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_core_obs\verilog\
     文件     3435392  2017-07-18 19:18  m3ds_fpga\hardware\m3ds_core_obs\verilog\cortexm3ds_logic.v
     文件       14224  2017-07-18 19:17  m3ds_fpga\hardware\m3ds_core_obs\verilog\CORTEXM3INTEGRATIONDS.v
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_document\
     文件      852632  2017-07-18 19:12  m3ds_fpga\hardware\m3ds_document\ARM_Cortex_M3_DesignStart_Eval_r0p0-02rel0_Release_Note.pdf
     文件     6775386  2017-10-25 09:58  m3ds_fpga\hardware\m3ds_document\RFS_UserManual.pdf
     目录           0  2018-12-10 09:56  m3ds_fpga\hardware\m3ds_fpga_project\
     文件        1325  2018-06-11 09:07  m3ds_fpga\hardware\m3ds_fpga_project\m3ds_fpga_system.qpf
     文件       89018  2018-06-13 20:58  m3ds_fpga\hardware\m3ds_fpga_project\m3ds_fpga_system.qsf
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_fpga_project\scripts\
     文件        1012  2018-05-23 17:42  m3ds_fpga\hardware\m3ds_fpga_project\scripts\hex2mif.m
     文件        4435  2018-06-09 00:07  m3ds_fpga\hardware\m3ds_fpga_project\scripts\m3ds_fpga_system.sdc
     文件       20483  2018-06-11 11:00  m3ds_fpga\hardware\m3ds_fpga_project\scripts\Pin_DE2_115.tcl
     文件       13175  2018-06-11 09:22  m3ds_fpga\hardware\m3ds_fpga_project\scripts\Project_Files_List.tcl
     文件        1675  2018-06-07 14:29  m3ds_fpga\hardware\m3ds_fpga_project\scripts\Project_Manger.tcl
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_fpga_system\
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\
     文件        3381  2018-05-23 17:42  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\hex2mif.mif
     文件        3733  2018-06-09 00:43  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\m3ds_code_rom.bsf
     文件         459  2018-06-09 00:44  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\m3ds_code_rom.qip
     文件        7503  2018-06-09 00:43  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\m3ds_code_rom.v
     文件        5958  2018-06-09 00:44  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_code_rom\m3ds_code_rom_bb.v
     目录           0  2018-12-10 09:55  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_gmac_buffer\
     文件         373  2018-06-09 21:15  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_gmac_buffer\m3ds_gmac_buffer.qip
     文件        9701  2018-06-09 21:15  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_gmac_buffer\m3ds_gmac_buffer.v
     文件        7971  2018-06-09 21:15  m3ds_fpga\hardware\m3ds_fpga_system\fpgaipcore\m3ds_gmac_buffer\m3ds_gmac_buffer_bb.v
............此处省略527个文件信息

评论

共有 条评论