URL
https://opencores.org/ocsvn/gpio/gpio/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 21 |
Rev 22 |
Line 43... |
Line 43... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2001/12/25 17:12:35 lampret
|
|
// Added RGPIO_INTS.
|
|
//
|
// Revision 1.5 2001/12/12 20:35:53 lampret
|
// Revision 1.5 2001/12/12 20:35:53 lampret
|
// Fixing style.
|
// Fixing style.
|
//
|
//
|
// Revision 1.4 2001/12/12 07:12:58 lampret
|
// Revision 1.4 2001/12/12 07:12:58 lampret
|
// Fixed bug when wb_inta_o is registered (GPIO_WB_REGISTERED_OUTPUTS)
|
// Fixed bug when wb_inta_o is registered (GPIO_WB_REGISTERED_OUTPUTS)
|
Line 444... |
Line 447... |
|
|
//
|
//
|
// Mux all registers when doing a read of GPIO registers
|
// Mux all registers when doing a read of GPIO registers
|
//
|
//
|
always @(wb_adr_i or rgpio_in or rgpio_out or rgpio_oe or rgpio_inte or
|
always @(wb_adr_i or rgpio_in or rgpio_out or rgpio_oe or rgpio_inte or
|
rgpio_ptrig or rgpio_aux or rgpio_ctrl)
|
rgpio_ptrig or rgpio_aux or rgpio_ctrl or rgpio_ints)
|
case (wb_adr_i[`GPIO_OFS_BITS]) // synopsys full_case parallel_case
|
case (wb_adr_i[`GPIO_OFS_BITS]) // synopsys full_case parallel_case
|
`ifdef GPIO_READREGS
|
`ifdef GPIO_READREGS
|
`GPIO_RGPIO_OUT: begin
|
`GPIO_RGPIO_OUT: begin
|
wb_dat[dw-1:0] = {{dw-gw{1'b0}}, rgpio_out};
|
wb_dat[dw-1:0] = {{dw-gw{1'b0}}, rgpio_out};
|
end
|
end
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.