Ignore:
Timestamp:
Oct 26, 2013, 5:34:58 PM (11 years ago)
Author:
bouyer
Message:

prefix some register name with spi_ for readability
Can't write r_ctrl_go_bsy from both VCI and SPI FSMs. Add a r_spi_done signal
which resets r_ctrl_go_bsy in the VCI fsm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_spi/caba/source/include/vci_spi.h

    r559 r565  
    7979    sc_signal<uint8_t>                 r_ctrl_char_len; // number of bits in xfer
    8080
    81     sc_signal<uint32_t>                r_bit_count;
    82     sc_signal<uint32_t>                r_clk_counter;
     81    sc_signal<uint32_t>                r_spi_bit_count;
     82    sc_signal<uint32_t>                r_spi_clk_counter;
    8383    sc_signal<bool>                    r_spi_clk;
    8484    sc_signal<bool>                    r_spi_clk_previous;
    8585    sc_signal<bool>                    r_spi_clk_ignore;
    8686    sc_signal<bool>                    r_spi_out;
     87    sc_signal<bool>                    r_spi_done;
    8788    sc_signal<bool>                    r_irq;
    8889
Note: See TracChangeset for help on using the changeset viewer.