OpenCores
URL https://opencores.org/ocsvn/gpio/gpio/trunk

Subversion Repositories gpio

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

/trunk/rtl/defines.vh
44,6 → 44,9
// CVS Revision History
//
// $Log: not supported by cvs2svn $
// Revision 1.2 2001/07/14 20:39:26 lampret
// Better configurability.
//
// Revision 1.1 2001/06/05 07:45:26 lampret
// Added initial RTL and test benches. There are still some issues with these files.
//
123,7 → 126,11
// To comply with GPIO IP core specification document they must go from
// address 0 to address 0x18 in the following order: RGPIO_IN, RGPIO_OUT,
// RGPIO_OE, RGPIO_INTE, RGPIO_PTRIG, RGPIO_AUX and RGPIO_CTRL
//
//
// If particular register is not needed, it's address definition can be omitted
// and the register will not be implemented. Instead a fixed default value will
// be used.
//
`define RGPIO_IN 3'h0 // Address 0x00
`define RGPIO_OUT 3'h1 // Address 0x04
`define RGPIO_OE 3'h2 // Address 0x08
133,6 → 140,17
`define RGPIO_CTRL 3'h6 // Address 0x18
 
//
// Default values for unimplemented GPIO registers
//
`define DEF_RGPIO_IN `GPIO_IOS'h0
`define DEF_RGPIO_OUT `GPIO_IOS'h0
`define DEF_RGPIO_OE `GPIO_IOS'h0
`define DEF_RGPIO_INTE `GPIO_IOS'h0
`define DEF_RGPIO_PTRIG `GPIO_IOS'h0
`define DEF_RGPIO_AUX `GPIO_IOS'h0
`define DEF_RGPIO_CTRL `GPIO_IOS'h0
 
//
// RGPIO_CTRL bits
//
// To comply with the GPIO IP core specification document they must go from

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.