1. Aug 10, 2019
  2. Jul 23, 2019
  3. Jul 20, 2019
  4. Jul 15, 2019
  5. Jul 14, 2019
  6. Jul 13, 2019
  7. Jul 12, 2019
  8. Jul 10, 2019
  9. Jul 09, 2019
    • Andrew Waterman's avatar
      Add CDISCARD.D.L1 instruction · 7c1c0248
      Andrew Waterman authored
      Here's the spec for CFLUSH.D.L1 and CDISCARD.D.L1:
      
      CFLUSH.D.L1 (Xsifivecflushdlone0p1)
      -----------------------------------
      
      - opcode 0xFC000073, with optional rs1 field in bits 19:15.
      - Only available to M-mode.
      - When rs1 = x0, CFLUSH.D.L1 writes back all dirty lines and invalidates
        all lines in the L1 D$.
      - When rs1 ≠ x0, CFLUSH.D.L1 writes back the line if dirty and invalidates
        the L1 D$ line containing the virtual address in integer register rs1.
        - If the effective privilege mode does not have write permissions to the
          address in rs1, then a store access or store page-fault exception is
          raised.
        - If the address in rs1 is in an uncacheable region with write
          permissions, the instruction has no effect but raises no exceptions.
        - Note that if the PMP scheme write-protects only part of a cache line,
          then using a value for rs1 in the write-protected region will cause
          an exception, whereas using a value for rs1 in the write-permitted
          region will write back the entire cache line.
      
      CDISCARD.D.L1 (Xsifivecdiscarddlone0p1)
      ---------------------------------------
      
      - opcode 0xFC200073, with optional rs1 field in bits 19:15.
      - Only available to M-mode.
      - When rs1 = x0, CDISCARD.D.L1 invalidates, but does not write back,
        all lines in the L1 D$.  Dirty data within the cache is lost.
      - When rs1 ≠ x0, CDISCARD.D.L1 invalidates, but does not write back,
        the L1 D$ line containing the virtual address in integer register rs1.
        Dirty data within the cache line is lost.
        - If the effective privilege mode does not have write permissions to the
          address in rs1, then a store access or store page-fault exception is
          raised.
        - If the address in rs1 is in an uncacheable region with write
          permissions, the instruction has no effect but raises no exceptions.
        - Note that if the PMP scheme write-protects only part of a cache line,
          then using a value for rs1 in the write-protected region will cause
          an exception, whereas using a value for rs1 in the write-permitted
          region will invalidate and discard the entire cache line.
      7c1c0248
    • Wesley W. Terpstra's avatar
      ToAHB: fix a bug where a non-flow AHB adapter lowers hbusreq (#2023) · c3ecdf15
      Wesley W. Terpstra authored
      In non-flow mode, the following sequence of events could occur:
      
      1. a.valid goes high with a request => hbusreq goes high
      2. hgrant goes high (in the same cycle as 1 or much later)
      3. granted goes high causing a.ready to go high
         ... and also lowers the hbusreq cause (a.valid && !granted)
      4. the output request causes hbusreq to go high again
      
      This change shortens the behaviour of the non-flow pipeline:
      
      1. a.valid goes high with a request => hbusreq goes high
      2. hgrant goes high ***causing a.ready to go high***
      3. the output request keeps hbusreq high, despite granted high
      c3ecdf15
    • Ernie Edgar's avatar
      2f3312b0
  10. Jul 02, 2019
  11. Jun 29, 2019
  12. Jun 28, 2019
  13. Jun 27, 2019
  14. Jun 26, 2019