URL
https://opencores.org/ocsvn/spi_boot/spi_boot/trunk
[/] [spi_boot/] [trunk/] [rtl/] [vhdl/] [spi_boot.vhd] - Diff between revs 40 and 57
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 40 |
Rev 57 |
Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- SD/MMC Bootloader
|
-- SD/MMC Bootloader
|
--
|
--
|
-- $Id: spi_boot.vhd,v 1.7 2005-04-07 20:44:23 arniml Exp $
|
-- $Id: spi_boot.vhd,v 1.8 2006-09-11 23:03:36 arniml Exp $
|
--
|
--
|
-- Copyright (c) 2005, Arnim Laeuger (arniml@opencores.org)
|
-- Copyright (c) 2005, Arnim Laeuger (arniml@opencores.org)
|
--
|
--
|
-- All rights reserved, see COPYING.
|
-- All rights reserved, see COPYING.
|
--
|
--
|
Line 206... |
Line 206... |
done_q <= false;
|
done_q <= false;
|
send_cmd12_q <= false;
|
send_cmd12_q <= false;
|
ctrl_fsm_q <= POWER_UP1;
|
ctrl_fsm_q <= POWER_UP1;
|
cmd_fsm_q <= CMD;
|
cmd_fsm_q <= CMD;
|
r1_result_q <= '0';
|
r1_result_q <= '0';
|
en_outs_q <= true;
|
en_outs_q <= false;
|
|
|
elsif clk_i'event and clk_i = '1' then
|
elsif clk_i'event and clk_i = '1' then
|
-- bit counter control
|
-- bit counter control
|
if spi_clk_rising_q then
|
if spi_clk_rising_q then
|
case res_bc_s is
|
case res_bc_s is
|
Line 942... |
Line 942... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File History:
|
-- File History:
|
--
|
--
|
-- $Log: not supported by cvs2svn $
|
-- $Log: not supported by cvs2svn $
|
|
-- Revision 1.7 2005/04/07 20:44:23 arniml
|
|
-- add new port detached_o
|
|
--
|
-- Revision 1.6 2005/03/09 19:48:34 arniml
|
-- Revision 1.6 2005/03/09 19:48:34 arniml
|
-- invert level of set_sel input
|
-- invert level of set_sel input
|
--
|
--
|
-- Revision 1.5 2005/03/08 22:07:12 arniml
|
-- Revision 1.5 2005/03/08 22:07:12 arniml
|
-- added set selection
|
-- added set selection
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.