URL
https://opencores.org/ocsvn/pci/pci/trunk
[/] [pci/] [tags/] [rel_11/] [bench/] [verilog/] [pci_bus_monitor.v] - Diff between revs 35 and 45
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 35 |
Rev 45 |
Line 1... |
Line 1... |
//===========================================================================
|
//===========================================================================
|
// $Id: pci_bus_monitor.v,v 1.2 2002-03-21 07:35:50 mihad Exp $
|
// $Id: pci_bus_monitor.v,v 1.3 2002-08-13 11:03:51 mihad Exp $
|
//
|
//
|
// Copyright 2001 Blue Beaver. All Rights Reserved.
|
// Copyright 2001 Blue Beaver. All Rights Reserved.
|
//
|
//
|
// Summary: Watch the PCI Bus Wires to try to see Protocol Errors.
|
// Summary: Watch the PCI Bus Wires to try to see Protocol Errors.
|
// This module also has access to the individual PCI Bus OE
|
// This module also has access to the individual PCI Bus OE
|
Line 664... |
Line 664... |
devsel_prev <= devsel_now;
|
devsel_prev <= devsel_now;
|
trdy_prev <= trdy_now;
|
trdy_prev <= trdy_now;
|
stop_prev <= stop_now;
|
stop_prev <= stop_now;
|
perr_prev <= perr_now ;
|
perr_prev <= perr_now ;
|
|
|
if (frame_now & ~frame_prev
|
if (frame_now & ~frame_prev)
|
&& (pci_ext_cbe_l[PCI_BUS_CBE_RANGE:0] != PCI_COMMAND_DUAL_ADDRESS_CYCLE))
|
begin
|
|
address_phase_prev <= 1'b1;
|
|
read_operation_prev <= ~pci_ext_cbe_l[0]; // reads have LSB == 0;
|
|
end
|
|
else if(address_phase_prev && (cbe_l_prev[PCI_BUS_CBE_RANGE:0] == PCI_COMMAND_DUAL_ADDRESS_CYCLE))
|
begin
|
begin
|
address_phase_prev <= 1'b1;
|
address_phase_prev <= 1'b1;
|
read_operation_prev <= ~pci_ext_cbe_l[0]; // reads have LSB == 0;
|
read_operation_prev <= ~pci_ext_cbe_l[0]; // reads have LSB == 0;
|
end
|
end
|
else
|
else
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.