实现avr单片机M128对flash的读写,可以嵌入到AVR的BOOTLOADER里面,实现flash的更新和读写操作
上传时间: 2014-01-21
上传用户:cuiyashuo
本程序是C8051F040的I2C /SMBUS读写程序,实现铁电存储器FM24C04的读写操作。
上传时间: 2013-12-27
上传用户:q123321
基于msp430单片机的SD卡读写驱动,已移植文件系统FATfs,可在SD卡实现文件的读写操作
上传时间: 2017-03-21
上传用户:zhaoq123
自己写的93c46的读写程序,可以读写操作
上传时间: 2017-04-08
上传用户:comua
在C51下编写的93C46的读写程序,实现读写操作
上传时间: 2013-12-26
上传用户:kikye
DOS下的dma读写驱动,加速硬盘的读写操作。
上传时间: 2014-01-17
上传用户:cjf0304
DOS下的CDROM读写加速驱动,使用DMA进行加速读写操作
上传时间: 2014-01-20
上传用户:qazxsw
Java编程新手,对文件进行读写操作,编写的较简单,希望能帮到有需要的人
标签: Java文件
上传时间: 2015-11-16
上传用户:xbgzh
FPGA片内FIFO读写测试Verilog逻辑源码Quartus工程文件+文档说明,使用 FPGA 内部的 FIFO 以及程序对该 FIFO 的数据读写操作。FPGA型号Cyclone4E系列中的EP4CE6F17C8,Quartus版本17.1。timescale 1ns / 1ps//////////////////////////////////////////////////////////////////////////////////module fifo_test( input clk, //50MHz时钟 input rst_n //复位信号,低电平有效 );//-----------------------------------------------------------localparam W_IDLE = 1;localparam W_FIFO = 2; localparam R_IDLE = 1;localparam R_FIFO = 2; reg[2:0] write_state;reg[2:0] next_write_state;reg[2:0] read_state;reg[2:0] next_read_state;reg[15:0] w_data; //FIFO写数据wire wr_en; //FIFO写使能wire rd_en; //FIFO读使能wire[15:0] r_data; //FIFO读数据wire full; //FIFO满信号 wire empty; //FIFO空信号 wire[8:0] rd_data_count; wire[8:0] wr_data_count; ///产生FIFO写入的数据always@(posedge clk or negedge rst_n)begin if(rst_n == 1'b0) write_state <= W_IDLE; else write_state <= next_write_state;endalways@(*)begin case(write_state) W_IDLE: if(empty == 1'b1) //FIFO空, 开始写FIFO next_write_state <= W_FIFO; else next_write_state <= W_IDLE; W_FIFO: if(full == 1'b1) //FIFO满 next_write_state <= W_IDLE; else next_write_state <= W_FIFO; default: next_write_state <= W_IDLE; endcaseendassign wr_en = (next_write_state == W_FIFO) ? 1'b1 : 1'b0; always@(posedge clk or negedge rst_n)begin if(rst_n == 1'b0) w_data <= 16'd0; else if (wr_en == 1'b1) w_data <= w_data + 1'b1; else w_data <= 16'd0; end///产生FIFO读的数据always@(posedge clk or negedge rst_n)begin if(rst_n == 1'b0) read_state <= R_IDLE; else read_state <= next_read_state;endalways@(*)begin case(read_state) R_IDLE: if(full == 1'b1) //FIFO满, 开始读FIFO next_read_state <= R_FIFO; else next_read_state <= R_IDLE; R_FIFO: if(empty == 1'b1)
上传时间: 2021-12-19
上传用户:20125101110
实现对文件读写的操作。利用STL实现对有很好的移植性
上传时间: 2014-12-06
上传用户:顶得柱