Skip to content
Snippets Groups Projects
  1. Mar 05, 2013
    • Wesley W. Terpstra's avatar
      genram: use init_file = "none" as an alternative to "" · 94230c7c
      Wesley W. Terpstra authored
      On Altera, "" generates a null-range warning.
      When the dpram is used heavily, these warnings add up to many.
      94230c7c
    • Wesley W. Terpstra's avatar
      genram: add a "dont_care" option for g_addr_conflict_resolution · 7df80bd4
      Wesley W. Terpstra authored
      The RW ordering on address conflict varies by platform.
      Some platforms only support some options.
      Most of the dprams in WR are portable and don't depend on the order.
      This new option allows a core to specify that it does not care what
      the result of a RW conflict is, and thus work on more platforms.
      
      For Xilinx, "dont_care" = "read_first", the old default.
      7df80bd4
    • Wesley W. Terpstra's avatar
      genram: add a generic_simple_dpram · 3b80b62b
      Wesley W. Terpstra authored
      On both Altera and Xilinx, a dual port memory can achieve twice the
      bit-width per memory block when there is a single reader and writer.
      This adds a place-holder generic_simple_dpram for Xilinx so that code
      using the purpose-built variant for Altera continues to work on ISE.
      3b80b62b
    • Wesley W. Terpstra's avatar
      genrams: remove init_value generic option · fb24703c
      Wesley W. Terpstra authored
      In the past we used a generic to set the initial memory contents on altera.
      Unfortunately, quartus compiles big generics slowly (read: hours).
      Now we can load from a .mif file instead, which is much faster (seconds).
      Thus, this old option is no longer needed.
      fb24703c
  2. Mar 01, 2013
  3. Feb 28, 2013
  4. Feb 26, 2013
  5. Feb 25, 2013
  6. Feb 21, 2013
  7. Feb 19, 2013
  8. Feb 15, 2013
  9. Feb 14, 2013
  10. Feb 13, 2013
    • Wesley W. Terpstra's avatar
      crossbar: eliminate lexically nested functions · fce11846
      Wesley W. Terpstra authored
      According to Peter Jansweijer, Precision and Questasim had trouble
      synthesizing the crossbar HDL. After tracking the problem down via
      email, it appears that these tools cannot handle nested functions
      correctly; they crash or fail when trying to access the parameters
      of the lexically enclosing function.
      
      Therefore, this patch just outright removes all nested functions.
      fce11846
  11. Feb 11, 2013
  12. Feb 05, 2013
    • Wesley W. Terpstra's avatar
      altera/generic_dpram: Support Arria5 · 39815f08
      Wesley W. Terpstra authored
      Unfortunately, Arria5 cannot do read-old-data for the same port.
      This formulation describes a dual-ported RAM with:
        write-first/read-new-data for RW conflict on same port
        read-first /read-old-data for RW conflict between ports
      ... which is exactly what Arria5 supports (and Arria2 can do too).
      
      Users of the generic_dpram should simply avoid simultaneous
      RW on the same port, as the result is undefined (Altera != Xilinx).
      39815f08
    • Wesley W. Terpstra's avatar
      wb_slave_adapter: rewrote using definition from the B.4 standard. · cda20b67
      Wesley W. Terpstra authored
      The old version didn't do WE properly and was rather strangely coded.
      cda20b67
  13. Jan 28, 2013
    • Wesley W. Terpstra's avatar
      generic_dpram: Should be read-first, as documented. · 904e8886
      Wesley W. Terpstra authored
      Newer quartus versions recognized that the code describes write-first logic,
      which requires combinatorial bypass logic. Unfortunately, this is also impossible
      with two clocks. Thus they reject synthesis. This manifests as the WR endpoint
      RX path failing to synthesize.
      904e8886
  14. Dec 14, 2012
  15. Nov 22, 2012
  16. Nov 16, 2012
    • Wesley W. Terpstra's avatar
      Fully working reverse PCI bridge. · 223ef8de
      Wesley W. Terpstra authored
        * Add an interrupt mask for legacy PCI.
        * Add bits to indicate whether a change to the control register is intended.
        * Made it possible to dequeue an operation without enqueueing an ack/err.
      223ef8de
  17. Nov 15, 2012
    • Wesley W. Terpstra's avatar
      Added interrupt generation as a wishbone interface. · 32323b1c
      Wesley W. Terpstra authored
        * MSI and PCI interrupts in the altera mega-function
        * Restructure master/slave registers for bridge to be more
          readable regarding which address takes which action
        * Receive wishbone operations and use them to pulse interrupts
        * Added registers to indicate the address/data from WB
      32323b1c
  18. Oct 02, 2012
  19. Aug 31, 2012
  20. Aug 29, 2012
  21. Aug 03, 2012
  22. Aug 01, 2012
  23. Jul 10, 2012