Commit Graph

5 Commits

Author SHA1 Message Date
Tim Edwards d1f47cc451 Fixes the user defines configuration values for pullup and pulldown
modes to match the correct ones that are in defs.h in the management
SoC LiteX repository.  See caravel issue #380.
2022-11-16 09:36:01 -05:00
D. Mitch Bailey 2c099c099e fixed documentation for gpio's used in caravan 2022-11-11 08:22:20 -08:00
Tim Edwards f53590d4b5 Split the layout of the GPIO defaults block into three versions, for the
three parameterized values used in the RTL verilog.  Modified the
"user_defines.v" file to create verilog definitions that match the C-style
definitions from "defs.h", for convenience/simplicity.
2021-11-06 13:28:26 -04:00
Tim Edwards 1e7400c0ac Removed unused definitions from user_defines.v, and added more
explanatory comments.
2021-10-25 16:36:18 -04:00
Tim Edwards e5c90daddd Implemented a system for setting the GPIO power-on defaults through
via programming.  The values for each of the GPIOs at power-up are
defined in the "user_defines.v" file.  For the verilog, they are
applied as parameters.  For the layout, they will need to be
separately defined cells for each of the GPIOs, or at least for
each set of unique default values.
2021-10-23 17:18:30 -04:00