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

Subversion Repositories pci

[/] [pci/] [tags/] [rel_00/] [rtl/] [verilog/] [pci_in_reg.v] - Diff between revs 6 and 21

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 21
Line 40... Line 40...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.2  2001/10/05 08:14:29  mihad
 
// Updated all files with inclusion of timescale file for simulation purposes.
 
//
// Revision 1.1.1.1  2001/10/02 15:33:46  mihad
// Revision 1.1.1.1  2001/10/02 15:33:46  mihad
// New project directory structure
// New project directory structure
//
//
//
//
 
 
`include "constants.v"
// synopsys translate_off
`include "timescale.v"
`include "timescale.v"
 
// synopsys translate_on
 
`include "pci_constants.v"
// Module is used for registering PCI input signals 
// Module is used for registering PCI input signals 
// It provides data flip flops with reset
// It provides data flip flops with reset
module PCI_IN_REG
module PCI_IN_REG
(
(
    reset_in,
    reset_in,
Line 121... Line 125...
                pci_irdy_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_irdy_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_trdy_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_trdy_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_stop_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_stop_reg_out        <= #`FF_DELAY 1'b1 ;
                pci_devsel_reg_out      <= #`FF_DELAY 1'b1 ;
                pci_devsel_reg_out      <= #`FF_DELAY 1'b1 ;
                pci_idsel_reg_out       <= #`FF_DELAY 1'b0 ; // active high!
                pci_idsel_reg_out       <= #`FF_DELAY 1'b0 ; // active high!
 
                pci_ad_reg_out      <= #`FF_DELAY 32'h0000_0000 ;
 
                pci_cbe_reg_out     <= #`FF_DELAY 4'h0 ;
    end
    end
    else
    else
        begin
        begin
                pci_gnt_reg_out         <= #`FF_DELAY pci_gnt_in ;
                pci_gnt_reg_out         <= #`FF_DELAY pci_gnt_in ;
                pci_frame_reg_out       <= #`FF_DELAY pci_frame_in ;
                pci_frame_reg_out       <= #`FF_DELAY pci_frame_in ;
                pci_irdy_reg_out        <= #`FF_DELAY pci_irdy_in ;
                pci_irdy_reg_out        <= #`FF_DELAY pci_irdy_in ;
                pci_trdy_reg_out        <= #`FF_DELAY pci_trdy_in ;
                pci_trdy_reg_out        <= #`FF_DELAY pci_trdy_in ;
                pci_stop_reg_out        <= #`FF_DELAY pci_stop_in ;
                pci_stop_reg_out        <= #`FF_DELAY pci_stop_in ;
                pci_devsel_reg_out      <= #`FF_DELAY pci_devsel_in ;
                pci_devsel_reg_out      <= #`FF_DELAY pci_devsel_in ;
                pci_idsel_reg_out       <= #`FF_DELAY pci_idsel_in ;
                pci_idsel_reg_out       <= #`FF_DELAY pci_idsel_in ;
        end
 
end
 
 
 
always@(posedge reset_in or posedge clk_in)
 
begin
 
    if ( reset_in )
 
        pci_ad_reg_out <= #`FF_DELAY 32'h0000_0000 ;
 
    else
 
        pci_ad_reg_out <= #`FF_DELAY pci_ad_in ;
        pci_ad_reg_out <= #`FF_DELAY pci_ad_in ;
end
 
 
 
always@(posedge reset_in or posedge clk_in)
 
begin
 
    if ( reset_in )
 
        pci_cbe_reg_out <= #`FF_DELAY 4'h0 ;
 
    else
 
        pci_cbe_reg_out <= #`FF_DELAY pci_cbe_in ;
        pci_cbe_reg_out <= #`FF_DELAY pci_cbe_in ;
end
end
 
end
 
 
endmodule
endmodule
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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