1. May 10, 2019
    • Schuyler Eldridge's avatar
      Add Lfsr tests · f35f2a27
      Schuyler Eldridge authored
      
      
      Add LFSR tests using LFSR16 testing infrastructure. This also adds
      tests that are the same as the examples shown for LFSR scaladoc.
      
      Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
      f35f2a27
    • Schuyler Eldridge's avatar
      Add chisel3.util.random lib w/ LFSR generator · 7ce0f10f
      Schuyler Eldridge authored
      Builds out PRNG and LFSR type hierarchy. PRNG is the base class of
      LFSR of which Galois and Fibonacci are concrete implementations.
      
      PRNGs contain state (a UInt) and an update (delta) function. They have
      a compile-time optional seed to set the PRNG state. The seed/state can
      also be set at run-time. PRNGs can be run-time parameterized based on
      how many updates they should do per cycle and whether or not to send
      the seed through step-count state updates before loading it. (h/t
      @jwright6323)
      
      LFSRs are parameterized in a reduction operation (XOR or XNOR). An
      LFSR that does NOT have a seed will be automatically initialized to a
      minimally safe state (set/reset one bit) based on their reduction
      operation. (h/t @aswaterman)
      
      Adds Galois and Fibonacci LFSRs that define appropriate update
      functions. Companion objects provide helpers to automatically generate
      maximal period variants. Taps are provide for a very large set of
      widths. The LFSR companion object provides an apply method to generate
      a Fibonacci LFSR random variable (like the old LFSR16).
      7ce0f10f
  2. May 09, 2019
  3. May 05, 2019
  4. May 02, 2019
  5. Apr 27, 2019
  6. Apr 25, 2019
  7. Apr 24, 2019
  8. Apr 20, 2019
  9. Apr 17, 2019
  10. Apr 16, 2019
  11. Apr 13, 2019
  12. Apr 02, 2019
  13. Mar 30, 2019
  14. Mar 29, 2019
  15. Mar 27, 2019
  16. Mar 26, 2019
  17. Mar 24, 2019
  18. Mar 23, 2019
  19. Mar 22, 2019
  20. Mar 21, 2019
  21. Mar 19, 2019
    • Jim Lawson's avatar
      Split #974 into two PRs - scalastyle updates (#1037) · 2c449c5d
      Jim Lawson authored
      * Update style warnings now that subprojects are aggregated.
      Use "scalastyle-test-config.xml" for scalastyle config in tests.
      Enable "_" in method names and accept method names ending in "_=".
      Re-sync scalastyle-test-config.xml with scalastyle-config.xml
      
      * Remove bogus tests that crept in with git add
      
      * Add missing import.
      2c449c5d
  22. Mar 16, 2019
  23. Mar 15, 2019
  24. Mar 14, 2019
  25. Mar 11, 2019