spi-fpga:用VHDL编写的用于FPGA的SPI主设备和SPI从设备-源码

上传者: 42117485 | 上传时间: 2021-07-12 19:25:38 | 文件大小: 2.81MB | 文件类型: ZIP
适用于FPGA的SPI主机和从机 和是简单的控制器,用于通过SPI接口在FPGA和各种外设之间进行通信。 SPI主设备和SPI从设备已使用VHDL 93实现,适用于任何FPGA。 SPI主控制器和SPI从控制器仅支持SPI模式0(CPOL = 0,CPHA = 0)! 在硬件中对SPI主控制器和SPI从控制器进行了仿真和测试。 我将GHDL工具用于CI:GitHub Actions环境( )中的自动VHDL模拟。 如果您有任何疑问或改进建议,请给我发送电子邮件或创建问题。 SPI主机 泛型: CLK_FREQ : natural := 50e6 ; -- set system clock frequency in Hz SCLK_FREQ : natural := 5e6 ; -- set SPI clock frequency in Hz (condition: SCL

文件下载

资源详情

[{"title":"( 27 个子文件 2.81MB ) spi-fpga:用VHDL编写的用于FPGA的SPI主设备和SPI从设备-源码","children":[{"title":"spi-fpga-master","children":[{"title":"rtl","children":[{"title":"spi_slave.vhd <span style='color:#111;'> 8.60KB </span>","children":null,"spread":false},{"title":"spi_master.vhd <span style='color:#111;'> 11.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 715B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"main.yml <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"docs","children":[{"title":"spirit_level_example.gif <span style='color:#111;'> 2.79MB </span>","children":null,"spread":false}],"spread":true},{"title":"examples","children":[{"title":"spirit_level","children":[{"title":"quartus","children":[{"title":"spirit_level_cyc1000.qpf <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"spirit_level_cyc1000.qsf <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"spirit_level_cyc1000.sdc <span style='color:#111;'> 496B </span>","children":null,"spread":false}],"spread":true},{"title":"spirit_level_cyc1000.vhd <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"btn_debounce.vhd <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"rst_sync.vhd <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"sseg_driver.vhd <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"clk_en_gen.vhd <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"loopback","children":[{"title":"spi_loopback.vhd <span style='color:#111;'> 9.02KB </span>","children":null,"spread":false},{"title":"quartus","children":[{"title":"spi_loopback_ep4ce6sb.qsf <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"spi_loopback_ep4ce6sb.sdc <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"spi_loopback_ep4ce6sb.qpf <span style='color:#111;'> 477B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"sim","children":[{"title":"spi_master_tb.vhd <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"spi_slave_tb_msim_run.tcl <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"spi_slave_tb_ghdl_setup.sh <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"spi_master_tb_ghdl_run.sh <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"spi_slave_tb.vhd <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"spi_master_tb_ghdl_setup.sh <span style='color:#111;'> 694B </span>","children":null,"spread":false},{"title":"spi_slave_tb_ghdl_run.sh <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"spi_master_tb_msim_run.tcl <span style='color:#111;'> 693B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明